forked from stalniy/casl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.91 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
{
"name": "@casl/ability",
"version": "5.4.3",
"description": "CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access",
"funding": "https://github.com/stalniy/casl/blob/master/BACKERS.md",
"main": "dist/es6c/index.js",
"module": "dist/es5m/index.js",
"es2015": "dist/es6m/index.mjs",
"legacy": "dist/umd/index.js",
"typings": "./index.d.ts",
"exports": {
".": {
"import": "./dist/es6m/index.mjs",
"require": "./dist/es6c/index.js"
},
"./extra": {
"import": "./dist/es6m/extra.mjs",
"require": "./dist/es6c/extra.js"
}
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"scripts": {
"build.core": "dx rollup -n casl -g @ucast/mongo2js:ucast.mongo2js",
"build.extra": "dx rollup -i src/extra.ts -n casl.extra -g @ucast/mongo2js:ucast.mongo2js",
"build.types": "dx tsc && cp index.metadata.json dist/types",
"prebuild": "rm -rf dist/*",
"build": "npm run build.types && npm run build.core && npm run build.extra",
"lint": "dx eslint src/ spec/",
"test": "dx jest --config ../dx/config/jest.chai.config.js",
"prerelease": "npm run lint && npm test && NODE_ENV=production npm run build",
"release": "dx semantic-release"
},
"keywords": [
"permissions",
"authorization",
"acl",
"abac",
"rbac",
"ibac",
"cancan"
],
"author": "Sergii Stotskyi <[email protected]>",
"license": "MIT",
"devDependencies": {
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.0.5",
"chai": "^4.1.0",
"chai-spies": "^1.0.0",
"expect-type": "^0.12.0"
},
"files": [
"dist",
"*.d.ts",
"extra"
],
"dependencies": {
"@ucast/mongo2js": "^1.3.0"
}
}