-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (40 loc) · 1.58 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
{
"name": "@sudosos/sudosos-client",
"description": "Frontend client for the SudoSOS barsystem",
"version": "1.1.2",
"private": true,
"main": "dist/index.js",
"license": "AGPL-3.0-or-later",
"scripts": {
"build": "tsc",
"gen": "openapi-generator-cli generate -i swagger.json -g typescript-axios -o ./src --openapi-normalizer REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=true",
"genbuild": "npm run gen && npm run build && (git add ./src && git add ./dist)",
"update-swagger:main": "mv ./node_modules/@sudosos/sudosos-backend-main ./sudosos-backend && npm run run-swagger && cp ./sudosos-backend/out/swagger.json ./swagger-main.json",
"update-swagger:dev": "mv ./node_modules/@sudosos/sudosos-backend-develop ./sudosos-backend && npm run run-swagger && cp ./sudosos-backend/out/swagger.json ./swagger-develop.json",
"run-swagger": "(cd ./sudosos-backend && npx npm install --force && npx npm run swagger )"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.7.0",
"@sudosos/sudosos-backend-main": "github:GEWIS/sudosos-backend#main",
"@sudosos/sudosos-backend-develop": "github:GEWIS/sudosos-backend#develop"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GEWIS/sudosos-client.git"
},
"files": [
"src/",
"dist/",
"index.js",
"swagger.json"
],
"author": "SudoSOS WG",
"bugs": {
"url": "https://github.com/GEWIS/sudosos-client/issues"
},
"homepage": "https://github.com/GEWIS/sudosos-client#readme",
"dependencies": {
"axios": "^1.6.3",
"swagger-axios-codegen": "^0.16.4"
}
}