Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
first commit!
  • Loading branch information
TheCubiq committed Aug 15, 2022
0 parents commit a7a9d28
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "vizzard",
"type": "module",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"watch": "vite build --watch --mode development"
},
"devDependencies": {
"@types/tampermonkey": "^4.0.5",
"vite": "^3.0.0",
"vite-plugin-tm-userscript": "^1.2.0"
}
}
6 changes: 6 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function run() {
// if (self != top) return
console.log("Vizzard Has Loaded!");
}

run();
18 changes: 18 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import Userscript from 'vite-plugin-tm-userscript'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
Userscript({
entry: 'src/main.js',
headers: {
'name': 'Vizzard',
'author': 'Cubiq The Creator',
'license': 'MIT',
'match': 'https://vizzy.io/*',
'icon': 'https://vizzy.io/favicon.ico',
},
}),
],
})

0 comments on commit a7a9d28

Please sign in to comment.