forked from bcherny/json-schema-to-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.95 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "json-schema-to-typescript",
"version": "13.1.2",
"description": "compile json schema to typescript typings",
"main": "dist/src/index.js",
"bin": {
"json2ts": "dist/src/cli.js"
},
"typings": "dist/src/index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "npm run lint && npm run clean && npm run build:browser && npm run build:server",
"build:browser": "browserify src/index.ts -s jstt -p tsify > dist/bundle.js",
"build:server": "tsc -d",
"clean": "shx rm -rf dist && mkdir dist",
"format": "prettier \"{src,test}/*.ts\" --write",
"format-check": "prettier \"{src,test}/*.ts\" --check",
"lint": "eslint src/*.ts test/*.ts",
"tdd": "concurrently -r -p '' -k 'npm run watch' 'npm run watch:test'",
"test": "npm run pre-test && ava --timeout=300s --verbose",
"stresstest": "seq 1 10 | xargs -I{} npm test",
"prepublishOnly": "npm test",
"pre-test": "npm run clean && npm run format-check && npm run build:server",
"watch": "tsc -w",
"watch:test": "ava -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bcherny/json-schema-to-typescript.git"
},
"keywords": [
"json",
"schema",
"typescript",
"compile",
"transpile",
"api",
"interface",
"typing",
"share"
],
"author": "Boris Cherny <[email protected]> (http://performancejs.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/bcherny/json-schema-to-typescript/issues"
},
"homepage": "https://github.com/bcherny/json-schema-to-typescript#readme",
"dependencies": {
"@bcherny/json-schema-ref-parser": "10.0.5-fork",
"@types/json-schema": "^7.0.11",
"@types/lodash": "^4.14.182",
"@types/prettier": "^2.6.1",
"cli-color": "^2.0.2",
"get-stdin": "^8.0.0",
"glob": "^7.1.6",
"glob-promise": "^4.2.2",
"is-glob": "^4.0.3",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"mkdirp": "^1.0.4",
"mz": "^2.7.0",
"prettier": "^2.6.2"
},
"devDependencies": {
"@types/cli-color": "^2.0.2",
"@types/glob": "^7.2.0",
"@types/is-glob": "^4.0.2",
"@types/minimist": "^1.2.2",
"@types/mkdirp": "^1.0.2",
"@types/mz": "^2.7.4",
"@types/node": "^17.0.33",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"ava": "^4.2.0",
"browserify": "^17.0.0",
"browserify-shim": "^3.8.14",
"concurrently": "^7.2.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
"tsify": "^5.0.4",
"typescript": "^4.6.4"
},
"ava": {
"files": [
"./dist/test/test.js"
],
"ignoredByWatcher": [
"./src"
],
"snapshotDir": "./test/__snapshots__"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"prettier": "global:prettier"
}
}