Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

Commit 85d4d6a

Browse files
committed
Added 'test-es' script to package.json.
1 parent 4418222 commit 85d4d6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"transpile-es5": "node_modules/.bin/shx rm -rf ./algorithms/es5 && node_modules/.bin/shx rm -rf ./test/es5 && node_modules/.bin/shx rm -f ./es5.js && node_modules/.bin/babel ./es.js -o ./es5.js --plugins=babel-plugin-transform-es2015-modules-umd --no-comments && node_modules/.bin/babel ./algorithms/es -d ./algorithms/es5 --plugins=babel-plugin-transform-es2015-modules-umd --no-comments && node_modules/.bin/babel ./test/es -d ./test/es5 --no-comments && node_modules/.bin/replace '/es/' '/es5/' ./es5.js -q && node_modules/.bin/replace 'global.es' 'global.algorithms' ./es5.js -q && node_modules/.bin/replace '../../es' '../../es5' ./test/es5 -r -q && node_modules/.bin/replace 'Algorithm:' 'ES5 Algorithm:' ./test/es5 -r -q && node_modules/.bin/standard --fix --global self --global define --global it --global describe",
88
"coverage": "node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/es/*.js && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
9-
"test": "npm run transpile-es5 && node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/**/*.js"
9+
"test": "npm run transpile-es5 && node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/**/*.js",
10+
"test-es": "node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/es/*.js"
1011
},
1112
"repository": {
1213
"type": "git",

0 commit comments

Comments
 (0)