forked from launchql/libpg-query-node
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
72 lines (72 loc) · 2.23 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
{
"name": "@pg-nano/pg-parser",
"type": "module",
"version": "16.1.5",
"sideEffects": false,
"description": "Node.js addon for PostgreSQL query parsing",
"license": "MIT",
"main": "lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./ast": {
"types": "./lib/ast.d.ts",
"default": "./lib/ast.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/pg-nano/pg-parser.git"
},
"scripts": {
"dev": "tinyrun --names js,gyp 'pnpm -s dev:js' 'pnpm -s dev:gyp'",
"dev:js": "rimraf lib && tsc -p . --watch --preserveWatchOutput",
"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": "rimraf lib && tsc -p .",
"build:gyp": "node-gyp rebuild && pnpm --no-bail prepare:clangd",
"prepare:clangd": "cd build && compiledb make -f binding.Makefile -n || true",
"prepare:types": "tsx scripts/inferFieldMetadata.ts && tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "tsx scripts/generateTests.ts",
"prepublishOnly": "pnpm -s build",
"install": "[ ! -d .git ] && prebuild-install --runtime napi || true",
"ci:prebuild": "prebuild --runtime napi --target 8 --strip --verbose",
"format": "biome format --write package.json src/lib/*.ts test/*.ts scripts/*.ts",
"version": "biome format --write package.json",
"test": "vitest"
},
"keywords": ["postgres", "postgresql", "pg", "query", "parser", "plpgsql"],
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.1.0",
"prebuild-install": "^7.1.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@radashi-org/biome-config": "^1.0.2",
"@types/bindings": "^1.5.5",
"node-gyp": "^10.0.1",
"prebuild": "^13.0.1",
"prettier": "^3.3.3",
"radashi": "^12.2.2",
"rimraf": "^6.0.1",
"tinyrun": "^1.0.1",
"tsx": "^4.19.2",
"typescript": "^5.5.4",
"vitest": "^2.1.4",
"watchlist": "npm:@aleclarson/watchlist@^0.3.3"
},
"files": ["lib"],
"engines": {
"node": ">=16"
},
"binary": {
"napi_versions": [8]
},
"config": {
"runtime": "napi",
"target": 8
}
}