-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.03 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.03 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
{
"name": "@lokalise/prisma-utils",
"version": "5.0.2",
"type": "module",
"license": "Apache-2.0",
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"homepage": "https://github.com/lokalise/shared-ts-libs",
"repository": {
"type": "git",
"url": "https://github.com/lokalise/shared-ts-libs.git"
},
"scripts": {
"build": "rimraf dist && npm run db:update-client && tsc --project tsconfig.build.json",
"clean": "rimraf dist",
"lint": "biome check . && tsc",
"lint:fix": "biome check --write",
"db:migration:dev": "prisma migrate dev --config=./prisma/prisma.config",
"db:update-client": "prisma generate",
"db:wait": "while ! echo \"SELECT 1;\" | prisma db execute --stdin --schema prisma/schema.prisma; do sleep 1; done",
"test": "vitest run",
"test:migrate": "cross-env NODE_ENV=test prisma migrate reset --config=./prisma/prisma.config --force",
"pretest:ci": "docker compose up -d && npm run db:wait && npm run test:migrate",
"test:ci": "npm run test",
"posttest:ci": "docker compose down",
"prepublishOnly": "npm run build",
"package-version": "echo $npm_package_version",
"postversion": "biome check --write package.json"
},
"dependencies": {
"@lokalise/node-core": "^14.7.4"
},
"peerDependencies": {
"@prisma/client": "^7.0.0",
"prisma": "^7.0.0",
"prom-client": ">=15.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.3.7",
"@lokalise/biome-config": "^3.1.0",
"@lokalise/tsconfig": "^3.1.0",
"@prisma/adapter-pg": "^7.4.0",
"@prisma/client": "^7.4.0",
"@vitest/coverage-v8": "^4.0.15",
"cross-env": "^10.0.0",
"prisma": "^7.4.0",
"rimraf": "^6.0.1",
"typescript": "5.9.3",
"vitest": "^4.0.15"
}
}