mirror of
https://github.com/warp-tech/warpgate.git
synced 2025-02-23 23:16:27 +08:00
53 lines
1.9 KiB
JSON
53 lines
1.9 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",
|
|
"openapi-schema": "curl http://localhost:8888/api/openapi.json > openapi-schema.json",
|
|
"openapi-client": "openapi-generator-cli generate -g typescript-fetch -i openapi-schema.json -o api-client -p npmName=warpgate-api-client -p useSingleRequestParameter=true && cd api-client && npm i && npm run build",
|
|
"openapi": "yarn run openapi-schema && yarn run openapi-client"
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/work-sans": "^4.5.7",
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.44",
|
|
"@tsconfig/svelte": "^3.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
"@typescript-eslint/parser": "^5.26.0",
|
|
"bootstrap": "^5.1.3",
|
|
"eslint": "^8.16.0",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
"format-duration": "^2.0.0",
|
|
"moment": "^2.29.3",
|
|
"sass": "^1.52.1",
|
|
"svelte": "^3.48.0",
|
|
"svelte-check": "^2.7.1",
|
|
"svelte-fa": "^2.4.0",
|
|
"svelte-preprocess": "^4.10.6",
|
|
"svelte-spa-router": "^3.2.0",
|
|
"sveltestrap": "^5.9.0",
|
|
"thenby": "^1.3.4",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.6.4",
|
|
"vite": "^2.9.9",
|
|
"vite-plugin-checker": "^0.4.6",
|
|
"vite-tsconfig-paths": "^3.4.0",
|
|
"xterm": "^4.18.0",
|
|
"xterm-addon-serialize": "^0.6.2"
|
|
}
|
|
}
|