|
|
@ -9,7 +9,6 @@ |
|
|
|
"license": "MIT", |
|
|
|
"license": "MIT", |
|
|
|
"keywords": [], |
|
|
|
"keywords": [], |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions", |
|
|
|
|
|
|
|
"build": "npm run generate:sdk && run-p build:*", |
|
|
|
"build": "npm run generate:sdk && run-p build:*", |
|
|
|
"build:main": "tsc -p tsconfig.json", |
|
|
|
"build:main": "tsc -p tsconfig.json", |
|
|
|
"build:module": "tsc -p tsconfig.module.json", |
|
|
|
"build:module": "tsc -p tsconfig.module.json", |
|
|
@ -38,8 +37,8 @@ |
|
|
|
"version": "standard-version", |
|
|
|
"version": "standard-version", |
|
|
|
"reset-hard": "git clean -dfx && git reset --hard && npm i", |
|
|
|
"reset-hard": "git clean -dfx && git reset --hard && npm i", |
|
|
|
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", |
|
|
|
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", |
|
|
|
"generate:sdk": "swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates", |
|
|
|
"generate:sdk": "npx --yes swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates", |
|
|
|
"generate:sdk:default": "swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --name Api2.ts --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates" |
|
|
|
"generate:sdk:default": "npx --yes swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --name Api2.ts --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"engines": { |
|
|
|
"engines": { |
|
|
|
"node": ">=10" |
|
|
|
"node": ">=10" |
|
|
@ -69,14 +68,10 @@ |
|
|
|
"open-cli": "^6.0.1", |
|
|
|
"open-cli": "^6.0.1", |
|
|
|
"prettier": "^2.1.1", |
|
|
|
"prettier": "^2.1.1", |
|
|
|
"standard-version": "^9.0.0", |
|
|
|
"standard-version": "^9.0.0", |
|
|
|
"swagger-typescript-api": "^10.0.1", |
|
|
|
|
|
|
|
"ts-node": "^9.0.0", |
|
|
|
"ts-node": "^9.0.0", |
|
|
|
"typedoc": "^0.23.16", |
|
|
|
"typedoc": "^0.23.16", |
|
|
|
"typescript": "^4.0.2" |
|
|
|
"typescript": "^4.0.2" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"resolutions": { |
|
|
|
|
|
|
|
"typescript": "4.7.4" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"files": [ |
|
|
|
"files": [ |
|
|
|
"build/main", |
|
|
|
"build/main", |
|
|
|
"build/module", |
|
|
|
"build/module", |
|
|
|