-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.71 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
{
"name": "jr-starwars-names",
"version": "0.0.0-semantically-released",
"description": "Get random Star Wars names",
"main": "dist/index.js",
"scripts": {
"prebuild": "rm -rf dist && mkdir dist",
"build": "babel src/index.js -o dist/index.js",
"postbuild": "cp src/starwars-names.json dist/starwars-names.json",
"commit": "git-cz",
"check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"test": "mocha src/index.test.js -w --compilers js:babel/register",
"test:single": "istanbul cover -x *.test.js _mocha -- -R spec src/index.test.js --compilers js:babel/register",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/beathorst/jr-starwars-names.git"
},
"keywords": [
"random",
"star",
"wars"
],
"author": "Janek Ruessmann <[email protected]> (http://beathorst.github.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/beathorst/jr-starwars-names/issues"
},
"homepage": "https://github.com/beathorst/jr-starwars-names#readme",
"dependencies": {
"unique-random-array": "1.0.0"
},
"devDependencies": {
"babel": "5.8.23",
"chai": "3.3.0",
"codecov.io": "0.1.6",
"commitizen": "1.0.5",
"cz-conventional-changelog": "1.1.0",
"ghooks": "0.3.2",
"istanbul": "0.3.22",
"mocha": "2.3.3",
"semantic-release": "^4.3.5"
},
"czConfig": {
"path": "node_modules/cz-conventional-changelog"
},
"config": {
"ghooks": {
"pre-commit": "npm run test:single && npm run check-coverage"
}
}
}