-
-
Notifications
You must be signed in to change notification settings - Fork 274
/
package.json
59 lines (59 loc) · 1.61 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
{
"name": "@casl/vue",
"version": "2.2.2",
"description": "Vue plugin for CASL which makes it easy to add permissions in any Vue application",
"main": "dist/umd/index.js",
"module": "dist/es5m/index.js",
"es2015": "dist/es6m/index.mjs",
"typings": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/es6m/index.mjs",
"require": "./dist/umd/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-vue"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "BUILD_TYPES=es5m,es6m,umd dx rollup -n casl.vue -g vue:Vue,@casl/ability:casl",
"build.types": "dx tsc -p tsconfig.build.json",
"prebuild": "rm -rf dist/* && npm run build.types",
"lint": "dx eslint src/ spec/",
"test": "dx jest --env jsdom --config ../dx/config/jest.chai.config.js",
"prerelease": "npm run lint && npm test && NODE_ENV=production npm run build",
"release": "dx semantic-release"
},
"keywords": [
"casl",
"vue",
"authorization",
"acl",
"permissions"
],
"author": "Sergii Stotskyi <[email protected]>",
"license": "MIT",
"peerDependencies": {
"@casl/ability": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.1.0 || ^6.0.0",
"vue": "^3.0.0"
},
"devDependencies": {
"@casl/ability": "^6.0.0",
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^29.0.0",
"chai": "^4.1.0",
"chai-spies": "^1.0.0",
"vue": "^3.2.45"
},
"files": [
"dist",
"*.d.ts"
]
}