Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Natours/after-S05/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Landing page for natours",
"main": "index.js",
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.css -w"
"compile:sass": "sass sass/main.scss css/style.css -w"
},
"author": "Jonas",
"license": "ISC",
"devDependencies": {
"node-sass": "^4.5.3"
"sass": "^1.97.3"
}
}
4 changes: 2 additions & 2 deletions Natours/final-after-S06/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devserver": "live-server",
"start": "npm-run-all --parallel devserver watch:sass",

"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"concat:css": "concat -o css/style.concat.css css/icon-font.css css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.concat.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
Expand All @@ -19,7 +19,7 @@
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
Expand Down
4 changes: 2 additions & 2 deletions Nexter/final/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devserver": "live-server --browser=firefox",
"start": "npm-run-all --parallel devserver watch:sass",

"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.comp.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
Expand All @@ -18,7 +18,7 @@
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
Expand Down
4 changes: 2 additions & 2 deletions Nexter/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devserver": "live-server",
"start": "npm-run-all --parallel devserver watch:sass",

"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.comp.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
Expand All @@ -18,7 +18,7 @@
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
Expand Down
4 changes: 2 additions & 2 deletions Trillo/final/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devserver": "live-server",
"start": "npm-run-all --parallel devserver watch:sass",

"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.comp.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
Expand All @@ -18,7 +18,7 @@
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
Expand Down
4 changes: 2 additions & 2 deletions Trillo/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devserver": "live-server",
"start": "npm-run-all --parallel devserver watch:sass",

"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"concat:css": "concat -o css/style.concat.css css/icon-font.css css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.concat.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
Expand All @@ -19,7 +19,7 @@
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
Expand Down
4 changes: 2 additions & 2 deletions npm-fixes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is more of a workaround if Solution 1 doesn't work. You can install a packa
Then in the `package.json` file, add the following tasks:

```
"compile:sass": "node-sass sass/main.scss css/style.comp.css"
"compile:sass": "sass sass/main.scss css/style.comp.css"
"watch:sass": "nodemon -e scss -x \"npm run compile:sass\""
```

Expand All @@ -46,7 +46,7 @@ You can also try setting all your NPM packages to the same versions used in the
```
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"sass": "^1.97.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
```
Expand Down