forked from 47ng/prisma-field-encryption
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.17 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": "contact@francoisbest.com",
"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",
"pretest:integration": "cp -f ./prisma/db.test.sqlite ./prisma/db.integration.sqlite",
"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.1.0",
"@prisma/generator-helper": "^4.0.0",
"debug": "^4.3.4",
"immer": "^9.0.15",
"object-path": "^0.11.8",
"zod": "^3.17.3"
},
"peerDependencies": {
"@prisma/client": "^3.8.0 || ^4"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.3",
"@prisma/client": "4.0.0",
"@prisma/sdk": "^3.15.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"@types/object-path": "^0.11.1",
"commitlint": "^17.0.3",
"husky": "^8.0.1",
"jest": "^28",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prisma": "^4.0.0",
"sqlite": "^4.1.1",
"sqlite3": "^5.0.8",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
},
"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
]
}
}
}