mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Switch to vite and preact
This commit is contained in:
27
package.json
27
package.json
@@ -5,8 +5,10 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "webpack-cli -p",
|
||||
"start": "webpack-dev-server -d --content-base ./public --host 0.0.0.0"
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"serve": "vite preview",
|
||||
"lint": "eslint . --ext .ts,.tsx"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Misode",
|
||||
@@ -17,18 +19,21 @@
|
||||
"@mcschema/java-1.16": "^0.6.3",
|
||||
"@mcschema/java-1.17": "^0.2.23",
|
||||
"@mcschema/locales": "^0.1.20",
|
||||
"seedrandom": "^3.0.5",
|
||||
"split.js": "^1.5.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.1.0",
|
||||
"@rollup/plugin-html": "^0.2.3",
|
||||
"@types/google.analytics": "0.0.40",
|
||||
"@types/seedrandom": "^2.4.28",
|
||||
"@types/split.js": "^1.4.0",
|
||||
"copy-webpack-plugin": "^6.0.1",
|
||||
"html-webpack-plugin": "^4.3.0",
|
||||
"merge-jsons-webpack-plugin": "^1.0.21",
|
||||
"seedrandom": "^3.0.5",
|
||||
"split.js": "^1.5.11",
|
||||
"ts-loader": "^7.0.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
||||
"@typescript-eslint/parser": "^4.25.0",
|
||||
"eslint": "^7.27.0",
|
||||
"preact": "^10.5.13",
|
||||
"preact-router": "^3.2.1",
|
||||
"typescript": "^4.1.3",
|
||||
"webpack": "^4.44.2",
|
||||
"webpack-cli": "^3.3.11",
|
||||
"webpack-dev-server": "^3.11.0"
|
||||
"vite": "^2.3.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user