-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.63 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "crater-util",
"version": "1.2.2",
"description": "a collection of utilities used by the build scripts in [crater](https://github.com/jcoreio/crater)",
"main": "lib/index.js",
"scripts": {
"lint": "eslint src test",
"lint:fix": "eslint --fix src test",
"lint:watch": "esw --watch src test",
"flow": "flow",
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"flow:watch": "flow-watch --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"gen-flow-files": "flow gen-flow-files src/ --out-dir lib",
"build": "rimraf lib && babel src --out-dir lib",
"test": "mocha $npm_package_config_mocha",
"coverage": "DEBUG=crater-util:kill,crater-util:kill:ps NODE_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha --include src/*.js",
"prepublish": "npm run lint && flow && npm run coverage && npm run build",
"postpublish": "git tag -a v$npm_package_version -m v$npm_package_version && git push origin v$npm_package_version"
},
"config": {
"mocha": "--compilers js:babel-core/register ./test/*.js"
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/jedwards1211/crater-util.git"
},
"keywords": [
"es2015"
],
"author": "Andy Edwards",
"license": "MIT",
"bugs": {
"url": "https://github.com/jedwards1211/crater-util/issues"
},
"homepage": "https://github.com/jedwards1211/crater-util#readme",
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"babel-eslint": "^8.0.0",
"babel-plugin-istanbul": "^4.1.1",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-flow": "^1.0.0",
"babel-preset-stage-1": "^6.16.0",
"babel-register": "^6.16.3",
"babel-runtime": "^6.11.6",
"chai": "^3.5.0",
"coveralls": "^2.11.14",
"eslint": "^3.7.0",
"eslint-config-andy": "github:jedwards1211/eslint-config-andy#2.0.0-beta7",
"eslint-watch": "^3.1.0",
"flow-bin": "^0.42.0",
"flow-watch": "^1.0.0",
"glob": "^7.1.1",
"istanbul": "^0.4.5",
"mkdirp": "^0.5.1",
"mocha": "^3.1.0",
"nyc": "^11.0.0",
"pre-commit": "^1.1.3",
"rimraf": "^2.5.4"
},
"dependencies": {
"async-child-process": "^1.1.1",
"cross-spawn": "^5.0.1",
"debug": "^3.0.0",
"dotenv": "^2.0.0",
"es6-promisify": "^5.0.0",
"ps-tree": "^1.1.0"
},
"pre-commit": [
"lint",
"flow"
]
}