-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
111 lines (111 loc) · 2.5 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
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
{
"name": "jsonriver",
"type": "module",
"version": "1.0.0",
"description": "A JSON parser that produces increasingly complete versions of the parsed value.",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"license": "BSD-3-Clause",
"exports": {
".": {
"import": "./dist/index.js"
}
},
"files": [
"dist/",
"LICENSE",
"README.md"
],
"scripts": {
"build": "wireit",
"test": "wireit",
"benchmark": "wireit",
"node-bench": "wireit",
"format": "prettier . -w",
"format:check": "prettier . -c",
"lint": "wireit"
},
"keywords": [
"json",
"parser",
"streaming",
"incremental"
],
"devDependencies": {
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"esbuild": "^0.24.0",
"eslint": "^8.48.0",
"np": "^10.0.7",
"prettier": "^3.3.3",
"stream-json": "^1.8.0",
"tachometer": "^0.7.1",
"typescript": "^5.6.3",
"wireit": "^0.14.9"
},
"wireit": {
"build": {
"files": [
"src/**/*.ts",
"tsconfig.json"
],
"output": [
"dist"
],
"command": "tsc"
},
"test": {
"dependencies": [
"build"
],
"command": "node --test --test-reporter=spec dist/test/*.js"
},
"esbuild": {
"files": [
"src/**/*.ts"
],
"output": [
"bench/bundles/bundle.min.js"
],
"command": "esbuild src/index.ts --bundle --format=esm --target=es2022 --minify --outfile=bench/bundles/bundle.min.js"
},
"benchmark": {
"#comment": "Compare jsonriver vs jsonparse in the browser",
"dependencies": [
"esbuild"
],
"files": [
"bench/jsonriver.html",
"bench/jsonparse.html"
],
"command": "tachometer bench/jsonriver.html bench/jsonriver-1.0.html bench/jsonparse.html "
},
"node-bench": {
"#comment": "Compare jsonriver vs stream-json in Node.js",
"dependencies": [
"esbuild"
],
"files": [
"bench/node-bench.js",
"bench/stream-json.js"
],
"command": "node bench/node-bench.js"
},
"lint": {
"command": "eslint --color --cache --cache-location .eslintcache .",
"files": [
".eslintignore",
".eslintrc.cjs",
"src/**/*.ts",
"tsconfig.json"
],
"output": []
}
},
"prettier": {
"singleQuote": true,
"bracketSpacing": false
}
}