-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
87 lines (87 loc) · 2.53 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
{
"name": "prisma-schema-trans",
"description": "Prisma schema post-processor for change names and fields to camelcase and pluralize for push db to a prisma schema.",
"version": "1.5.3",
"repository": "https://github.com/botika/prisma-schema-transformer",
"authors": [
{
"name": "Michael Lin",
"email": "hi@michaellin.me",
"url": "https://michaellin.me"
},
{
"name": "Juan Aguilar Santillana",
"email": "mhpoin@gmail.com"
}
],
"license": "MIT",
"keywords": [
"prisma",
"camelcase",
"schema"
],
"main": "dist/src/index.mjs",
"bin": {
"prisma-schema-trans": "dist/src/bin.mjs",
"prisma-db-pull": "db-pull.sh"
},
"files": [
"dist",
"schema.awk",
"db-pull.sh"
],
"engines": {
"node": ">=16.17"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"test": "DATABASE_URL=postgresql://localhost:5432/prisma vitest test.mts",
"release": "pnpm check && pnpm test -- --run && pnpm build && dotenv release-it",
"fix": "pnpm lint && pnpm fmt",
"check": "pnpm lint:check && pnpm fmt:check",
"lint": "eslint --cache --max-warnings 0 --fix '**/*.{mts,ts,js}'",
"fmt": "prettier --write '**/*.{md,prisma,json}'",
"lint:check": "eslint --cache --max-warnings 0 '**/*.{mts,ts,js}'",
"fmt:check": "prettier --check '**/*.{md,prisma,json}'",
"prepare": "husky install"
},
"dependencies": {
"@prisma/engine-core": "^4.3.1",
"@prisma/generator-helper": "^4.3.1",
"@prisma/internals": "^4.3.1",
"camelcase": "^7.0.0",
"commander": "^9.4.0",
"dotenv": "^16.0.2",
"immer": "^9.0.15",
"pluralize": "^8.0.0",
"prisma": "^4.3.1",
"ts-toolbelt": "^9.6.0"
},
"devDependencies": {
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
"@release-it/conventional-changelog": "5.1.1",
"@types/jest": "29.2.2",
"@types/node": "18.11.9",
"@types/pluralize": "0.0.29",
"@typescript-eslint/eslint-plugin": "5.42.1",
"@typescript-eslint/parser": "5.42.1",
"@vitest/coverage-c8": "0.25.0",
"dotenv-cli": "6.0.0",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"fp-ts": "2.13.1",
"husky": "8.0.2",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"prettier-plugin-prisma": "4.4.0",
"release-it": "15.5.0",
"typescript": "4.8.4",
"vitest": "0.25.0"
},
"lint-staged": {
"*.{mts,ts,js}": "eslint --cache --fix",
"*.{json,prisma,md}": "prettier --write"
}
}