forked from bcherny/json-schema-to-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.42 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
{
"name": "json-schema-to-typescript",
"version": "7.1.0",
"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": ">=4.5.0"
},
"scripts": {
"build": "npm run clean && mkdir dist && 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",
"lint": "tslint -c tslint.json src/*.ts",
"tdd": "concurrently -r -p '' -k 'npm run watch' 'npm run watch:test'",
"test": "ava --verbose",
"prepublishOnly": "npm test",
"pretest": "npm run build",
"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 <boris@performancejs.com> (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": {
"@types/json-schema": "^7.0.3",
"@types/node": ">=4.5.0",
"@types/prettier": "^1.16.1",
"cli-color": "^1.4.0",
"json-schema-ref-parser": "^6.1.0",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.11",
"minimist": "^1.2.0",
"mz": "^2.7.0",
"prettier": "^1.18.2",
"stdin": "0.0.1"
},
"devDependencies": {
"@types/cli-color": "^0.3.29",
"@types/lodash": "^4.14.121",
"@types/minimist": "^1.2.0",
"@types/mz": "0.0.32",
"ava": "^1.2.1",
"browserify": "^16.2.3",
"browserify-shim": "^3.8.14",
"concurrently": "^4.1.0",
"shx": "^0.3.2",
"tsify": "^4.0.1",
"tslint": "^5.13.1",
"typescript": "^3.3.3333"
},
"ava": {
"files": [
"./dist/test/test.js"
],
"snapshotDir": "./test/__snapshots__",
"sources": [
"./dist/test/e2e/*.js",
"./dist/test/normalizer/*.json",
"./dist/src/*.js",
"./test/resources/*.json"
],
"vebose": true
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"prettier": "global:prettier"
}
}