-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.51 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
117
118
119
120
121
122
123
124
125
{
"name": "adonis-lucid-permission",
"description": "Addon for Associate models with roles and permissions AdonisJS Lucid ORM",
"version": "1.1.3",
"engines": {
"node": ">=20.6.0"
},
"type": "module",
"main": "./build/index.js",
"files": [
"build/commands",
"build/providers",
"build/services",
"build/src",
"build/stubs",
"build/configure.d.ts",
"build/configure.js",
"build/index.d.ts",
"build/index.js"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js",
"./commands": "./build/commands/main.js",
"./services/*": "./build/services/*.js",
"./permissions_provider": "./build/providers/permissions_provider.js",
"./permission_middleware": "./build/src/middleware/permission_middleware.js",
"./role_middleware": "./build/src/middleware/role_middleware.js",
"./role_or_permission_middleware": "./build/src/middleware/role_or_permission_middleware.js"
},
"scripts": {
"clean": "del-cli build",
"copy:templates": "copyfiles \"stubs/**/*.stub\" build",
"typecheck": "tsc --noEmit",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"pretest": "pnpm run lint:check",
"test": "c8 node --import=./tsnode.esm.js --enable-source-maps bin/test.ts",
"prebuild": "pnpm run lint:check && pnpm run clean",
"build": "tsc",
"postbuild": "pnpm run copy:templates && pnpm run index:commands",
"release": "release-it",
"version": "pnpm run build",
"prepublishOnly": "pnpm run build",
"index:commands": "adonis-kit index build/commands"
},
"keywords": [
"lucid",
"permissions",
"adonisjs"
],
"author": "Fernando Isidro <luffynando@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/luffynando/adonis-lucid-permission#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/luffynando/adonis-lucid-permission.git"
},
"bugs": {
"url": "https://github.com/luffynando/adonis-lucid-permission/issues"
},
"devDependencies": {
"@adonisjs/assembler": "^7.5.1",
"@adonisjs/auth": "^9.2.1",
"@adonisjs/core": "^6.8.0",
"@adonisjs/i18n": "^2.1.0",
"@adonisjs/lucid": "^20.5.1",
"@japa/assert": "^3.0.0",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@nodecfdi/eslint-config": "^1.6.6",
"@nodecfdi/prettier-config": "^1.1.1",
"@nodecfdi/tsconfig": "^1.5.0",
"@swc/core": "^1.4.17",
"@types/luxon": "^3.4.2",
"@types/node": "^20.12.7",
"@types/supertest": "^6.0.2",
"c8": "^9.1.0",
"copyfiles": "^2.4.1",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"luxon": "^3.4.4",
"prettier": "^3.2.5",
"release-it": "^17.2.1",
"sqlite3": "^5.1.7",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"peerDependencies": {
"@adonisjs/core": "^6.5.0",
"@adonisjs/lucid": "^20.5.1",
"luxon": "^3.4.4"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"release-it": {
"git": {
"commitMessage": "chore(release): :rocket: ${version}",
"tagAnnotation": "v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}",
"web": true
}
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"tests_helpers/**"
]
},
"prettier": "@nodecfdi/prettier-config"
}