Remove WebPack and let Vue CLI handle WASM. Project restructuring fixes. Add Vue SVG Loader. Fixes #29.

This commit is contained in:
Keavon Chambers
2021-03-27 02:26:55 -07:00
parent 8741e31c92
commit 7323d3cd21
26 changed files with 314 additions and 649 deletions
+8 -14
View File
@@ -2,13 +2,10 @@
"name": "graphite-web-frontend",
"version": "0.1.0",
"description": "Graphite's web app frontend. Planned to be replaced by a Rust native GUI framework in the future.",
"main": "main.js",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"webpack-build": "webpack",
"webpack-start": "webpack serve"
"lint": "vue-cli-service lint"
},
"repository": {
"type": "git",
@@ -17,6 +14,11 @@
"author": "Graphite Authors <contact@graphite.design>",
"license": "Apache-2.0",
"homepage": "https://www.graphite.design",
"dependencies": {
"vue": "^3.0.7",
"vue-class-component": "^8.0.0-0",
"vue-loader": "^16.1.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
@@ -30,16 +32,12 @@
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-vue": "^7.8.0",
"html-webpack-plugin": "^4.5.2",
"lint-staged": "^9.5.0",
"sass": "^1.32.8",
"sass-loader": "^8.0.2",
"typescript": "~3.9.3",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.45.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
"vue-svg-loader": "^0.17.0-beta.2",
"vue-template-compiler": "^2.6.12"
},
"gitHooks": {
"pre-commit": "lint-staged"
@@ -49,9 +47,5 @@
"vue-cli-service lint",
"git add"
]
},
"dependencies": {
"vue": "^3.0.7",
"vue-class-component": "^8.0.0-0"
}
}