{ "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.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", "@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", "@tsconfig/svelte": "^3.0.0", "@types/qrcode": "^1.5.0", "@types/shell-escape": "^0.2.1", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", "bootstrap": "^5.2.0-beta1", "copy-text-to-clipboard": "^3.0.1", "eslint": "^8.28.0", "eslint-config-standard": "^16.0.3", "eslint-import-resolver-typescript": "^3.5.2", "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": "^2.0.0", "moment": "^2.29.4", "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", "thenby": "^1.3.4", "tslib": "^2.4.1", "typescript": "^4.9.3", "vite": "^3.2.4", "vite-plugin-checker": "^0.5.1", "vite-tsconfig-paths": "^3.5.2", "xterm": "^4.18.0", "xterm-addon-serialize": "^0.7.0" } }