Skip to content

Commit e06ba3f

Browse files
committed
switched to parcel bundler
Signed-off-by: Bruno Meilick <[email protected]>
1 parent 97b0512 commit e06ba3f

File tree

8 files changed

+724
-3726
lines changed

8 files changed

+724
-3726
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ insert_final_newline = true
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[*.md]
10+
[*.md, *.txt]
1111
indent_size = 4
1212
trim_trailing_whitespace = false
1313

@@ -20,3 +20,6 @@ indent_size = 2
2020
[package.json,.{babelrc,editorconfig,eslintrc,lintstagedrc,stylelintrc}]
2121
indent_style = space
2222
indent_size = 2
23+
24+
[composer.json]
25+
indent_size = 4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/node_modules
66

7+
.cache
8+
79
# files of Composer dependencies that are not needed for the plugin
810
/vendor/**/.*
911
/vendor/**/*.json

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/kirby3-janitor",
33
"type": "kirby-plugin",
4-
"version": "1.3.0",
4+
"version": "1.4.0",
55
"license": "MIT",
66
"description": "Kirby 3 Plugin for running jobs like cleaning the cache from within the Panel, PHP code or a cronjob",
77
"authors": [

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,21 @@
11
{
22
"name": "kirby-field-janitor",
3-
"version": "1.0.0",
3+
"version": "1.4.0",
44
"description": "Kirby 3 Plugin Janitor",
55
"author": "Bruno Meilick <[email protected]>",
66
"scripts": {
7-
"dev": "watchify -v -d -p browserify-hmr -e src/main.js -o index.js",
8-
"build": "cross-env NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o index.css ] -p bundle-collapser/plugin -e src/main.js | uglifyjs -c warnings=false -m > index.js"
9-
},
10-
"browserify": {
11-
"transform": [
12-
"babelify",
13-
"vueify"
14-
]
7+
"dev": "parcel watch src/index.js --no-source-maps -d ./",
8+
"build": "parcel build src/index.js --no-source-maps --experimental-scope-hoisting -d ./"
159
},
1610
"devDependencies": {
17-
"autoprefixer": "^9.4.2",
11+
"@vue/component-compiler-utils": "^3.0.0",
1812
"babel-core": "^6.26.3",
19-
"babel-plugin-transform-runtime": "^6.23.0",
2013
"babel-preset-env": "^1.7.0",
21-
"babelify": "^8.0.0",
22-
"browserify": "^16.2.2",
23-
"browserify-hmr": "^0.3.6",
24-
"bundle-collapser": "^1.3.0",
25-
"cross-env": "^5.2.0",
26-
"envify": "^4.1.0",
27-
"postcss": "^7.0.6",
28-
"precss": "^3.1.2",
29-
"uglify-js": "^3.4.7",
30-
"vue": "^2.5.17",
31-
"vueify": "^9.4.1",
32-
"watchify": "^3.11.0"
14+
"cssnano": "^4.1.10",
15+
"vue-template-compiler": "^2.6.10"
16+
},
17+
"dependencies": {
18+
"vue": "^2.6.10",
19+
"vue-hot-reload-api": "^2.3.3"
3320
}
3421
}
File renamed without changes.

vue.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)