Added a new build pipeline
This commit is contained in:
parent
251bf1034c
commit
e40f174241
20
package.json
20
package.json
|
@ -3,7 +3,7 @@
|
|||
"description": "A lib to interact with https://git.odit.services/lfk/backend",
|
||||
"version": "0.0.1",
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
"main": "./dist/index.ts",
|
||||
"main": "./dist/index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.odit.services/lfk/lib"
|
||||
|
@ -19,8 +19,22 @@
|
|||
"package.json",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build:prepare && npm run build:lib && npm run build:compile && npm run build:cleanup",
|
||||
"build:prepare": "rimraf ./lib ./dist",
|
||||
"build:lib": "openapi --input ./openapi.json --output ./lib --client node",
|
||||
"build:compile": "tsc",
|
||||
"build:cleanup": "rimraf ./lib"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://git.odit.services/lfk/lib/issues"
|
||||
},
|
||||
"homepage": "https://git.odit.services/lfk/lib/"
|
||||
}
|
||||
"homepage": "https://git.odit.services/lfk/lib/",
|
||||
"devDependencies": {
|
||||
"@types/node": "^14.14.13",
|
||||
"form-data": "^3.0.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"openapi-typescript-codegen": "^0.7.0",
|
||||
"rimraf": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue