59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "@odit/lfk-client-js",
|
|
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.",
|
|
"version": "1.2.7",
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.odit.services/lfk/lfk-client-js"
|
|
},
|
|
"keywords": [
|
|
"odit",
|
|
"odit.services",
|
|
"lfk"
|
|
],
|
|
"author": "ODIT.Services",
|
|
"files": [
|
|
"dist",
|
|
"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 fetch",
|
|
"build:compile": "tsc",
|
|
"build:cleanup": "rimraf ./lib",
|
|
"update:openapi": "rimraf ./openapi.json && node ./scripts/getliveopenapi.js",
|
|
"update:auto": "npm run update:openapi && npm run build && npm run update:commit && npm run release",
|
|
"update:commit": "git add . && git commit -m \"chore: update openapi.json\"",
|
|
"release": "release-it --only-version && npm publish"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.odit.services/lfk/lfk-client-js/issues"
|
|
},
|
|
"homepage": "https://git.odit.services/lfk/lfk-client-js/",
|
|
"devDependencies": {
|
|
"openapi-typescript-codegen": "0.7.0",
|
|
"release-it": "17.10.0",
|
|
"rimraf": "6.0.1",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commit": true,
|
|
"requireCleanWorkingDir": false,
|
|
"commitMessage": "chore(release): ${version}",
|
|
"push": true,
|
|
"tag": true,
|
|
"tagName": "${version}",
|
|
"tagAnnotation": "${version}"
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
}
|
|
}
|
|
}
|