-
Notifications
You must be signed in to change notification settings - Fork 213
/
package.json
85 lines (84 loc) · 2.54 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
85
{
"name": "starwars-names",
"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",
"start": "npm run test",
"watch:test": "npm t -- --watch",
"test": "mocha src/index.test.js --compilers js:babel-register",
"cover": "nyc --reporter=lcov 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",
"validate": "npm run cover && npm run check-coverage",
"setup": "npm install && npm run validate",
"setup:fem": "git checkout FEM/10.1-docs && npm install && npm run validate && rimraf .nyc_output coverage dist .git/hooks && git checkout FEM/00-scratch",
"setup:egghead": "npm run setup && rimraf dist coverage && git checkout lesson/02-setting-up-github",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/kentcdodds/starwars-names.git"
},
"keywords": [
"random",
"star",
"wars"
],
"files": [
"dist",
"README.md"
],
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/kentcdodds/starwars-names/issues"
},
"homepage": "https://github.com/kentcdodds/starwars-names#readme",
"dependencies": {
"unique-random-array": "1.0.0"
},
"devDependencies": {
"babel-cli": "6.11.4",
"babel-loader": "6.2.4",
"babel-preset-es2015": "6.13.2",
"babel-preset-stage-2": "6.13.0",
"babel-register": "6.11.6",
"chai": "3.5.0",
"codecov": "1.0.1",
"commitizen": "2.8.5",
"cz-conventional-changelog": "1.1.6",
"ghooks": "1.3.2",
"json-loader": "0.5.4",
"mocha": "3.0.1",
"npm-run-all": "2.3.0",
"nyc": "7.1.0",
"rimraf": "2.5.4",
"semantic-release": "^4.2.1",
"webpack": "1.13.1"
},
"engines": {
"node": "6.x",
"npm": "3.x"
},
"config": {
"ghooks": {
"pre-commit": "npm run validate"
},
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
}
}