-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.62 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.62 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
{
"name": "@shoito/prismarls",
"version": "0.0.5",
"main": "./dist/index.js",
"bin": {
"prismarls": "./dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "ts-node src/cli.ts",
"format": "npx @biomejs/biome format --write ./src",
"lint": "npx @biomejs/biome check --apply ./src",
"migrate:dev": "npx prisma migrate dev --create-only --name migration --schema=./examples/prisma/schema.prisma",
"rls:append:dev": "npm run dev -- --schema=./examples/prisma/schema.prisma --migrations=./examples/prisma/migrations --currentSettingIsolation=app.company_id",
"rls:append": "npx @shoito/prismarls --schema=./examples/prisma/schema.prisma --migrations=./examples/prisma/migrations --currentSettingIsolation=app.company_id",
"rls:migrate:dev": "npm run migrate:dev && npm run rls:append",
"migrate:deploy": "npx prisma migrate deploy --schema=./examples/prisma/schema.prisma",
"link": "npm link",
"pack": "npm pack",
"prepublish": "npm run build",
"publish": "npm publish"
},
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@prisma/client": "^5.13.0",
"@types/node": "^20.12.7",
"prisma": "^5.13.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@loancrate/prisma-schema-parser": "^2.0.0"
},
"engines": {
"node": ">=18"
},
"author": "shoito",
"license": "MIT",
"keywords": [
"PostgreSQL",
"RLS",
"Prisma"
],
"bugs": "https://github.com/shoito/prismarls/issues",
"repository": {
"type": "git",
"url": "https://github.com/shoito/prismarls.git"
},
"publishConfig": {
"access": "public"
}
}