forked from pg-nano/pg-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.26 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
{
"name": "@markandrus/pg-parser",
"version": "16.1.4-markandrus-1",
"sideEffects": false,
"description": "Node.js addon for PostgreSQL query parsing",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./ast": {
"types": "./dist/ast.d.ts",
"require": "./dist/ast.js",
"import": "./dist/ast.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/markandrus/pg-parser.git"
},
"scripts": {
"dev": "tinyrun --names js,gyp 'pnpm -s dev:js' 'pnpm -s dev:gyp'",
"dev:js": "npm run build:js -- --watch src/lib",
"dev:gyp": "watchlist src --eager --no-clear -- pnpm -s build:gyp",
"build": "tinyrun --names js,gyp 'pnpm -s build:js' 'pnpm -s build:gyp'",
"build:js": "tsup src/lib --format cjs,esm --dts --clean --no-splitting",
"build:gyp": "node-gyp rebuild && pnpm --no-bail prepare:clangd",
"prepare:clangd": "cd build && compiledb make -f binding.Makefile -n || true",
"prepare:types": "pnpm -s dlx tsx scripts/inferFieldMetadata.ts && pnpm -s dlx tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "pnpm -s dlx tsx scripts/generateTests.ts",
"prepublishOnly": "pnpm -s build",
"ci:prebuild": "prebuildify --runtime napi --target 16.0.0 --strip --verbose",
"format": "biome format --write package.json src/lib/*.ts test/*.ts scripts/*.ts",
"test": "pnpm -s dlx vitest@2.0.5"
},
"keywords": [
"postgres",
"postgresql",
"pg",
"query",
"parser",
"plpgsql"
],
"dependencies": {
"node-gyp-build": "^4.8.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@radashi-org/biome-config": "^1.0.2",
"@types/node": "^22.7.5",
"node-addon-api": "^8.1.0",
"node-gyp": "^10.0.1",
"prebuildify": "^6.0.1",
"prettier": "^3.3.3",
"tinyrun": "^1.0.1",
"tsup": "^8.3.0",
"typescript": "^5.5.4",
"watchlist": "npm:@aleclarson/watchlist@^0.3.3"
},
"files": [
"dist",
"prebuilds"
],
"engines": {
"node": ">=16"
},
"binary": {
"napi_versions": [
8
]
},
"config": {
"runtime": "napi",
"target": 8
}
}