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": {
|
2022-09-15 05:04:37 +08:00
|
|
|
"@fontsource/work-sans": "^4.5.12",
|
2022-09-22 02:09:38 +08:00
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.2.0",
|
2022-09-20 14:53:14 +08:00
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.2.0",
|
2022-09-15 17:29:32 +08:00
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
2022-04-29 07:05:51 +08:00
|
|
|
"@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",
|
2022-06-17 16:00:22 +08:00
|
|
|
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.49",
|
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",
|
2022-06-14 04:42:01 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
2022-09-15 17:27:59 +08:00
|
|
|
"@typescript-eslint/parser": "^5.37.0",
|
2022-07-01 23:53:16 +08:00
|
|
|
"bootstrap": "^5.2.0-beta1",
|
2022-07-03 17:56:41 +08:00
|
|
|
"copy-text-to-clipboard": "^3.0.1",
|
2022-09-28 05:28:32 +08:00
|
|
|
"eslint": "^8.24.0",
|
2022-04-11 04:58:58 +08:00
|
|
|
"eslint-config-standard": "^16.0.3",
|
2022-04-29 07:06:40 +08:00
|
|
|
"eslint-import-resolver-typescript": "^2.7.1",
|
2022-04-29 08:04:43 +08:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-04-11 04:58:58 +08:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-09-15 05:04:28 +08:00
|
|
|
"eslint-plugin-promise": "^6.0.1",
|
2022-05-10 11:14:09 +08:00
|
|
|
"eslint-plugin-svelte3": "^4.0.0",
|
2022-04-18 21:51:10 +08:00
|
|
|
"format-duration": "^2.0.0",
|
2022-07-12 15:26:02 +08:00
|
|
|
"moment": "^2.29.4",
|
2022-09-02 20:00:08 +08:00
|
|
|
"otplib": "^12.0.1",
|
|
|
|
"qrcode": "^1.5.1",
|
2022-09-15 17:25:35 +08:00
|
|
|
"sass": "^1.54.9",
|
2022-08-26 05:47:55 +08:00
|
|
|
"shell-escape": "^0.2.0",
|
2022-09-15 20:14:14 +08:00
|
|
|
"svelte": "^3.50.1",
|
2022-09-15 05:05:34 +08:00
|
|
|
"svelte-check": "^2.9.0",
|
2022-06-14 04:42:13 +08:00
|
|
|
"svelte-fa": "^3.0.1",
|
2022-05-30 15:32:45 +08:00
|
|
|
"svelte-intersection-observer": "^0.10.0",
|
2022-07-03 17:56:41 +08:00
|
|
|
"svelte-observable": "^0.4.0",
|
2022-06-07 04:22:23 +08:00
|
|
|
"svelte-preprocess": "^4.10.7",
|
2022-09-15 05:05:04 +08:00
|
|
|
"svelte-spa-router": "^3.3.0",
|
2022-04-29 07:06:22 +08:00
|
|
|
"sveltestrap": "^5.9.0",
|
2022-04-11 04:58:58 +08:00
|
|
|
"thenby": "^1.3.4",
|
2022-09-15 17:28:08 +08:00
|
|
|
"tslib": "^2.4.0",
|
2022-06-21 04:34:20 +08:00
|
|
|
"typescript": "^4.7.4",
|
2022-08-31 06:36:13 +08:00
|
|
|
"vite": "^2.9.13",
|
2022-04-29 07:06:55 +08:00
|
|
|
"vite-plugin-checker": "^0.4.6",
|
2022-04-18 21:51:10 +08:00
|
|
|
"vite-tsconfig-paths": "^3.4.0",
|
|
|
|
"xterm": "^4.18.0",
|
2022-09-15 05:04:51 +08:00
|
|
|
"xterm-addon-serialize": "^0.7.0"
|
2022-04-11 04:58:58 +08:00
|
|
|
}
|
|
|
|
}
|