forked from josdejong/jsonrepair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.16 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
{
"name": "jsonrepair",
"version": "3.8.0",
"description": "Repair broken JSON documents",
"repository": {
"type": "git",
"url": "https://github.com/josdejong/jsonrepair.git"
},
"type": "module",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"browser": "lib/umd/index.min.js",
"types": "lib/types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/types/index.d.ts"
},
"./stream": {
"import": "./lib/esm/stream.js",
"require": "./lib/cjs/stream.js",
"types": "./lib/types/stream.d.ts"
}
},
"keywords": [
"simple",
"json",
"repair",
"fix",
"invalid",
"stream",
"streaming"
],
"bin": {
"jsonrepair": "./bin/cli.js"
},
"scripts": {
"test": "vitest watch src",
"test:it": "vitest run src",
"build": "npm-run-all build:**",
"build:clean": "del-cli lib",
"build:esm": "babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json",
"build:cjs": "babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat",
"build:umd": "rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat",
"build:umd:min": "uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js",
"build:types": "tsc --project tsconfig-types.json",
"build:validate": "vitest run test-lib",
"lint": "eslint src/**/*.ts",
"format": "npm run lint -- --fix",
"benchmark": "npm run build:esm && node tools/benchmark/run.mjs",
"build-and-test": "npm run lint && npm run test:it && npm run build",
"release": "npm-run-all release:**",
"release:build-and-test": "npm run build-and-test",
"release:version": "standard-version",
"release:push": "git push && git push --tag",
"release:publish": "npm publish",
"release-dry-run": "npm run build-and-test && standard-version --dry-run",
"prepare": "husky"
},
"files": [
"README.md",
"LICENSE.md",
"lib"
],
"author": "Jos de Jong",
"license": "ISC",
"devDependencies": {
"@babel/cli": "7.24.1",
"@babel/core": "7.24.4",
"@babel/plugin-transform-typescript": "7.24.4",
"@babel/preset-env": "7.24.4",
"@babel/preset-typescript": "7.24.1",
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"benchmark": "2.1.4",
"cpy-cli": "5.0.0",
"del-cli": "5.1.0",
"eslint": "8.57.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"husky": "9.0.11",
"npm-run-all": "4.1.5",
"rollup": "4.14.1",
"standard-version": "9.5.0",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"uglify-js": "3.17.4",
"vitest": "1.4.0"
}
}