@apigames/json 25.1.1 → 27.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/package.json +23 -26
- package/tsconfig.editor.json +0 -28
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -13,24 +13,25 @@
|
|
|
13
13
|
],
|
|
14
14
|
"description": "API Games JSON Utilities",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"version": "
|
|
16
|
+
"version": "27.1.0",
|
|
17
|
+
"type": "commonjs",
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=26"
|
|
20
|
+
},
|
|
21
|
+
"files": ["lib"],
|
|
17
22
|
"main": "lib/index.js",
|
|
18
23
|
"types": "lib/index.d.ts",
|
|
19
24
|
"scripts": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"win:upgrade-minor": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target minor && npm install",
|
|
31
|
-
"unx:upgrade-minor": "rm -rf node_modules && rm -f package-lock.json && ncu -u --target minor && npm install",
|
|
32
|
-
"test:coverage": "jest --coverage",
|
|
33
|
-
"test:watch": "jest --watch"
|
|
25
|
+
"clean": "node -e \"require('node:fs').rmSync('lib', { recursive: true, force: true })\"",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"typecheck:tests": "tsc --project tsconfig.jest.json --noEmit",
|
|
28
|
+
"test": "jest --config jest.config.js",
|
|
29
|
+
"test:build": "jest --config build.jest.config.js --coverage",
|
|
30
|
+
"test:coverage": "jest --config jest.config.js --coverage",
|
|
31
|
+
"test:watch": "jest --config jest.config.js --watch",
|
|
32
|
+
"lint": "eslint src tests --ext .ts,.js",
|
|
33
|
+
"build": "npm run clean && npm run lint && npm run typecheck && tsc && npm run typecheck:tests && npm run test && npm run test:build",
|
|
34
|
+
"prepublishOnly": "npm run build"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"deep-equal": "^2.2.3",
|
|
@@ -39,20 +40,16 @@
|
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@types/jest": "^30.0.0",
|
|
42
|
-
"@types/node": "^
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
+
"@types/node": "^26.6.6",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
45
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
45
46
|
"eslint": "^8.57.1",
|
|
46
|
-
"eslint-config-airbnb": "^
|
|
47
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
48
|
"eslint-plugin-import": "^2.32.0",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"jest": "^30.2.0",
|
|
52
|
-
"ts-jest": "^29.4.5",
|
|
53
|
-
"typescript": "^5.9.3"
|
|
49
|
+
"jest": "^30.5.2",
|
|
50
|
+
"ts-jest": "^29.4.15",
|
|
51
|
+
"typescript": "^6.0.3"
|
|
54
52
|
},
|
|
55
|
-
"eslintConfig": {},
|
|
56
53
|
"repository": {
|
|
57
54
|
"type": "git",
|
|
58
55
|
"url": "git+https://github.com/apigames-core/json.git"
|
package/tsconfig.editor.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"emitDecoratorMetadata": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"lib": [
|
|
9
|
-
"es2015",
|
|
10
|
-
"es2016",
|
|
11
|
-
"es2017"
|
|
12
|
-
],
|
|
13
|
-
"module": "CommonJS",
|
|
14
|
-
"moduleResolution": "node",
|
|
15
|
-
"noImplicitAny": true,
|
|
16
|
-
"noImplicitThis": true,
|
|
17
|
-
"outDir": "./lib",
|
|
18
|
-
"removeComments": true,
|
|
19
|
-
"strict": true,
|
|
20
|
-
"strictNullChecks": false,
|
|
21
|
-
"target": "ES6",
|
|
22
|
-
"typeRoots": [ "node_modules/@types" ]
|
|
23
|
-
},
|
|
24
|
-
"include": [
|
|
25
|
-
"src",
|
|
26
|
-
"tests"
|
|
27
|
-
]
|
|
28
|
-
}
|