-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.08 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
{
"name": "starwars-names-cookie",
"version": "0.0.0-semantically-released",
"description": "Get random Star Wars names",
"main": "dist/index.js",
"scripts": {
"commit": "git-cz",
"check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"watch:test": "npm t -- -w",
"test": "mocha src/index.test.js --compilers js:babel-register",
"cover": "nyc npm t",
"prebuild": "rimraf dist",
"build": "npm-run-all --parallel build:*",
"build:main": "babel --copy-files --out-dir dist --ignore *.test.js src",
"build:umd": "webpack --output-filename index.umd.js",
"build:umd.min": "webpack --output-filename index.umd.min.js -p",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/cqcmdwym/starwars-names.git"
},
"keywords": [
"random",
"star",
"wars"
],
"files": [
"dist",
"README.md"
],
"author": "cqcmdwym",
"license": "MIT",
"bugs": {
"url": "https://github.com/cqcmdwym/starwars-names/issues"
},
"homepage": "https://github.com/cqcmdwym/starwars-names#readme",
"dependencies": {
"unique-random-array": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.22.0",
"chai": "^4.0.2",
"codecov.io": "^0.1.6",
"commitizen": "^2.9.5",
"cz-conventional-changelog": "^2.0.0",
"ghooks": "^2.0.0",
"istanbul": "^0.4.5",
"json-loader": "^0.5.4",
"mocha": "^3.2.0",
"npm-run-all": "^4.0.1",
"nyc": "^11.0.2",
"rimraf": "^2.5.4",
"semantic-release": "^7.0.1",
"webpack": "^3.0.0"
},
"czConfig": {
"path": "node_modules/cz-conventional-changelog"
},
"config": {
"ghooks": {
"pre-commit": "npm run cover && npm run check-coverage"
}
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
}
}