-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
89 lines (89 loc) 路 3.09 KB
/
package.json
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
{
"name": "json-schema-to-ts",
"version": "3.1.0",
"description": "Infer typescript types from your JSON schemas!",
"files": [
"lib"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"scripts": {
"test": "yarn test-type && yarn test-format && yarn test-unit && yarn test-unused-exports && yarn test-lint",
"test-type": "tsc --noEmit",
"test-format": "yarn prettier . --check",
"test-unit": "jest --verbose --runInBand --collectCoverage --logHeapUsage --passWithNoTests",
"test-unused-exports": "yarn ts-unused-exports ./tsconfig.json --excludePathsFromReport='src/index.ts;'",
"test-lint": "yarn eslint --ext=js,ts .",
"format": "yarn prettier . --write",
"test-circular": "yarn depcruise --validate .dependency-cruiser.js ./src",
"transpile": "babel src --extensions .ts --quiet",
"build": "rm -rf lib && yarn build-cjs && yarn build-esm && yarn build-types",
"build-cjs": "NODE_ENV=cjs yarn transpile --out-dir lib/cjs --source-maps",
"build-esm": "NODE_ENV=esm yarn transpile --out-dir lib/esm --source-maps",
"build-types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"set-package-version": "ts-node scripts/setPackageVersion"
},
"dependencies": {
"@babel/runtime": "^7.18.3",
"ts-algebra": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-typescript": "^8.3.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^27.4.0",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@zerollup/ts-transform-paths": "^1.7.18",
"ajv": "^8.13.0",
"babel-plugin-module-resolver": "^4.1.0",
"dependency-cruiser": "^11.18.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.4",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^27.5.1",
"prettier": "^3.1.0",
"rollup": "^2.67.3",
"rollup-plugin-dts": "4.1.0",
"rollup-plugin-import-map": "^2.2.2",
"rollup-plugin-typescript-paths": "^1.4.0",
"ts-jest": "^28.0.2",
"ts-node": "^10.9.1",
"ts-toolbelt": "^9.6.0",
"ts-unused-exports": "^8.0.0",
"tsc-alias": "^1.8.8",
"typescript": "^4.5.5"
},
"engines": {
"node": ">=16"
},
"author": "Thomas Aribart",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ThomasAribart/json-schema-to-ts.git"
},
"keywords": [
"json",
"schema",
"typescript",
"type",
"ts"
],
"bugs": {
"url": "https://github.com/ThomasAribart/json-schema-to-ts/issues"
},
"homepage": "https://github.com/ThomasAribart/json-schema-to-ts#readme"
}