From: DrakoPOD Date: Tue, 19 Jul 2022 05:25:49 +0000 (-0400) Subject: boiler plate, add folder scheme and basic files X-Git-Url: https://git.josue.xyz/?p=crowdnodeWebStake%2F.git;a=commitdiff_plain;h=9ba7ff9b67ea69b0df3f323fbe8e92b1de5861d1 boiler plate, add folder scheme and basic files --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dff1ce6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +dist +pnpm-lock.yaml \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..5e6499e --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "crowdnodewebstake", + "version": "0.0.0", + "description": "This is a web for staking your dash in the crowdnode web.", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "license": "GPL-3.0", + "devDependencies": { + "vite": "^3.0.2" + } +} \ No newline at end of file diff --git a/scheme.png b/scheme.png new file mode 100644 index 0000000..7d28a66 Binary files /dev/null and b/scheme.png differ diff --git a/src/public/index.html b/src/public/index.html new file mode 100644 index 0000000..cb2cd14 --- /dev/null +++ b/src/public/index.html @@ -0,0 +1,15 @@ + + + + + + + + CrowdNode + + + + + + + \ No newline at end of file diff --git a/src/scripts/main.ts b/src/scripts/main.ts new file mode 100644 index 0000000..69c0d0a --- /dev/null +++ b/src/scripts/main.ts @@ -0,0 +1 @@ +import '../styles/style.css'; diff --git a/src/styles/style.css b/src/styles/style.css new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..5e347c1 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "es2016", + "module": "ESNext", + // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ + "types": [] /* Specify type package names to be included without being referenced in a source file. */, + + /* JavaScript Support */ + "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */, + // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, + /* Type Checking */ + "strict": true /* Enable all strict type-checking options. */, + "skipLibCheck": true /* Skip type checking all .d.ts files. */, + "moduleResolution": "node", + "resolveJsonModule": true + }, + "include": ["types"] +} diff --git a/types/types.d.ts b/types/types.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..bed3855 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,11 @@ +import { defineConfig } from 'vite'; + +export default defineConfig({ + build: { + rollupOptions: { + input: { + app: './index.html', + }, + }, + }, +});