|
89 | 89 | "schemas/" |
90 | 90 | ], |
91 | 91 | "scripts": { |
92 | | - "test": "mocha test/*.test.js --max_old_space_size=4096 --harmony --check-leaks", |
| 92 | + "test": "mocha test/*.test.js --max-old-space-size=4096 --harmony --check-leaks", |
93 | 93 | "travis:test": "npm run cover:min", |
94 | 94 | "travis:lint": "npm run lint-files && npm run nsp", |
95 | 95 | "travis:benchmark": "npm run benchmark", |
96 | | - "appveyor:test": "node node_modules\\mocha\\bin\\mocha --max_old_space_size=4096 --harmony test/*.test.js", |
| 96 | + "appveyor:test": "node node_modules\\mocha\\bin\\mocha --max-old-space-size=4096 --harmony test/*.test.js", |
97 | 97 | "appveyor:benchmark": "npm run benchmark", |
98 | | - "circleci:test": "node node_modules/mocha/bin/mocha --max_old_space_size=4096 --harmony test/*.test.js", |
| 98 | + "circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony test/*.test.js", |
99 | 99 | "circleci:lint": "npm run lint-files && npm run nsp", |
100 | 100 | "build:examples": "cd examples && node buildAll.js", |
101 | 101 | "pretest": "npm run lint-files", |
102 | 102 | "lint-files": "npm run lint && npm run beautify-lint", |
103 | 103 | "lint": "eslint lib bin hot buildin \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"", |
104 | 104 | "beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"", |
105 | 105 | "nsp": "nsp check --output summary", |
106 | | - "benchmark": "mocha --max_old_space_size=4096 --harmony test/*.benchmark.js -R spec", |
107 | | - "cover": "node --max_old_space_size=4096 --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js", |
108 | | - "cover:min": "node --max_old_space_size=4096 --harmony ./node_modules/.bin/istanbul cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 106 | + "benchmark": "mocha --max-old-space-size=4096 --harmony test/*.benchmark.js -R spec", |
| 107 | + "cover": "node --max-old-space-size=4096 --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js", |
| 108 | + "cover:min": "node --max-old-space-size=4096 --harmony ./node_modules/.bin/istanbul cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js", |
109 | 109 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
110 | 110 | } |
111 | 111 | } |
0 commit comments