Skip to content

Commit b6867d7

Browse files
committed
Updated npm scripts for win32 and linux:darwin
1 parent 277f6b2 commit b6867d7

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

package.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,16 @@
99
"README.md"
1010
],
1111
"scripts": {
12-
"build": "run-script-os",
1312
"build:win32": "SET WEBPACK_ENV=build & webpack",
14-
"build:darwin:linux": "WEBPACK_ENV=build & webpack",
15-
"dev": "run-script-os",
13+
"build": "WEBPACK_ENV=build & webpack",
1614
"dev:win32": "SET WEBPACK_ENV=dev & webpack",
17-
"dev:darwin:linux": "WEBPACK_ENV=dev & webpack",
18-
"dev:watch": "run-script-os",
15+
"dev": "WEBPACK_ENV=dev & webpack",
1916
"dev:watch:win32": "SET WEBPACK_ENV=dev & webpack --progress --colors --watch",
20-
"dev:watch:darwin:linux": "WEBPACK_ENV=dev & webpack --progress --colors --watch",
21-
"test": "run-script-os",
17+
"dev:watch": "WEBPACK_ENV=dev & webpack --progress --colors --watch",
2218
"test:win32": "SET WEBPACK_ENV=dev & karma start",
23-
"test:darwin:linux": "WEBPACK_ENV=dev & karma start",
24-
"test:travis": "run-script-os",
19+
"test": "WEBPACK_ENV=dev & karma start",
2520
"test:travis:win32": "SET WEBPACK_ENV=dev & karma start --single-run",
26-
"test:travis:darwin:linux": "WEBPACK_ENV=dev & karma start --single-run",
21+
"test:travis": "WEBPACK_ENV=dev & karma start --single-run",
2722
"coveralls": "cat ./coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
2823
"prepublish": "npm build & npm run dev",
2924
"build&publish": "npm run prepublish & npm publish"
@@ -61,7 +56,6 @@
6156
"karma-phantomjs-launcher": "^1.0.4",
6257
"karma-webpack": "^2.0.9",
6358
"phantomjs-prebuilt": "^2.1.15",
64-
"run-script-os": "^1.0.2",
6559
"tslint": "^5.7.0",
6660
"uglifyjs-webpack-plugin": "^0.4.6",
6761
"webpack": "^2.0.9"

0 commit comments

Comments
 (0)