-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 4.03 KB
/
Copy pathpackage.json
File metadata and controls
141 lines (141 loc) · 4.03 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
132
133
134
135
136
137
138
139
140
141
{
"name": "@cldmv/jsonv",
"version": "1.1.4",
"description": "Modern JSON parser extending JSON5 with ES2015-2025 features, year-based API",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.mts",
"exports": {
".": {
"types": "./dist/types/index.d.mts",
"json-dev": {
"types": "./src/index.mts",
"import": "./src/index.mjs",
"require": "./src/cjs/index.cjs"
},
"import": "./dist/index.mjs",
"require": "./dist/cjs/index.cjs"
},
"./parser": {
"types": "./dist/types/parser.d.mts",
"json-dev": {
"types": "./src/parser.mts",
"import": "./src/parser.mts"
},
"import": "./dist/parser.mjs"
},
"./*": {
"json-dev": {
"types": "./src/years/*.mts",
"import": "./src/years/*.mjs",
"require": "./src/cjs/years/*.cjs"
},
"import": {
"types": "./dist/types/years/*.d.mts",
"default": "./dist/years/*.mjs"
},
"require": {
"types": "./dist/types/cjs/years/*.d.cts",
"default": "./dist/cjs/years/*.cjs"
}
},
"./test/*": {
"import": {
"types": "./dist/types/years/*.d.mts",
"default": "./test-dynamic.mjs"
}
}
},
"scripts": {
"build": "npm run clean && npm run build:ts && npm run build:types && npm run generate:years && npm run build:cjs",
"clean": "node -e \"const{rmSync}=require('fs');rmSync('dist',{recursive:true,force:true});console.log('✓ Cleaned dist/')\"",
"generate:years": "node scripts/generate-years.mjs",
"build:ts": "tsc --project .configs/tsconfig.build.json",
"build:cjs": "node scripts/build-cjs.mjs",
"build:plugin": "node scripts/build-plugin.mjs",
"build:types": "tsc --project .configs/tsconfig.types.json",
"build:ci": "npm run lint --if-present && npm run format:check --if-present && npm run build",
"test": "node tests/run-vitest.mjs && npm run test:cjs",
"test:cjs": "npm run build && node --test tests/cjs/entry.test.cjs",
"test:watch": "vitest --config .configs/vitest.config.mjs",
"test:types": "tsc --project .configs/tsconfig.build.json --noEmit",
"coverage": "node tests/run-vitest.mjs --coverage-quiet && npm run test:cjs",
"ci:coverage": "npm run coverage",
"lint": "eslint --config .configs/eslint.config.v9.mjs src tests",
"lint:v8": "set ESLINT_USE_FLAT_CONFIG=true&& eslint --config .configs/eslint.config.mjs src tests",
"format": "prettier --config .configs/.prettierrc --write \"src/**/*.{mts,cts,ts}\" \"tests/**/*.{mjs,ts}\"",
"format:check": "prettier --config .configs/.prettierrc --check \"src/**/*.{mts,cts,ts}\" \"tests/**/*.{mjs,ts}\"",
"dev": "NODE_OPTIONS='--conditions=json-dev' node",
"fix:headers": "fix-headers --config .configs/fix-headers.json"
},
"keywords": [
"json",
"json5",
"parser",
"serializer",
"config",
"es2015",
"es2020",
"es2021",
"bigint",
"numeric-separators"
],
"author": {
"name": "Shinrai",
"company": "CLDMV",
"email": "git+npm@cldmv.net",
"url": "https://cldmv.net"
},
"contributors": [
{
"name": "CLDMV",
"url": "https://github.com/CLDMV"
}
],
"license": "Apache-2.0",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/shinrai"
},
"repository": {
"type": "git",
"url": "https://github.com/CLDMV/jsonv.git"
},
"bugs": {
"url": "https://github.com/CLDMV/jsonv/issues"
},
"homepage": "https://github.com/CLDMV/jsonv#readme",
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"files": [
"README.md",
"LICENSE",
"types/",
"dist/"
],
"devDependencies": {
"@cldmv/configs": "^1.2.4",
"@cldmv/eslint-plugin-jsonv": "^1.0.3",
"@cldmv/fix-headers": "^2.2.0",
"@cldmv/vitest-runner": "^1.4.3",
"@eslint/css": "^2.0.0",
"@eslint/js": "^10.0.1",
"@eslint/json": "^2.1.0",
"@eslint/markdown": "^8.0.3",
"@html-eslint/eslint-plugin": "^0.66.1",
"@html-eslint/parser": "^0.66.1",
"@types/node": "^26.5.1",
"@vitest/coverage-v8": "^5.0.2",
"eslint": "^10.11.0",
"globals": "^17.12.0",
"prettier": "^3.8.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.53.0",
"vitest": "^5.0.2"
}
}