This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 3.03 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
86
87
88
89
90
91
92
{
"name": "wahn",
"version": "0.10.0",
"description": "Policy Machine for Role Based Access Control",
"main": "./lib/src/",
"typings": "./lib/src/",
"scripts": {
"info": "npm-scripts-info",
"dev": "ava-ts ./tests/*.spec.ts --watch",
"clean": "rimraf ./lib ./.nyc_output ./coverage",
"build": "yarn clean && tsc -p tsconfig.json",
"unit": "yarn build && nyc ava",
"check-coverage": "nyc check-coverage --lines 50 --functions 70 --branches 60",
"test": "yarn unit && yarn check-coverage",
"cov": "yarn unit && yarn html-coverage",
"html-coverage": "nyc report --reporter=html",
"send-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"docs": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out lib/docs && opn lib/docs/index.html",
"docs:json": "typedoc --mode file --json lib/docs/typedoc.json src/index.ts",
"release-minor": "yarn run build && standard-version --release-as minor",
"release-patch": "yarn run build && standard-version --release-as patch",
"release-major": "yarn run build && standard-version --sign --release-as major"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"unit": "Run unit tests",
"test": "Lint and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"watch:build": "Watch source files, rebuild library on changes",
"watch:unit": "Watch the build, rerun relevant tests on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"html-coverage": "Output HTML test coverage report",
"send-coverage": "Output lcov test coverage report and send it to codecov",
"docs": "Generate API documentation and open it in a browser",
"docs:json": "Generate API documentation in typedoc JSON format",
"release": "Bump package.json version, update CHANGELOG.md, tag a release"
},
"author": "Owen Kelly <[email protected]>",
"license": "MIT",
"repository": {
"type": "github",
"url": "https://github.com/ojkelly/wahn"
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
},
"ava": {
"files": [
"lib/**/*.spec.js"
],
"source": [
"lib/**/*"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"debug": "^3.1.0",
"micromatch": "^3.1.5"
},
"devDependencies": {
"@types/debug": "0.0.30",
"@types/faker": "4.1.2",
"@types/micromatch": "3.1.0",
"@types/prettier": "1.10.0",
"ava": "0.25.0",
"ava-ts": "0.24.2",
"codecov": "3.0.0",
"faker": "4.1.0",
"husky": "0.14.3",
"nanotimer": "0.3.15",
"npm-scripts-info": "0.3.7",
"nyc": "11.6.0",
"percentile": "1.2.0",
"prettier": "1.11.1",
"rimraf": "2.6.2",
"standard-version": "4.3.0",
"ts-node": "5.0.1",
"typedoc": "0.11.1",
"typescript": "2.8.1",
"wedgetail": "1.0.0"
},
"resolutions": {
"micromatch": "3.1.5"
}
}