-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
100 lines (100 loc) · 2.56 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
{
"name": "sjtv",
"version": "0.0.0",
"description": "Create a request validator from an Open API 3 schema (formerly Swagger)",
"author": "@hyperjumptech",
"bin": {
"stjv": "./bin/run"
},
"homepage": "https://github.com/hyperjumptech/swagger-to-js-validator",
"license": "MIT",
"main": "dist/index.js",
"repository": "hyperjumptech/swagger-to-js-validator",
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/templates"
],
"dependencies": {
"@oclif/core": "^1",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.0.1",
"@octokit/core": "^4.0.4",
"handlebars": "^4.7.7",
"js-yaml": "^4.1.0",
"yaml-js": "^0.3.1",
"prettier": "2.7.1"
},
"devDependencies": {
"@oclif/test": "^2",
"@types/chai": "^4",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.4",
"@types/prettier": "^2.6.3",
"chai": "^4",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.2",
"eslint-config-prettier": "^8.5.0",
"globby": "^11",
"mocha": "^9",
"nodemon": "^2.0.19",
"oclif": "^3",
"shx": "^0.3.3",
"ts-node": "^10.2.1",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"oclif": {
"bin": "stjv",
"dirname": "swagger-to-js-validator",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins"
]
},
"scripts": {
"watch": "nodemon",
"start": "rm -f tsconfig.tsbuildinfo && npm run build && ./bin/run generate",
"build": "shx rm -rf dist && tsc -b",
"check:lint": "eslint . --ext .ts --config .eslintrc",
"check:format": "prettier --check 'src/*.{ts,js}'",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "npm run check:lint",
"prepack": "npm run build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
"engines": {
"node": ">=12.0.0"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"bugs": "https://github.com/hyperjumptech/swagger-to-js-validator/issues",
"keywords": [
"oclif"
],
"lint-staged": {
"*.{ts,js}": [
"eslint --cache"
],
"*.{ts,js,css,md}": "prettier --write"
},
"types": "dist/index.d.ts",
"nodemonConfig": {
"exec": "npm run start -- ./examples/swagger/pet-store.yaml ./tmp/swagger.ts",
"watch": [
"src/*",
"examples/*",
"templates/*"
],
"ext": "*",
"delay": 2500
}
}