refactor(package.json): make Windows understand the "format" command

This commit is contained in:
Wick 2019-01-23 18:25:57 +01:00
parent f602eab23b
commit a4ebae2017

View file

@ -81,7 +81,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"css": "sass --load-path=node_modules --update app/sass:app/dist --style compressed", "css": "sass --load-path=node_modules --update app/sass:app/dist --style compressed",
"format": "eslint '**/*.js' --fix --ignore-pattern '/app/dist/'", "format": "eslint \"**/*.js\" --fix --ignore-pattern '/app/dist/'",
"start": "npm run css && npm i && NODE_ENV=production node index.js", "start": "npm run css && npm i && NODE_ENV=production node index.js",
"test": "run-s test:*", "test": "run-s test:*",
"test:dependencies": "updates --update ./ --exclude fastify,prismjs", "test:dependencies": "updates --update ./ --exclude fastify,prismjs",