mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-11-10 09:12:56 +08:00
67 lines
3.1 KiB
JSON
67 lines
3.1 KiB
JSON
{
|
|
"name": "warpgate-admin",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"watch": "vite build -w --mode development --minify false",
|
|
"preview": "vite preview",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"lint": "eslint src && svelte-check",
|
|
"postinstall": "yarn run openapi:client:gateway && yarn run openapi:client:admin",
|
|
"openapi:schema:gateway": "cargo run -p warpgate-protocol-http > src/gateway/lib/openapi-schema.json",
|
|
"openapi:schema:admin": "cargo run -p warpgate-admin > src/admin/lib/openapi-schema.json",
|
|
"openapi:client:gateway": "openapi-generator-cli generate -g typescript-fetch -i src/gateway/lib/openapi-schema.json -o src/gateway/lib/api-client -p npmName=warpgate-gateway-api-client -p useSingleRequestParameter=true && cd src/gateway/lib/api-client && npm i typescript@3.5 && npm i && yarn tsc --target esnext --module esnext && rm -rf src tsconfig.json",
|
|
"openapi:client:admin": "openapi-generator-cli generate -g typescript-fetch -i src/admin/lib/openapi-schema.json -o src/admin/lib/api-client -p npmName=warpgate-admin-api-client -p useSingleRequestParameter=true && cd src/admin/lib/api-client && npm i typescript@3.5 && npm i && yarn tsc --target esnext --module esnext && rm -rf src tsconfig.json",
|
|
"openapi": "yarn run openapi:schema:admin && yarn run openapi:schema:gateway && yarn run openapi:client:admin && yarn run openapi:client:gateway"
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/work-sans": "^4.5.12",
|
|
"@fortawesome/free-brands-svg-icons": "^6.4.0",
|
|
"@fortawesome/free-regular-svg-icons": "^6.4.0",
|
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
"@otplib/plugin-base32-enc-dec": "^12.0.1",
|
|
"@otplib/plugin-crypto-js": "^12.0.1",
|
|
"@otplib/preset-browser": "^12.0.1",
|
|
"@sveltejs/vite-plugin-svelte": "^1.4.0",
|
|
"@tsconfig/svelte": "^3.0.0",
|
|
"@types/qrcode": "^1.5.0",
|
|
"@types/ua-parser-js": "^0.7.36",
|
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
"@typescript-eslint/parser": "^5.58.0",
|
|
"bootstrap": "^5.2.0-beta1",
|
|
"copy-text-to-clipboard": "^3.0.1",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
"format-duration": "^3.0.2",
|
|
"moment": "^2.29.4",
|
|
"otplib": "^12.0.1",
|
|
"qrcode": "^1.5.1",
|
|
"sass": "^1.61.0",
|
|
"svelte": "^3.58.0",
|
|
"svelte-check": "^2.9.2",
|
|
"svelte-fa": "^3.0.1",
|
|
"svelte-intersection-observer": "^0.10.0",
|
|
"svelte-observable": "^0.4.0",
|
|
"svelte-preprocess": "^4.10.7",
|
|
"svelte-spa-router": "^3.3.0",
|
|
"sveltestrap": "^5.9.0",
|
|
"thenby": "^1.3.4",
|
|
"tslib": "^2.5.0",
|
|
"typescript": "^4.9.4",
|
|
"ua-parser-js": "^1.0.35",
|
|
"vite": "^3.2.4",
|
|
"vite-plugin-checker": "^0.5.3",
|
|
"vite-tsconfig-paths": "^4.0.9",
|
|
"xterm": "^4.18.0",
|
|
"xterm-addon-serialize": "^0.7.0"
|
|
}
|
|
}
|