|
2 | 2 | "name": "ts-json-schema-generator", |
3 | 3 | "version": "2.0.0", |
4 | 4 | "description": "Generate JSON schema from your Typescript sources", |
5 | | - "module": "dist/index.js", |
6 | | - "types": "dist/index.d.ts", |
7 | | - "type": "module", |
8 | | - "bin": { |
9 | | - "ts-json-schema-generator": "./bin/ts-json-schema-generator.js" |
10 | | - }, |
11 | | - "files": [ |
12 | | - "dist", |
13 | | - "cjs", |
14 | | - "src", |
15 | | - "factory", |
16 | | - "index.*", |
17 | | - "ts-json-schema-generator.*" |
| 5 | + "keywords": [ |
| 6 | + "ts", |
| 7 | + "typescript", |
| 8 | + "json", |
| 9 | + "schema", |
| 10 | + "jsonschema" |
18 | 11 | ], |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "git+https://github.com/vega/ts-json-schema-generator.git" |
| 15 | + }, |
| 16 | + "license": "MIT", |
19 | 17 | "author": { |
20 | 18 | "name": "Alexander Evtushenko", |
21 | 19 | "email": "aevtushenko@xiag.ch" |
|
30 | 28 | "email": "mooyoul@gmail.com" |
31 | 29 | } |
32 | 30 | ], |
33 | | - "repository": { |
34 | | - "type": "git", |
35 | | - "url": "https://github.com/vega/ts-json-schema-generator.git" |
| 31 | + "type": "commonjs", |
| 32 | + "main": "dist/index.js", |
| 33 | + "types": "dist/index.d.ts", |
| 34 | + "bin": { |
| 35 | + "ts-json-schema-generator": "bin/ts-json-schema-generator.js" |
36 | 36 | }, |
37 | | - "license": "MIT", |
38 | | - "keywords": [ |
39 | | - "ts", |
40 | | - "typescript", |
41 | | - "json", |
42 | | - "schema", |
43 | | - "jsonschema" |
| 37 | + "files": [ |
| 38 | + "dist", |
| 39 | + "src", |
| 40 | + "factory", |
| 41 | + "index.*", |
| 42 | + "ts-json-schema-generator.*" |
44 | 43 | ], |
45 | | - "engines": { |
46 | | - "node": ">=18.0.0" |
47 | | - }, |
48 | | - "exports": { |
49 | | - "import": "./dist/index.js", |
50 | | - "require": "./cjs/index.js" |
| 44 | + "scripts": { |
| 45 | + "build": "tsc", |
| 46 | + "debug": "tsx --inspect-brk ts-json-schema-generator.ts", |
| 47 | + "format": "eslint --fix", |
| 48 | + "lint": "eslint", |
| 49 | + "prepublishOnly": "yarn build", |
| 50 | + "release": "yarn build && auto shipit", |
| 51 | + "run": "tsx ts-json-schema-generator.ts", |
| 52 | + "test": "jest test/ --verbose", |
| 53 | + "test:coverage": "yarn jest test/ --collectCoverage=true", |
| 54 | + "test:fast": "cross-env FAST_TEST=1 jest test/ --verbose", |
| 55 | + "test:update": "cross-env UPDATE_SCHEMA=true yarn test:fast", |
| 56 | + "watch": "tsc -w" |
51 | 57 | }, |
52 | 58 | "dependencies": { |
53 | 59 | "@types/json-schema": "^7.0.15", |
|
87 | 93 | "vega": "^5.28.0", |
88 | 94 | "vega-lite": "^5.18.0" |
89 | 95 | }, |
90 | | - "scripts": { |
91 | | - "prepublishOnly": "yarn build", |
92 | | - "build": "npm run build:cjs && npm run build:esm", |
93 | | - "build:cjs": "tsc -p tsconfig.cjs.json", |
94 | | - "build:esm": "tsc -p tsconfig.json", |
95 | | - "watch": "tsc -w", |
96 | | - "lint": "eslint", |
97 | | - "format": "eslint --fix", |
98 | | - "test": "jest test/ --verbose", |
99 | | - "test:fast": "cross-env FAST_TEST=1 jest test/ --verbose", |
100 | | - "test:coverage": "yarn jest test/ --collectCoverage=true", |
101 | | - "test:update": "cross-env UPDATE_SCHEMA=true yarn test:fast", |
102 | | - "debug": "tsx --inspect-brk ts-json-schema-generator.ts", |
103 | | - "run": "tsx ts-json-schema-generator.ts", |
104 | | - "release": "yarn build && auto shipit" |
| 96 | + "engines": { |
| 97 | + "node": ">=18.0.0" |
105 | 98 | } |
106 | 99 | } |
0 commit comments