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-11-18 18:33:26 +08:00
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
2022-11-18 15:52:42 +08:00
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
2022-11-16 04:12:29 +08:00
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
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-11-16 04:11:23 +08:00
|
|
|
"@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",
|
2022-11-15 04:18:15 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
2022-12-13 04:20:52 +08:00
|
|
|
"@typescript-eslint/parser": "^5.46.1",
|
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-11-19 07:05:41 +08:00
|
|
|
"eslint": "^8.28.0",
|
2022-04-11 04:58:58 +08:00
|
|
|
"eslint-config-standard": "^16.0.3",
|
2022-11-12 03:47:06 +08:00
|
|
|
"eslint-import-resolver-typescript": "^3.5.2",
|
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-10-21 05:05:49 +08:00
|
|
|
"eslint-plugin-promise": "^6.1.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-12-13 04:18:10 +08:00
|
|
|
"sass": "^1.56.2",
|
2022-08-26 05:47:55 +08:00
|
|
|
"shell-escape": "^0.2.0",
|
2022-12-14 04:10:07 +08:00
|
|
|
"svelte": "^3.55.0",
|
2022-10-18 02:47:16 +08:00
|
|
|
"svelte-check": "^2.9.2",
|
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-11-01 04:55:42 +08:00
|
|
|
"tslib": "^2.4.1",
|
2022-12-09 04:31:27 +08:00
|
|
|
"typescript": "^4.9.4",
|
2022-11-16 04:11:01 +08:00
|
|
|
"vite": "^3.2.4",
|
2022-11-12 03:31:08 +08:00
|
|
|
"vite-plugin-checker": "^0.5.1",
|
2022-12-15 04:13:18 +08:00
|
|
|
"vite-tsconfig-paths": "^4.0.3",
|
2022-04-18 21:51:10 +08:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|