generated from 47ng/typescript-library-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
126 lines (126 loc) · 3.11 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "prisma-field-encryption",
"version": "0.0.0-semantically-released",
"description": "Transparent field-level encryption at rest for Prisma",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"bin": {
"prisma-field-encryption": "./dist/generator/main.js"
},
"author": {
"name": "François Best",
"email": "[email protected]",
"url": "https://francoisbest.com"
},
"repository": {
"type": "git",
"url": "https://github.com/47ng/prisma-field-encryption"
},
"keywords": [
"prisma",
"middleware",
"encryption",
"aes-256-gcm"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -rf ./dist ./coverage",
"prebuild": "run-s generate:prisma",
"build": "tsc",
"postbuild": "chmod +x ./dist/generator/main.js && cd node_modules/.bin && ln -sf ../../dist/generator/main.js ./prisma-field-encryption",
"generate": "run-s generate:*",
"generate:prisma": "prisma generate",
"test": "run-s test:**",
"test:types": "tsc --noEmit",
"test:unit": "jest --config jest.config.unit.json",
"test:integration": "jest --config jest.config.integration.json --runInBand",
"test:coverage:merge": "nyc merge ./coverage ./coverage/coverage-final.json",
"test:coverage:report": "nyc report -t ./coverage --r html -r lcov -r clover",
"ci": "run-s build test",
"prepare": "husky install",
"premigrate": "run-s build generate",
"migrate": "ts-node ./src/tests/migrate.ts"
},
"dependencies": {
"@47ng/cloak": "^1.2.0",
"@prisma/generator-helper": "^5.9.1",
"debug": "^4.3.4",
"immer": "^10.0.3",
"object-path": "^0.11.8",
"zod": "^3.22.4"
},
"peerDependencies": {
"@prisma/client": ">= 4.7"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@prisma/client": "5.9.1",
"@prisma/internals": "^5.9.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
"@types/object-path": "^0.11.4",
"commitlint": "^17.8.1",
"husky": "^9.0.10",
"jest": "^29",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prisma": "^5.9.1",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"jest": {
"verbose": true,
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node"
},
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"clean",
"doc",
"feat",
"fix",
"perf",
"ref",
"revert",
"style",
"test"
]
],
"subject-case": [
0,
"always",
"sentence-case"
],
"body-leading-blank": [
2,
"always",
true
]
}
}
}