Unbreak npm start when running on Windows

This commit is contained in:
Kegan Dougal 2015-07-22 08:25:40 +01:00
parent c8f3f5841c
commit 772f987489
2 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,6 @@
}, },
"scripts": { "scripts": {
"build": "browserify -t [ envify --NODE_ENV production ] -t reactify index.js | uglifyjs -c -m -o bundle.js", "build": "browserify -t [ envify --NODE_ENV production ] -t reactify index.js | uglifyjs -c -m -o bundle.js",
"start": "parallelshell 'watchify -v -d -t reactify index.js -o bundle.js' 'http-server'" "start": "parallelshell \"watchify -v -d -t reactify index.js -o bundle.js\" \"http-server\""
} }
} }

View File

@ -18,7 +18,7 @@
"build:css": "catw 'skins/base/css/**/*.css' -o bundle.css -c uglifycss --no-watch", "build:css": "catw 'skins/base/css/**/*.css' -o bundle.css -c uglifycss --no-watch",
"start:css": "catw 'skins/base/css/**/*.css' -o bundle.css -v", "start:css": "catw 'skins/base/css/**/*.css' -o bundle.css -v",
"build": "npm run build:js && npm run build:css", "build": "npm run build:js && npm run build:css",
"start": "parallelshell 'npm run start:js' 'npm run start:css'", "start": "parallelshell \"npm run start:js\" \"npm run start:css\"",
"prepublish": "npm run build" "prepublish": "npm run build"
}, },
"dependencies": { "dependencies": {
@ -33,7 +33,7 @@
}, },
"devDependencies": { "devDependencies": {
"catw": "^1.0.1", "catw": "^1.0.1",
"parallelshell": "^1.1.1", "parallelshell": "^1.2.0",
"react-tools": "^0.13.3", "react-tools": "^0.13.3",
"uglifycss": "0.0.15" "uglifycss": "0.0.15"
} }