-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
83 lines (83 loc) · 2.58 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
{
"name": "lossless-json",
"version": "4.0.2",
"description": "Parse JSON without risk of losing numeric information",
"main": "lib/umd/lossless-json.js",
"module": "lib/esm/index.js",
"browser": "lib/umd/lossless-json.js",
"types": "lib/types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/umd/lossless-json.js",
"types": "./lib/types/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "https://github.com/josdejong/lossless-json.git"
},
"scripts": {
"test": "vitest watch src",
"test-ci": "vitest run src",
"lint": "biome check",
"format": "biome check --write",
"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:esm:cpy": "cpy tools/esm/package.json lib/esm --flat",
"build:umd": "rollup --config rollup.config.mjs",
"build:umd:cpy": "cpy tools/cjs/package.json lib/umd --flat",
"build:types": "tsc --project tsconfig-types.json",
"build:validate": "vitest run test-lib",
"build-and-test": "npm run test-ci && npm run lint && 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",
"benchmark": "npm run build:esm && node tools/benchmark/run.mjs",
"prepare": "husky"
},
"keywords": [
"json",
"lossless",
"parse",
"stringify",
"long",
"bigint",
"bignumber",
"number",
"date",
"safe"
],
"author": "Jos de Jong",
"license": "MIT",
"devDependencies": {
"@babel/cli": "7.25.7",
"@babel/core": "7.25.7",
"@babel/plugin-transform-typescript": "7.25.7",
"@babel/preset-env": "7.25.7",
"@babel/preset-typescript": "7.25.7",
"@biomejs/biome": "1.9.3",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@rollup/plugin-terser": "0.4.4",
"@types/benchmark": "2.1.5",
"@types/node": "22.7.5",
"benchmark": "2.1.4",
"cpy-cli": "5.0.0",
"decimal.js": "10.4.3",
"del-cli": "6.0.0",
"globals": "15.10.0",
"husky": "9.1.6",
"npm-run-all": "4.1.5",
"rollup": "4.24.0",
"standard-version": "9.5.0",
"typescript": "5.6.2",
"vitest": "2.1.2"
},
"files": ["dist", "lib", "HISTORY.md", "LICENSE.md", "README.md"]
}