Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.23 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
63
64
65
{
"name": "@cerebruminc/yates",
"version": "5.0.0",
"description": "Role based access control for Prisma Apps",
"repository": {
"type": "git",
"url": "git+https://github.com/cerebruminc/yates.git"
},
"main": "dist/index.js",
"files": [
"CHANGELOG.md",
"MIGRATION.md",
"dist",
"images"
],
"scripts": {
"generate": "prisma generate --config prisma/primary/prisma.config.ts && prisma generate --config prisma/secondary/prisma.config.ts",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"test": "npm run lint",
"lint": "biome check .",
"lint:fix": "biome check . --apply",
"test:types": "tsc --noEmit",
"test:integration": "jest --runInBand test/integration",
"test:compose:integration": "docker compose -f docker-compose.yml --profile with-sut up db sut --exit-code-from sut",
"setup": "prisma generate --config prisma/primary/prisma.config.ts && prisma migrate dev --config prisma/primary/prisma.config.ts && prisma generate --config prisma/secondary/prisma.config.ts && prisma migrate dev --config prisma/secondary/prisma.config.ts",
"setup:ci": "prisma generate --config prisma/primary/prisma.config.ts && prisma migrate deploy --config prisma/primary/prisma.config.ts && prisma generate --config prisma/secondary/prisma.config.ts && prisma migrate deploy --config prisma/secondary/prisma.config.ts",
"prepublishOnly": "npm run generate && npm run build"
},
"author": "Cerebrum <hello@cerebrum.com> (https://cerebrum.com)",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@prisma/client": "^7.7.0",
"@types/cls-hooked": "^4.3.3",
"@types/jest": "^29.2.6",
"@types/lodash": "^4.14.191",
"@types/uuid": "^9.0.0",
"cls-hooked": "^4.2.2",
"dotenv": "^16.6.1",
"jest": "^29.3.1",
"prisma": "^7.7.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.0.5",
"typescript": "^5.3.3",
"uuid": "^9.0.0"
},
"dependencies": {
"@prisma/adapter-pg": "^7.7.0",
"@types/debug": "^4.1.12",
"debug": "^4.3.4",
"lodash": "^4.17.21",
"node-sql-parser": "^4.12.0",
"pg": "^8.20.0",
"type-fest": "^4.10.3"
},
"peerDependencies": {
"@prisma/client": "^7.7.0",
"prisma": "^7.7.0"
},
"allowScripts": {
"@biomejs/biome@1.5.3": true,
"@prisma/engines@7.9.1": true,
"prisma@7.9.1": true
}
}