Skip to content

Commit

Permalink
Migrate to vite (#16)
Browse files Browse the repository at this point in the history
* update imports, tweaks for vite

* remove commented code

* update config

* update package configs

* updates for eslint
  • Loading branch information
nivv authored Jun 29, 2022
1 parent 219e0dc commit 405f403
Show file tree
Hide file tree
Showing 83 changed files with 2,313 additions and 4,290 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ composer.lock
tests/_output
node_modules
.idea
/public/build
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": "./resources",
"paths": {
"~/*": [
"@/*": [
"./js/*"
]
}
Expand Down
22 changes: 9 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"private": true,
"scripts": {
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"production": "mix --production",
"dev": "vite",
"build": "vite build",
"lint": "eslint --fix --ext .js,.vue resources/js",
"fetch": "bin/fetch"
},
"dependencies": {
"@popperjs/core": "2.11.5",
"@tiptap/core": "^2.0.0-beta.175",
"@tiptap/extension-image": "^2.0.0-beta.27",
"@tiptap/extension-link": "^2.0.0-beta.37",
Expand Down Expand Up @@ -39,7 +37,7 @@
"v-mask": "^2.3.0",
"v-tooltip": "^2.1.3",
"vee-validate": "^3.4.14",
"vue": "^2.6.14",
"vue": "2.7.0-beta.8",
"vue-currency-filter": "^5.2.0",
"vue-final-modal": "^0.20.1",
"vue-nestable": "^2.6.0",
Expand All @@ -54,26 +52,24 @@
"@babel/core": "7.17.10",
"@babel/eslint-parser": "7.17.0",
"@babel/eslint-plugin": "7.17.7",
"@popperjs/core": "2.11.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.18.6",
"@tailwindcss/aspect-ratio": "0.4.0",
"@tailwindcss/line-clamp": "0.4.0",
"@tailwindcss/typography": "0.5.2",
"@vitejs/plugin-vue2": "^1.1.1",
"autoprefixer": "10.4.5",
"copy-webpack-plugin": "10.2.4",
"cross-env": "7.0.3",
"css-loader": "6.7.1",
"eslint": "8.15.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-unicorn": "42.0.0",
"eslint-plugin-vue": "8.7.1",
"laravel-mix": "6.0.43",
"laravel-vite-plugin": "^0.2.3",
"postcss": "8.4.13",
"postcss-import": "14.1.0",
"tailwindcss": "3.0.24",
"vue-loader": "15.9.8",
"vue-template-compiler": "2.6.14",
"webpack": "5.72.0"
"vite": "^2.9.13"
},
"resolutions": {
"autoprefixer": "10.4.5"
Expand Down
Loading

0 comments on commit 405f403

Please sign in to comment.