-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.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
{
"name": "shitgen",
"version": "0.0.25",
"description": "A shit PostgreSQL type generator",
"main": "./dist/index.js",
"type": "module",
"files": [
"dist"
],
"bin": {
"shitgen": "./dist/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./client/*": {
"types": "./dist/client/*.d.ts",
"default": "./dist/client/*.js"
},
"./MockDatabase/*": {
"types": "./dist/MockDatabase/*.d.ts",
"default": "./dist/MockDatabase/*.js"
},
"./MockDatabase": {
"types": "./dist/MockDatabase/index.d.ts",
"default": "./dist/MockDatabase/index.js"
}
},
"scripts": {
"pretest": "pnpm run db:nuke && pnpm run db:generate && pnpm run db:push",
"test": "vitest",
"db:generate": "tsx ./src/index.ts generate ./schema.sql --out-file ./src/database.ts --test",
"db:push": "tsx ./src/index.ts push ./schema.sql",
"db:nuke": "tsx ./src/index.ts nuke --force",
"playground": "tsx ./playground.ts",
"build": "tsup",
"prebuild": "rimraf dist/",
"prepublishOnly": "pnpm run build",
"typecheck": "tsc"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"assert": "^2.1.0",
"commander": "^12.1.0",
"postgres": "^3.4.4",
"promptly": "^3.2.0"
},
"devDependencies": {
"@types/node": "^22.7.8",
"@types/promptly": "^3.0.5",
"rimraf": "^6.0.1",
"tsup": "^8.3.5",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vitest": "^2.1.3"
}
}