-
Notifications
You must be signed in to change notification settings - Fork 179
/
package.json
116 lines (116 loc) · 2.56 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "accesscontrol",
"version": "2.2.1",
"description": "Role and Attribute based Access Control for Node.js",
"main": "./index.js",
"directories": {
"lib": "./lib",
"test": "./test"
},
"files": [
"index.js",
"lib",
"LICENSE"
],
"types": "./lib/index.d.ts",
"scripts": {
"vuls": "snyk test",
"deps": "npm-check -u && snyk test",
"clean": "rimraf ./lib",
"build": "npm run clean && mkdirp ./lib && tsc",
"test": "npm run build && jest --verbose --no-cache",
"test!": "jest --verbose --no-cache",
"cover": "npm run build && jest --coverage --verbose --no-cache",
"cover!": "jest --coverage --verbose --no-cache",
"coveralls": "cat ./test/.coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v",
"report": "open ./test/.coverage/lcov-report/index.html",
"docs": "docma -c ./docma.config.json"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/lib",
"<rootDir>/test"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"**/test/(*.)?(spec|test).ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testPathIgnorePatterns": [
"/backup/",
"/.coverage/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts",
"!**/IAccessInfo.ts",
"!**/IQueryInfo.ts"
],
"coverageDirectory": "./test/.coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/onury/accesscontrol.git"
},
"keywords": [
"access",
"access-control",
"acl",
"role",
"attribute",
"grant",
"deny",
"allow",
"reject",
"permission",
"action",
"possession",
"rbac",
"abac",
"crud",
"create",
"read",
"update",
"delete",
"resource",
"express",
"admin",
"user",
"glob",
"wildcard",
"policy",
"scope",
"context"
],
"author": "Onur Yildirim <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/onury/accesscontrol/issues"
},
"homepage": "https://github.com/onury/accesscontrol#readme",
"devDependencies": {
"@types/jest": "^22.1.3",
"@types/node": "^9.4.6",
"coveralls": "^3.0.0",
"docma": "^1.5.3",
"jest-cli": "^22.4.2",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"rimraf": "^2.6.3",
"snyk": "^1.122.0",
"ts-jest": "^22.0.4",
"typescript": "^2.7.2"
},
"dependencies": {
"notation": "^1.3.6"
}
}