-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.69 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
{
"name": "gentrace-openapi",
"version": "0.27.0",
"description": "OpenAPI specification for Gentrace",
"main": "index.js",
"repository": "https://github.com/gentrace/gentrace-openapi",
"author": "Gentrace",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@openapitools/openapi-generator-cli": "^2.5.2",
"@types/fs-extra": "^11.0.1",
"@types/js-yaml": "^4.0.5",
"fs-extra": "^11.1.1",
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1"
},
"husky": {
"hooks": {
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"scripts": {
"build": "run-s sconfig generate",
"build-py": "run-s sconfig generate:python",
"build-node": "run-s sconfig generate:node-ts",
"build-browser": "run-s sconfig generate:browser-ts",
"clean": "rimraf dist",
"bump-patch": "./scripts/bump-patch",
"sconfig": "run-s sconfig:spec-version sconfig:create-custom-specs",
"sconfig:spec-version": "mkdir -p dist && envsubst '${npm_package_version}' < spec.yaml > dist/spec-resolved.yaml",
"sconfig:create-custom-specs": "ts-node ./scripts/create-custom-specs.ts",
"generate": "npx @openapitools/openapi-generator-cli generate",
"generate:node-ts": "npx @openapitools/openapi-generator-cli generate --generator-key node",
"generate:python": "npx @openapitools/openapi-generator-cli generate --generator-key python",
"generate:browser-ts": "npx @openapitools/openapi-generator-cli generate --generator-key browser"
}
}