|
11 | 11 | "files": [
|
12 | 12 | "dist/",
|
13 | 13 | "register/",
|
14 |
| - "LICENSE" |
| 14 | + "LICENSE", |
| 15 | + "tsconfig.schema.json", |
| 16 | + "tsconfig.schemastore-schema.json" |
15 | 17 | ],
|
16 | 18 | "scripts": {
|
17 | 19 | "lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
|
18 |
| - "build": "rimraf dist && tsc", |
| 20 | + "lint-fix": "tslint \"src/**/*.ts\" --project tsconfig.json --fix", |
| 21 | + "clean": "rimraf dist && rimraf tsconfig.schema.json && rimraf tsconfig.schemastore-schema.json", |
| 22 | + "build": "npm run clean && npm run build-tsc && npm run build-configSchema", |
| 23 | + "build-tsc": "tsc", |
| 24 | + "build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema", |
19 | 25 | "test-spec": "mocha dist/**/*.spec.js -R spec --bail",
|
20 | 26 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- \"dist/**/*.spec.js\" -R spec --bail",
|
21 | 27 | "test": "npm run build && npm run lint && npm run test-cov",
|
|
55 | 61 | "@types/react": "^16.0.2",
|
56 | 62 | "@types/semver": "^6.0.0",
|
57 | 63 | "@types/source-map-support": "^0.5.0",
|
| 64 | + "axios": "^0.19.0", |
58 | 65 | "chai": "^4.0.1",
|
59 | 66 | "istanbul": "^0.4.0",
|
60 | 67 | "mocha": "^6.1.4",
|
|
65 | 72 | "semver": "^6.1.0",
|
66 | 73 | "tslint": "^5.11.0",
|
67 | 74 | "tslint-config-standard": "^9.0.0",
|
68 |
| - "typescript": "^3.7.2" |
| 75 | + "typescript": "^3.7.2", |
| 76 | + "typescript-json-schema": "0.40.0" |
69 | 77 | },
|
70 | 78 | "peerDependencies": {
|
71 | 79 | "typescript": ">=2.7"
|
|
75 | 83 | "diff": "^4.0.1",
|
76 | 84 | "make-error": "^1.1.1",
|
77 | 85 | "source-map-support": "^0.5.6",
|
78 |
| - "yn": "^3.0.0" |
| 86 | + "yn": "^4.0.0" |
79 | 87 | }
|
80 | 88 | }
|
0 commit comments