Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.6 KB
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
{
"name": "trivialperms",
"version": "2.1.0",
"description": "A simple RBAC implementation that is datasource agnostic.",
"type": "module",
"main": "dist/cjs/trivialperms.cjs",
"module": "dist/esm/trivialperms.js",
"exports": {
".": {
"require": {
"types": "./dist/cjs/trivialperms.d.cts",
"default": "./dist/cjs/trivialperms.cjs"
},
"import": {
"types": "./dist/esm/trivialperms.d.ts",
"default": "./dist/esm/trivialperms.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "duel -d",
"test": "mocha --require tsx test/**/*.spec.ts",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --max-warnings=0 --fix"
},
"keywords": [
"json",
"rbac",
"permissions",
"roles"
],
"author": "Christopher S. Case <chris.case@g33xnexus.com>",
"bugs": "https://github.com/trivialsoftware/trivial-permissions/issues",
"homepage": "http://trivialsoftware.github.io/trivial-permissions/",
"repository": {
"type": "git",
"url": "https://github.com/trivialsoftware/trivial-permissions.git"
},
"license": "MIT",
"engines": {
"node": ">=22.21.1"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@knighted/duel": "^4.0.2",
"@stylistic/eslint-plugin": "^5.7.1",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^22.0.0",
"chai": "^5.1.1",
"eslint": "^9.28.0",
"globals": "^17.1.0",
"mocha": "^11.7.5",
"tsx": "^4.16.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.34.0"
}
}