-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.78 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 4.78 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@nnao45/jsq",
"version": "0.2.18",
"description": "JavaScript-Powered JSON Query CLI Tool",
"type": "module",
"main": "dist/index.js",
"bin": {
"jsq": "bin/jsq",
"jsq-bun": "bin/jsq-bun",
"jsq-deno": "bin/jsq-deno"
},
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.js --format=esm --packages=external && esbuild src/core/vm/parallel-worker.ts --bundle --platform=node --target=node16 --outfile=dist/parallel-worker.js --format=esm --packages=external && esbuild src/core/vm/repl-worker.ts --bundle --platform=node --target=node16 --outfile=dist/repl-worker.js --format=esm --packages=external",
"build:watch": "npm run build -- --watch",
"build:bun": "bun build src/index.ts --outfile=dist/index-bun.js --target=bun",
"build:deno": "esbuild src/index.ts --bundle --platform=neutral --target=esnext --outfile=dist/index-deno.js --format=esm --packages=external",
"build:all": "npm run build && npm run build:bun",
"build:browser": "webpack --config scripts/build-browser/webpack.config.js",
"build:browser:watch": "webpack --config scripts/build-browser/webpack.config.js --watch",
"analyze": "webpack --config scripts/build-browser/webpack.config.js --analyze",
"analyze:node": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.js --format=esm --packages=external --metafile=meta.json --analyze",
"build:web": "vite build",
"dev": "tsx src/index.ts",
"dev:bun": "bun run src/index.ts",
"dev:deno": "deno run --allow-all src/index.ts",
"dev:web": "vite",
"preview:web": "vite preview",
"test": "vitest --run",
"test:quickjs": "FORCE_QUICKJS=true vitest",
"test:bun": "bun test",
"test:deno": "deno test --allow-all",
"test:all": "npm run test && npm run test:bun",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:e2e": "npm run build && ./src/e2e/repl-e2e.sh",
"test:e2e:repl": "npm run build && expect ./src/e2e/repl-e2e.exp",
"test:e2e:python": "npm run build && python3 ./src/e2e/run_all_tests.py",
"test:e2e:all": "npm run test:e2e && npm run test:e2e:python",
"coverage": "vitest run --coverage",
"lint": "biome lint src/",
"lint:fix": "biome lint --write src/",
"format": "biome format --write src/",
"format:check": "biome format src/",
"check": "npm run lint && npm run type-check && npm run biome-check",
"check:fix": "npm run lint:fix && npm run format && npm run biome-check:fix",
"biome-check": "biome check src/",
"biome-check:fix": "biome check --write src/",
"fix": "npm run format && npm run lint:fix && npm run check:fix ",
"type-check": "tsc --noEmit",
"typecheck": "tsc --noEmit",
"type-check:deno": "deno check src/**/*.ts",
"start": "node dist/index.js",
"start:bun": "bun dist/index-bun.js",
"start:deno": "deno run --allow-all dist/index-deno.js",
"prepare": "npm run build && npm run build:bin",
"build:bin": "./build-bin.sh",
"prepublishOnly": "npm run format && npm run lint:fix && npm run lint && npm run check && npm run build && npm run test",
"release:patch": "./bump-version.sh patch && npm publish --access public",
"release:minor": "./bump-version.sh minor && npm publish --access public"
},
"keywords": [
"json",
"jq",
"cli",
"javascript",
"typescript",
"jquery",
"query",
"transform",
"stream",
"bun",
"deno",
"node",
"cross-runtime",
"multi-runtime"
],
"author": "nnao45",
"license": "MIT",
"files": [
"dist/",
"bin/",
"README.md",
"LICENSE"
],
"dependencies": {
"@iarna/toml": "^2.2.5",
"@types/prompts": "^2.4.9",
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"csv-parse": "^6.1.0",
"js-yaml": "^4.1.0",
"parquetjs-lite": "^0.8.7",
"picocolors": "^1.1.1",
"prompts": "^2.4.2",
"quickjs-emscripten": "^0.31.0",
"stream-json": "^1.8.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@biomejs/biome": "^2.2.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.10.5",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/ui": "^3.2.4",
"c8": "^10.1.3",
"copy-webpack-plugin": "^13.0.1",
"esbuild": "^0.19.9",
"esbuild-register": "^3.6.0",
"node-pty": "^1.0.0",
"ts-loader": "^9.5.4",
"tsx": "^4.20.4",
"typescript": "^5.3.3",
"vite": "^6.0.6",
"vitest": "^3.2.4",
"webpack": "^5.101.3",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1"
},
"engines": {
"node": ">=16.0.0",
"bun": ">=1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/nnao45/jsq.git"
},
"bugs": {
"url": "https://github.com/nnao45/jsq/issues"
},
"homepage": "https://github.com/nnao45/jsq#readme"
}