-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.82 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.82 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
{
"name": "@oresoftware/json-native-stream-parser",
"version": "1.0.1",
"description": "Parse JSON streams into JS objects using native JSON.parse() and JSON.stringify() methods.",
"type": "module",
"main": "./dist/main.js",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.js",
"require": "./dist/cjs/main.js",
"default": "./dist/main.js"
},
"./package.json": "./package.json"
},
"bin": {
"json_parser": "cli/json-parser.js"
},
"types": "./dist/main.d.ts",
"typings": "./dist/main.d.ts",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.cjs.json && node scripts/prep-cjs.mjs",
"build:native": "node -e \"const cp=require('node:child_process');const path=require('node:path');let nodeGyp='';const npmExec=process.env.npm_execpath||'';if(npmExec){nodeGyp=path.join(path.dirname(npmExec),'..','node_modules','node-gyp','bin','node-gyp.js')}if(!nodeGyp){console.error('json-native-stream-parser: could not locate node-gyp via npm_execpath');process.exit(1)};const r=cp.spawnSync(process.execPath,[nodeGyp,'rebuild'],{stdio:'inherit'});process.exit(r.status||0)\"",
"postinstall": "node -e \"if(process.env.JSON_NATIVE_PARSER_SKIP_BUILD){process.exit(0)};const cp=require('node:child_process');const path=require('node:path');let nodeGyp='';const npmExec=process.env.npm_execpath||'';if(npmExec){nodeGyp=path.join(path.dirname(npmExec),'..','node_modules','node-gyp','bin','node-gyp.js')}if(!nodeGyp){console.error('json-native-stream-parser: could not locate node-gyp via npm_execpath; set JSON_NATIVE_PARSER_SKIP_BUILD=1 to skip');process.exit(1)};const r=cp.spawnSync(process.execPath,[nodeGyp,'rebuild'],{stdio:'inherit'});process.exit(r.status||0)\"",
"bench": "npm run build && node bench/run.mjs",
"bench:inproc": "npm run build && node bench/run-inproc.mjs",
"bench:sh": "npm run build && bash bench/bench.sh",
"bench:latency": "npm run build && bash bench/latency.sh",
"bench:load": "npm run build && bash bench/load.sh",
"bench:compare-load": "npm run build && node bench/compare-load.mjs",
"test": "npm run build && node test/run.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ORESoftware/json-native-stream-parser.git"
},
"keywords": [
"typescript",
"library",
"skeleton",
"scaffold"
],
"author": "Olegzandr von Denman",
"license": "SEE LICENSE IN license.md",
"bugs": {
"url": "https://github.com/ORESoftware/json-native-stream-parser/issues"
},
"homepage": "https://github.com/ORESoftware/json-native-stream-parser#readme",
"dependencies": {},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.9.3"
},
"r2g": {
"test": "node .r2g/tests/smoke-test.1.js"
}
}