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