UNPKG

4.04 kBJSONView Raw
1{
2 "name": "@prisma/client",
3 "version": "2.2.0",
4 "description": "Prisma Client is an auto-generated and type-safe query builder for Node.js & TypeScript that's tailored to your data.",
5 "keywords": [
6 "prisma2",
7 "prisma",
8 "client",
9 "query",
10 "database",
11 "sql",
12 "postgres",
13 "postgresql",
14 "mysql",
15 "sqlite",
16 "mariadb",
17 "typescript",
18 "orm",
19 "query-builder"
20 ],
21 "main": "index.js",
22 "types": "index.d.ts",
23 "license": "Apache-2.0",
24 "engines": {
25 "node": ">=10"
26 },
27 "homepage": "https://github.com/prisma/prisma-client-js",
28 "repository": {
29 "url": "git@github.com:prisma/prisma.git"
30 },
31 "maintainers": [
32 "Tim Suchanek <suchanek@prisma.io>",
33 "Joël Galeran <galeran@prisma.io>"
34 ],
35 "bugs": {
36 "email": "suchanek@prisma.io",
37 "url": "https://github.com/prisma/prisma-client-js/issues"
38 },
39 "scripts": {
40 "tsc": "tsc -d",
41 "build": "pnpm run cleanup && pnpm run tsc && pnpm run ncc:runtime && pnpm run ncc:generator && cp scripts/backup-index.js index.js && cp scripts/backup-index.d.ts index.d.ts && cp scripts/any-index.js runtime/index.d.ts",
42 "test": "jest",
43 "format": "prettier --write .",
44 "lint": "eslint --fix --ext .js,.ts .",
45 "download": "node scripts/download.js",
46 "generate": "node scripts/postinstall.js",
47 "postinstall": "node scripts/postinstall.js",
48 "ncc:runtime": "node scripts/build-runtime.js",
49 "cleanup": "rm -f index.d.ts && cp scripts/backup-index.js index.js && cp scripts/backup-index.d.ts index.d.ts",
50 "ncc:generator": "rm -rf generator-build && ncc build dist/generator.js -o generator-build --minify --source-map && rm -f generator-build/index.js.bak && chmod +x generator-build/index.js",
51 "prepare": "pnpm run cleanup && cp scripts/backup-index.js index.js && cp scripts/backup-index.d.ts index.d.ts && node scripts/download.js || echo \"\"",
52 "prepublishOnly": "pnpm run build"
53 },
54 "prisma": {
55 "version": "latest"
56 },
57 "files": [
58 "runtime",
59 "scripts",
60 "generator-build",
61 "index.js",
62 "index.d.ts"
63 ],
64 "devDependencies": {
65 "@apexearth/copy": "1.4.5",
66 "@prisma/debug": "2.2.0",
67 "@prisma/engine-core": "2.2.0",
68 "@prisma/fetch-engine": "2.2.0",
69 "@prisma/generator-helper": "2.2.0",
70 "@prisma/get-platform": "2.2.0",
71 "@prisma/sdk": "2.2.0",
72 "@types/debug": "4.1.5",
73 "@types/fs-extra": "8.1.1",
74 "@types/jest": "25.2.3",
75 "@types/js-levenshtein": "1.1.0",
76 "@types/node": "12.12.47",
77 "@types/node-fetch": "2.5.7",
78 "@types/pg": "7.14.3",
79 "@typescript-eslint/eslint-plugin": "2.34.0",
80 "@typescript-eslint/parser": "2.34.0",
81 "@zeit/ncc": "0.22.3",
82 "arg": "4.1.3",
83 "benchmark": "2.1.4",
84 "chalk": "3.0.0",
85 "del": "5.1.0",
86 "dotenv": "8.2.0",
87 "eslint": "6.8.0",
88 "eslint-config-prettier": "6.11.0",
89 "eslint-plugin-eslint-comments": "3.2.0",
90 "eslint-plugin-jest": "23.13.2",
91 "eslint-plugin-prettier": "3.1.4",
92 "execa": "4.0.2",
93 "fast-clone": "1.5.13",
94 "fast-copy": "2.0.5",
95 "flat-map-polyfill": "0.3.8",
96 "fs-monkey": "1.0.1",
97 "get-own-enumerable-property-symbols": "3.0.2",
98 "get-port": "5.1.1",
99 "husky": "4.2.5",
100 "indent-string": "4.0.0",
101 "is-obj": "2.0.0",
102 "is-regexp": "2.1.0",
103 "jest": "25.5.4",
104 "js-levenshtein": "1.1.6",
105 "klona": "1.1.1",
106 "lint-staged": "10.2.10",
107 "make-dir": "3.1.0",
108 "node-fetch": "2.6.0",
109 "node-tcp-proxy": "0.0.15",
110 "packwatch": "2.0.0",
111 "pg": "7.18.2",
112 "pluralize": "8.0.0",
113 "prettier": "2.0.5",
114 "rimraf": "3.0.2",
115 "set-value": "3.0.2",
116 "sql-template-tag": "3.4.0",
117 "stacktrace-parser": "0.1.10",
118 "stat-mode": "1.0.0",
119 "strip-ansi": "6.0.0",
120 "strip-indent": "3.0.0",
121 "ts-jest": "25.5.1",
122 "ts-loader": "6.2.2",
123 "ts-node": "8.10.2",
124 "typescript": "3.9.5"
125 },
126 "peerDependencies": {
127 "@prisma/cli": "*"
128 },
129 "peerDependenciesMeta": {
130 "@prisma/cli": {
131 "optional": true
132 }
133 },
134 "husky": {
135 "hooks": {
136 "pre-commit": "lint-staged"
137 }
138 },
139 "lint-staged": {
140 "*.{js,ts,css,json,md}": [
141 "prettier --write",
142 "git add"
143 ],
144 "*.{js,ts}": [
145 "eslint"
146 ]
147 },
148 "dependencies": {
149 "pkg-up": "^3.1.0"
150 }
151}