583cdc6e0e
This commit crate the Satellite Admin Web UI v1 * Bootstrap the files installing the project template: https://github.com/sveltejs/template * Add the prettier prettier-plugin-svelte NPM packages as dev dependencies. * Add an empty prettierrc.toml. * Transform the project template to use Typescript rather than Javasript. See: https://github.com/sveltejs/template#using-typescript * Replace the default favicon by the Storj logo. * Create components in companion of some Typescript code which allows to generate a simple HTML page based on an opinionated definition of API. * Implement all the Admin API client calls in the format that the UI generator components requires for rendering the UI from them. Change-Id: I58fa586d68dc8998e5d89db169b8e90204f0a96d
34 lines
865 B
JSON
34 lines
865 B
JSON
{
|
|
"name": "svelte-app",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"start": "sirv public",
|
|
"validate": "svelte-check"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
"@rollup/plugin-typescript": "^8.0.0",
|
|
"@tsconfig/svelte": "^1.0.0",
|
|
"prettier": "^2.2.1",
|
|
"prettier-plugin-svelte": "^2.2.0",
|
|
"rollup": "^2.3.4",
|
|
"rollup-plugin-css-only": "^3.1.0",
|
|
"rollup-plugin-livereload": "^2.0.0",
|
|
"rollup-plugin-svelte": "^7.0.0",
|
|
"rollup-plugin-terser": "^7.0.0",
|
|
"svelte": "^3.0.0",
|
|
"svelte-check": "^1.0.0",
|
|
"svelte-preprocess": "^4.0.0",
|
|
"tslib": "^2.0.0",
|
|
"typescript": "^4.0.0"
|
|
},
|
|
"dependencies": {
|
|
"pretty-print-json": "^1.1.0",
|
|
"sirv-cli": "^1.0.0"
|
|
}
|
|
}
|