Skip to content

Commit

Permalink
[Tests] add parallelshell and use it in a few tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 14, 2016
1 parent aa65184 commit 265b0b5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"url": "http://github.com/es-shims/es5-shim.git"
},
"scripts": {
"minify": "npm run minify-shim && npm run minify-sham",
"minify": "parallelshell 'npm run minify-shim' 'npm run minify-sham'",
"minify-shim": "uglifyjs es5-shim.js --keep-fnames --comments --source-map=es5-shim.map -m -b ascii_only=true,beautify=false > es5-shim.min.js",
"minify-sham": "uglifyjs es5-sham.js --keep-fnames --comments --source-map=es5-sham.map -m -b ascii_only=true,beautify=false > es5-sham.min.js",
"test": "npm run lint && npm run tests-only",
"tests-only": "jasmine-node --matchall ./ tests/spec/",
"test-native": "jasmine-node --matchall tests/spec/",
"lint": "npm run jscs && npm run eslint",
"lint": "parallelshell 'npm run jscs' 'npm run eslint'",
"eslint": "eslint tests/helpers/*.js tests/spec/*.js es5-shim.js es5-sham.js",
"jscs": "jscs tests/helpers/*.js tests/spec/*.js es5-shim.js es5-sham.js"
},
Expand All @@ -39,7 +39,8 @@
"jscs": "^2.7.0",
"uglify-js": "^2.6.1",
"replace": "^0.3.0",
"semver": "^5.1.0"
"semver": "^5.1.0",
"parallelshell": "^2.0.0"
},
"engines": {
"node": ">=0.4.0"
Expand Down

0 comments on commit 265b0b5

Please sign in to comment.