-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.56 KB
/
package.json
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "JSDataStructureAlgorithms",
"version": "1.0.0",
"description": "Data Structures and Algorithms in JavaScript",
"author": "Cristina Tarantino",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"prebuild": "yarn run test",
"build": "babel src/ -d dist/",
"security-check": "nsp check",
"flow": "node_modules/.bin/flow check",
"clean-coverage": "rimraf ./coverage && mkdir -p coverage/.nyc_output",
"pretest": "yarn run clean-coverage && yarn run security-check && yarn run flow",
"test": "cross-env NODE_ENV=test nyc mocha ./src -name '*.test.js' --recursive --require babel-core/register -R spec",
"flow:deps": "node_modules/.bin/flow-typed install",
"postinstall": "yarn run flow:deps"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-eslint": "8.2.3",
"babel-plugin-istanbul": "4.1.6",
"babel-preset-env": "1.7.0",
"babel-preset-flow": "6.23.0",
"chai": "4.1.2",
"cross-env": "5.2.0",
"eslint": "4.19.1",
"eslint-plugin-flowtype": "2.49.3",
"eslint-plugin-import": "2.12.0",
"flow-bin": "0.74.0",
"flow-typed": "2.4.0",
"istanbul": "0.4.5",
"mocha": "5.2.0",
"nsp": "3.2.1",
"nyc": "12.0.2"
},
"nyc": {
"check-coverage": true,
"per-file": true,
"include": [
"src/**/*.js"
],
"exclude": [
"src/**/*.test.js"
],
"reporter": [
"html",
"text"
],
"temp-directory": "./coverage/.nyc_output",
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
}
}