-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.npmscriptrc
More file actions
27 lines (26 loc) · 1001 Bytes
/
.npmscriptrc
File metadata and controls
27 lines (26 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* You can provide comments in `.npmscriptrc`.
*
* All test configuration data must be included in a `test` object hash.
*
* When running on Travis CI the `travis` hash is mixed into the main test config hash.
*
* When running `mocha-istanbul` or `mocha-istanbul-report` the Istanbul command is necessary; any options defined will
* be appended.
*
* If Babel or `typhonjs-npm-scripts-build-babel` is installed and configured include `--compilers js:babel-register`
* in the Mocha options below. Also if your test scripts are ES6 then use `babel-node` instead of `node` to launch the
* testing NPM scripts.
*/
{
"test":
{
"istanbul": { "command": "cover", "options": ["--report lcovonly"] },
"mocha": { "source": "./test-src/src", "options": ["-t 120000 --recursive"] }
},
"test-dev":
{
"istanbul": { "command": "cover", "options": ["--report lcovonly"] },
"mocha": { "source": "./test-src/src-dev", "options": ["-t 120000 --recursive"] }
}
}