warpgate/warpgate-web/package.json

68 lines
3.1 KiB
JSON
Raw Normal View History

2022-04-11 04:58:58 +08:00
{
"name": "warpgate-admin",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
2022-04-18 21:51:10 +08:00
"watch": "vite build -w --mode development --minify false",
2022-04-11 04:58:58 +08:00
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
2022-05-18 23:48:33 +08:00
"lint": "eslint src && svelte-check",
2022-06-27 02:50:04 +08:00
"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",
2022-08-14 18:36:49 +08:00
"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",
2022-06-27 02:50:04 +08:00
"openapi": "yarn run openapi:schema:admin && yarn run openapi:schema:gateway && yarn run openapi:client:admin && yarn run openapi:client:gateway"
2022-04-11 04:58:58 +08:00
},
"devDependencies": {
"@fontsource/work-sans": "^4.5.12",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@openapitools/openapi-generator-cli": "^2.5.1",
2022-09-02 20:00:08 +08:00
"@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.2.0",
2022-04-11 04:58:58 +08:00
"@tsconfig/svelte": "^3.0.0",
2022-09-02 20:00:08 +08:00
"@types/qrcode": "^1.5.0",
"@types/shell-escape": "^0.2.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
2022-07-01 23:53:16 +08:00
"bootstrap": "^5.2.0-beta1",
"copy-text-to-clipboard": "^3.0.1",
"eslint": "^8.28.0",
2022-04-11 04:58:58 +08:00
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
2022-04-11 04:58:58 +08:00
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-svelte3": "^4.0.0",
2022-04-18 21:51:10 +08:00
"format-duration": "^2.0.0",
"moment": "^2.29.4",
2022-09-02 20:00:08 +08:00
"otplib": "^12.0.1",
"qrcode": "^1.5.1",
"sass": "^1.54.9",
"shell-escape": "^0.2.0",
"svelte": "^3.50.1",
"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",
2022-04-11 04:58:58 +08:00
"thenby": "^1.3.4",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"vite": "^3.2.4",
2022-11-12 03:31:08 +08:00
"vite-plugin-checker": "^0.5.1",
"vite-tsconfig-paths": "^3.5.2",
2022-04-18 21:51:10 +08:00
"xterm": "^4.18.0",
"xterm-addon-serialize": "^0.7.0"
2022-04-11 04:58:58 +08:00
}
}