-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.62 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
{
"name": "policy-control",
"version": "0.0.9",
"description": "Policy based access control",
"author": "cdriscol <drizkol@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"module": "lib/index.es.js",
"jsnext:main": "lib/index.es.js",
"types": "./lib/index.d.ts",
"engines": {
"node": ">= 12.x"
},
"files": [
"lib"
],
"scripts": {
"prepublish": "yarn build",
"prebuild": "rm -rf lib",
"build": "tsc -p tsconfig.build.json",
"check-compilation": "tsc -p tsconfig.json",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov",
"test-coverage": "nyc yarn test",
"test": "yarn ts-mocha ./src/__tests__/init.ts \"./src/**/__tests__/**/*.ts\"",
"test-watch": "yarn test -w",
"ts-mocha": "mocha --exit -r ts-node/register",
"lint": "eslint . --ext .ts",
"lint-fix": "yarn lint --fix",
"ci": "yarn check-compilation && yarn lint && yarn test",
"validate": "npm ls"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/chai-as-promised": "^7.1.2",
"@types/mocha": "^7.0.2",
"@types/node": "^12",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"codecov": "^3.6.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-prettier": "^3.1.2",
"mocha": "^7.1.1",
"nyc": "^15.0.1",
"precommit-hook": "^3.0.0",
"prettier": "^2.0.2",
"ts-node": "^8.8.2",
"typescript": "^3.8.2"
},
"pre-commit": [
"lint",
"check-compilation"
]
}