Browse Source

Escape double quotes in package.json run commands (#89)

Fixes dev server on Windows (#88).
Tom E 8 years ago
parent
commit
89af8de11d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      package.json

+ 3 - 3
package.json

@@ -7,11 +7,11 @@
     "build:js": "browserify -p tsify src/app.ts -t [ babelify --presets [ es2015 ] --extensions .ts ] -p [ browserify-header --file header.js ] -o dist/app.js",
     "build:css": "node-sass -o public/css/ --output-style compressed src/sass/",
     "build:css:watch": "node-sass -w -r --source-map true --source-map-embed true -o public/css/ --output-style compressed src/sass/",
-    "dist": "npm run build && echo '' && dist/package.sh",
+    "dist": "npm run build && echo \"\" && dist/package.sh",
     "serve": "npm run build:css && budo src/app.ts:dist/app.js -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]",
-    "serve:live": "npm run build:css && concurrently --kill-others --names 'css,server' -p name 'npm run build:css:watch' 'budo src/app.ts:dist/app.js -d . -d public -d src --live -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]'",
+    "serve:live": "npm run build:css && concurrently --kill-others --names \"css,server\" -p name \"npm run build:css:watch\" \"budo src/app.ts:dist/app.js -d . -d public -d src --live -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]\"",
     "test": "karma start --single-run --log-level=debug --colors",
-    "lint": "tslint -c tslint.json --project tsconfig.json --exclude '**/src/config.ts'",
+    "lint": "tslint -c tslint.json --project tsconfig.json --exclude \"**/src/config.ts\"",
     "clean": "rm -rf js/ build/ dist/app*"
   },
   "keywords": [