-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
73 lines (73 loc) · 1.81 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
{
"name": "poker-odds",
"version": "1.0.1",
"description": "A lightweight command line tool for calculating poker hand probabilities",
"repository": "https://github.com/cookpete/poker-odds",
"author": "Pete Cook <[email protected]>",
"license": "MIT",
"bin": {
"poker-odds": "lib/bin/poker-odds.js"
},
"engines": {
"node": ">=6.0.0"
},
"main": "lib/calculate.js",
"scripts": {
"generate-lookup": "babel-node src/bin/generate-lookup.js lookup.json",
"lint": "standard",
"test": "cross-env NODE_ENV=test nyc ava --verbose",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"clean": "rm -rf lib test/coverage",
"build": "babel src -d lib",
"preversion": "yarn lint && yarn test",
"version": "auto-changelog -p && yarn generate-lookup && git add CHANGELOG.md lookup.json",
"prepublishOnly": "yarn clean && yarn build",
"postpublish": "yarn clean"
},
"devDependencies": {
"auto-changelog": "^1.4.0",
"ava": "^0.24.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.26.0",
"codecov": "^3.0.0",
"cross-env": "^5.1.3",
"nyc": "^11.4.1",
"standard": "^10.0.3"
},
"babel": {
"presets": [
"env",
"stage-3"
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"ava": {
"files": "test/*.js",
"babel": "inherit",
"require": [
"babel-register"
]
},
"nyc": {
"all": true,
"include": "src",
"sourceMap": false,
"instrument": false,
"report-dir": "./test/coverage",
"temp-directory": "./test/coverage/.nyc_output",
"reporter": [
"text",
"html"
]
}
}