|
1 | 1 | { |
2 | | - "name": "json-schema-library", |
3 | | - "version": "10.3.0", |
4 | | - "description": "Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation", |
5 | | - "main": "./dist/index.js", |
6 | | - "module": "./dist/index.mjs", |
7 | | - "types": "./dist/index.d.ts", |
8 | | - "exports": { |
9 | | - ".": { |
10 | | - "import": "./dist/index.mjs", |
11 | | - "require": "./dist/index.js" |
12 | | - }, |
13 | | - "./package.json": "./package.json" |
| 2 | + "name": "json-schema-library", |
| 3 | + "version": "10.3.0", |
| 4 | + "description": "Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation", |
| 5 | + "main": "./dist/index.cjs", |
| 6 | + "module": "./dist/index.js", |
| 7 | + "types": "./dist/index.d.cts", |
| 8 | + "type": "module", |
| 9 | + "exports": { |
| 10 | + ".": { |
| 11 | + "import": "./dist/index.js", |
| 12 | + "require": "./dist/index.cjs" |
14 | 13 | }, |
15 | | - "scripts": { |
16 | | - "coverage": "nyc npm run test --reporter=lcov", |
17 | | - "dist": "rm -rf dist; tsdown -f esm -f cjs -f iife --minify; mv dist/index.iife.js dist/jlib.js", |
18 | | - "lint": "eslint src", |
19 | | - "prepublishOnly": "yarn dist", |
20 | | - "tdd": "watch \"npm run test:unit\" src/ tests/", |
21 | | - "test": "mocha 'src/**/*.{test,spec}.ts'", |
22 | | - "test:2019": "mocha 'src/tests/spec/draft2019-09.spec.ts'", |
23 | | - "test:2019:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft2019-09.spec.ts' > test-result-spec2019-09.json; exit 0", |
24 | | - "test:2020": "mocha 'src/tests/spec/draft2020-12.spec.ts'", |
25 | | - "test:2020:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft2020-12.spec.ts' > test-result-spec2020-12.json; exit 0", |
26 | | - "test:4": "mocha 'src/tests/spec/draft04.spec.ts'", |
27 | | - "test:4:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft04.spec.ts' > test-result-spec4.json; exit 0", |
28 | | - "test:6": "mocha 'src/tests/spec/draft06.spec.ts'", |
29 | | - "test:6:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft06.spec.ts' > test-result-spec6.json; exit 0", |
30 | | - "test:7": "mocha 'src/tests/spec/draft07.spec.ts'", |
31 | | - "test:7:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft07.spec.ts' > test-result-spec7.json; exit 0", |
32 | | - "test:inspect": "yarn test:2019 --inspect-brk", |
33 | | - "test:spec": "mocha 'src/tests/spec/*.spec.ts'", |
34 | | - "test:unit": "mocha 'src/**/*.test.ts'", |
35 | | - "test:unit:ci": "DISABLE_LOG=true mocha -R json 'src/**/*.test.ts' -R json > test-result-unit.json; exit 0" |
36 | | - }, |
37 | | - "repository": { |
38 | | - "type": "git", |
39 | | - "url": "git+https://github.com/sagold/json-schema-library.git" |
40 | | - }, |
41 | | - "keywords": [ |
42 | | - "JSON", |
43 | | - "schema", |
44 | | - "customize", |
45 | | - "library", |
46 | | - "tools", |
47 | | - "utilities", |
48 | | - "validator", |
49 | | - "validation", |
50 | | - "jsonschema", |
51 | | - "json-schema", |
52 | | - "json-schema-validator", |
53 | | - "json-schema-validation", |
54 | | - "make my day" |
55 | | - ], |
56 | | - "author": "Sascha Goldhofer <github@saschagoldhofer.de> (https://github.com/sagold/)", |
57 | | - "license": "MIT", |
58 | | - "bugs": { |
59 | | - "url": "https://github.com/sagold/json-schema-library/issues" |
60 | | - }, |
61 | | - "homepage": "https://github.com/sagold/json-schema-library", |
62 | | - "dependencies": { |
63 | | - "@types/glob": "^8.1.0", |
64 | | - "@types/mocha": "^10.0.6", |
65 | | - "@types/node": "^22.13.1", |
66 | | - "@types/valid-url": "^1.0.7", |
67 | | - "@typescript-eslint/eslint-plugin": "^7.18.0", |
68 | | - "@typescript-eslint/parser": "^7.18.0", |
69 | | - "eslint": "^8.57.1", |
70 | | - "eslint-plugin-array-func": "^4.0.0", |
71 | | - "eslint-plugin-node": "^11.1.0", |
72 | | - "eslint-plugin-optimize-regex": "^1.2.0", |
73 | | - "eslint-plugin-promise": "^6.6.0", |
74 | | - "glob": "^10.4.5", |
75 | | - "json-schema-test-suite": "https://github.com/json-schema-org/JSON-Schema-Test-Suite#83e866b46c9f9e7082fd51e83a61c5f2145a1ab7", |
76 | | - "mocha": "^10.4.0", |
77 | | - "nyc": "^15.1.0", |
78 | | - "ts-loader": "^9.5.2", |
79 | | - "ts-node": "^10.9.2", |
80 | | - "tsdown": "^0.15.10", |
81 | | - "typescript": "^5.7.3", |
82 | | - "watch": "^1.0.1" |
83 | | - }, |
84 | | - "devDependencies": { |
85 | | - "@sagold/json-pointer": "^7.0.0", |
86 | | - "@sagold/json-query": "^6.2.0", |
87 | | - "deepmerge": "^4.3.1", |
88 | | - "fast-copy": "^3.0.2", |
89 | | - "fast-deep-equal": "^3.1.3", |
90 | | - "smtp-address-parser": "1.0.10", |
91 | | - "valid-url": "^1.0.9" |
92 | | - }, |
93 | | - "resolutions": { |
94 | | - "braces": ">=3.0.3", |
95 | | - "cross-spawn": ">=7.0.6", |
96 | | - "json5": ">=2.2.3", |
97 | | - "lodash": ">=4", |
98 | | - "merge": ">=2", |
99 | | - "micromatch": ">=4.0.8", |
100 | | - "string-width": "4.2.3" |
101 | | - }, |
102 | | - "publishConfig": { |
103 | | - "registry": "https://registry.npmjs.org" |
104 | | - } |
| 14 | + "./package.json": "./package.json" |
| 15 | + }, |
| 16 | + "scripts": { |
| 17 | + "coverage": "nyc npm run test --reporter=lcov", |
| 18 | + "dist": "rm -rf dist; tsdown -f esm -f cjs -f iife --minify; mv dist/index.iife.js dist/jlib.js", |
| 19 | + "lint": "eslint src", |
| 20 | + "prepublishOnly": "yarn dist", |
| 21 | + "tdd": "watch \"npm run test:unit\" src/ tests/", |
| 22 | + "test": "mocha 'src/**/*.{test,spec}.ts'", |
| 23 | + "test:2019": "mocha 'src/tests/spec/draft2019-09.spec.ts'", |
| 24 | + "test:2019:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft2019-09.spec.ts' > test-result-spec2019-09.json; exit 0", |
| 25 | + "test:2020": "mocha 'src/tests/spec/draft2020-12.spec.ts'", |
| 26 | + "test:2020:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft2020-12.spec.ts' > test-result-spec2020-12.json; exit 0", |
| 27 | + "test:4": "mocha 'src/tests/spec/draft04.spec.ts'", |
| 28 | + "test:4:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft04.spec.ts' > test-result-spec4.json; exit 0", |
| 29 | + "test:6": "mocha 'src/tests/spec/draft06.spec.ts'", |
| 30 | + "test:6:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft06.spec.ts' > test-result-spec6.json; exit 0", |
| 31 | + "test:7": "mocha 'src/tests/spec/draft07.spec.ts'", |
| 32 | + "test:7:ci": "DISABLE_LOG=true mocha -R json 'src/tests/spec/draft07.spec.ts' > test-result-spec7.json; exit 0", |
| 33 | + "test:inspect": "yarn test:2019 --inspect-brk", |
| 34 | + "test:spec": "mocha 'src/tests/spec/*.spec.ts'", |
| 35 | + "test:unit": "mocha 'src/**/*.test.ts'", |
| 36 | + "test:unit:ci": "DISABLE_LOG=true mocha -R json 'src/**/*.test.ts' -R json > test-result-unit.json; exit 0" |
| 37 | + }, |
| 38 | + "repository": { |
| 39 | + "type": "git", |
| 40 | + "url": "git+https://github.com/sagold/json-schema-library.git" |
| 41 | + }, |
| 42 | + "keywords": [ |
| 43 | + "JSON", |
| 44 | + "schema", |
| 45 | + "customize", |
| 46 | + "library", |
| 47 | + "tools", |
| 48 | + "utilities", |
| 49 | + "validator", |
| 50 | + "validation", |
| 51 | + "jsonschema", |
| 52 | + "json-schema", |
| 53 | + "json-schema-validator", |
| 54 | + "json-schema-validation", |
| 55 | + "make my day" |
| 56 | + ], |
| 57 | + "author": "Sascha Goldhofer <github@saschagoldhofer.de> (https://github.com/sagold/)", |
| 58 | + "license": "MIT", |
| 59 | + "bugs": { |
| 60 | + "url": "https://github.com/sagold/json-schema-library/issues" |
| 61 | + }, |
| 62 | + "homepage": "https://github.com/sagold/json-schema-library", |
| 63 | + "dependencies": { |
| 64 | + "@types/glob": "^8.1.0", |
| 65 | + "@types/mocha": "^10.0.6", |
| 66 | + "@types/node": "^22.13.1", |
| 67 | + "@types/valid-url": "^1.0.7", |
| 68 | + "@typescript-eslint/eslint-plugin": "^7.18.0", |
| 69 | + "@typescript-eslint/parser": "^7.18.0", |
| 70 | + "eslint": "^8.57.1", |
| 71 | + "eslint-plugin-array-func": "^4.0.0", |
| 72 | + "eslint-plugin-node": "^11.1.0", |
| 73 | + "eslint-plugin-optimize-regex": "^1.2.0", |
| 74 | + "eslint-plugin-promise": "^6.6.0", |
| 75 | + "glob": "^10.4.5", |
| 76 | + "json-schema-test-suite": "https://github.com/json-schema-org/JSON-Schema-Test-Suite#83e866b46c9f9e7082fd51e83a61c5f2145a1ab7", |
| 77 | + "mocha": "^10.4.0", |
| 78 | + "nyc": "^15.1.0", |
| 79 | + "ts-loader": "^9.5.2", |
| 80 | + "ts-node": "^10.9.2", |
| 81 | + "tsdown": "^0.15.10", |
| 82 | + "typescript": "^5.7.3", |
| 83 | + "watch": "^1.0.1" |
| 84 | + }, |
| 85 | + "devDependencies": { |
| 86 | + "@sagold/json-pointer": "^7.0.0", |
| 87 | + "@sagold/json-query": "^6.2.0", |
| 88 | + "deepmerge": "^4.3.1", |
| 89 | + "fast-copy": "^3.0.2", |
| 90 | + "fast-deep-equal": "^3.1.3", |
| 91 | + "smtp-address-parser": "1.0.10", |
| 92 | + "valid-url": "^1.0.9" |
| 93 | + }, |
| 94 | + "resolutions": { |
| 95 | + "braces": ">=3.0.3", |
| 96 | + "cross-spawn": ">=7.0.6", |
| 97 | + "json5": ">=2.2.3", |
| 98 | + "lodash": ">=4", |
| 99 | + "merge": ">=2", |
| 100 | + "micromatch": ">=4.0.8", |
| 101 | + "string-width": "4.2.3" |
| 102 | + }, |
| 103 | + "publishConfig": { |
| 104 | + "registry": "https://registry.npmjs.org" |
| 105 | + } |
105 | 106 | } |
0 commit comments