Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Use node-sass-chokidar to fix infinite CSS recompiling #15

Merged
merged 1 commit into from
Oct 9, 2017
Merged
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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"devDependencies": {
"faker": "^4.1.0",
"json-server": "^0.10.0",
"node-sass": "^4.5.2",
"node-sass-chokidar": "0.0.3",
"npm-run-all": "^4.0.2",
"react-scripts": "0.9.5"
},
"scripts": {
"build-css": "node-sass src/ -o src/ --importer=node_modules/node-sass-package-importer/dist/cli.js",
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive --importer=node_modules/node-sass-package-importer/dist/cli.js",
"build-css": "node-sass-chokidar src/ -o src/ --importer=node_modules/node-sass-package-importer/dist/cli.js",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive --importer=node_modules/node-sass-package-importer/dist/cli.js",
"messages": "react-intl-cra 'src/**/*.js' 'i18n/messages.json'",
"json2pot": "react-intl-po json2pot 'i18n/messages.json' -o 'i18n/messages.pot'",
"po2json": "react-intl-po po2json 'i18n/translations/*.po' -m 'i18n/messages.json' -o src/translations.json",
Expand Down