-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.67 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.67 KB
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
{
"name": "rawsql-ts",
"version": "0.20.0",
"description": "High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/src/index.d.ts",
"browser": "dist/esm/index.min.js",
"homepage": "https://github.com/mk3008/rawsql-ts/tree/main/packages/core",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"prepack": "npm run build:all",
"build": "tsc --build --force",
"build:browser": "tsc --project tsconfig.browser.json",
"build:minify": "esbuild src/index.ts --bundle --minify-syntax --minify-whitespace --outfile=dist/index.min.js --format=cjs --sourcemap && esbuild src/index.ts --bundle --minify-syntax --minify-whitespace --outfile=dist/esm/index.min.js --format=esm --sourcemap",
"build:all": "npm run clean && npm run build && npm run build:browser && npm run build:minify",
"release": "npm run build:all && node -e \"require('fs').mkdirSync('../../tmp', { recursive: true })\" && pnpm pack --out ../../tmp/rawsql-ts-core.tgz && pnpm publish",
"clean": "tsc --build --clean && node -e \"const fs = require('fs'); if (fs.existsSync('dist')) fs.rmSync('dist', {recursive: true, force: true});\"",
"lint": "eslint . --ext .ts,.tsx --fix",
"postbuild": "node ../../scripts/sync-rawsql-dist.js",
"benchmark": "ts-node ../../benchmarks/parse-benchmark.ts"
},
"keywords": [
"sql",
"sql-parser",
"sql-transformer",
"ast",
"sql-ast",
"sql-formatter"
],
"author": "msugiura",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mk3008/rawsql-ts.git",
"directory": "packages/core"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/node": "^22.13.10",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"@vitest/coverage-v8": "^4.0.15",
"benchmark": "^2.1.4",
"esbuild": "^0.25.5",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-prettier": "^5.2.3",
"microtime": "^3.1.1",
"node-sql-parser": "^5.4.0",
"sql-formatter": "^15.5.2",
"sql-parser-cst": "^0.33.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"vitest": "^4.0.15"
},
"files": [
"dist"
]
}