|
1 | 1 | { |
2 | 2 | "name": "libpg-query-full", |
3 | | - "version": "17.6.1", |
4 | | - "description": "PostgreSQL 17 query parser (full functionality with deparse/scan)", |
5 | | - "main": "wasm/index.js", |
6 | | - "types": "wasm/index.d.ts", |
7 | | - "type": "module", |
| 3 | + "version": "17.2.0", |
| 4 | + "description": "The real PostgreSQL query parser (PostgreSQL 17 - full functionality)", |
| 5 | + "homepage": "https://github.com/launchql/libpg-query-node", |
| 6 | + "main": "./wasm/index.cjs", |
| 7 | + "typings": "./wasm/index.d.ts", |
| 8 | + "publishConfig": { |
| 9 | + "access": "public" |
| 10 | + }, |
| 11 | + "files": [ |
| 12 | + "wasm/*", |
| 13 | + "proto.js" |
| 14 | + ], |
8 | 15 | "exports": { |
9 | 16 | ".": { |
| 17 | + "types": "./wasm/index.d.ts", |
10 | 18 | "import": "./wasm/index.js", |
11 | | - "types": "./wasm/index.d.ts" |
| 19 | + "require": "./wasm/index.cjs" |
12 | 20 | } |
13 | 21 | }, |
14 | | - "files": [ |
15 | | - "wasm/", |
16 | | - "proto.js", |
17 | | - "README.md" |
18 | | - ], |
19 | 22 | "scripts": { |
20 | | - "build": "EMSCRIPTEN=1 make build", |
21 | | - "clean": "make clean", |
| 23 | + "clean": "yarn wasm:clean && rimraf cjs esm", |
| 24 | + "build:js": "node scripts/build.js", |
| 25 | + "build": "yarn clean; yarn wasm:build; yarn build:js", |
| 26 | + "wasm:make": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", |
| 27 | + "wasm:build": "yarn wasm:make build", |
| 28 | + "wasm:rebuild": "yarn wasm:make rebuild", |
| 29 | + "wasm:clean": "yarn wasm:make clean", |
| 30 | + "wasm:clean-cache": "yarn wasm:make clean-cache", |
22 | 31 | "test": "mocha test/*.test.js --timeout 5000", |
| 32 | + "yamlize": "node ./scripts/yamlize.js", |
23 | 33 | "protogen": "node ./scripts/protogen.js" |
24 | 34 | }, |
| 35 | + "author": "Dan Lynch <pyramation@gmail.com> (http://github.com/pyramation)", |
| 36 | + "license": "LICENSE IN LICENSE", |
| 37 | + "repository": { |
| 38 | + "type": "git", |
| 39 | + "url": "git://github.com/launchql/libpg-query-node.git" |
| 40 | + }, |
| 41 | + "devDependencies": { |
| 42 | + "@launchql/proto-cli": "1.25.0", |
| 43 | + "@yamlize/cli": "^0.8.0", |
| 44 | + "chai": "^3.5.0", |
| 45 | + "mocha": "^11.7.0", |
| 46 | + "rimraf": "5.0.0", |
| 47 | + "typescript": "^5.3.3" |
| 48 | + }, |
25 | 49 | "dependencies": { |
26 | 50 | "@pgsql/types": "^17.0.0", |
27 | 51 | "@launchql/protobufjs": "7.2.6" |
28 | 52 | }, |
29 | | - "devDependencies": { |
30 | | - "chai": "^4.3.7", |
31 | | - "mocha": "^10.2.0", |
32 | | - "pg-proto-parser": "^0.6.3" |
33 | | - }, |
34 | | - "keywords": ["postgresql", "parser", "sql", "pg17", "deparse", "scan"], |
35 | | - "author": "Dan Lynch", |
36 | | - "license": "MIT" |
| 53 | + "keywords": [ |
| 54 | + "sql", |
| 55 | + "postgres", |
| 56 | + "postgresql", |
| 57 | + "pg", |
| 58 | + "query", |
| 59 | + "plpgsql", |
| 60 | + "database" |
| 61 | + ] |
37 | 62 | } |
0 commit comments