Skip to content

Commit

Permalink
switched to parcel bundler
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <[email protected]>
  • Loading branch information
bnomei committed Jun 3, 2019
1 parent 97b0512 commit e06ba3f
Show file tree
Hide file tree
Showing 8 changed files with 724 additions and 3,726 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ insert_final_newline = true
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
[*.md, *.txt]
indent_size = 4
trim_trailing_whitespace = false

Expand All @@ -20,3 +20,6 @@ indent_size = 2
[package.json,.{babelrc,editorconfig,eslintrc,lintstagedrc,stylelintrc}]
indent_style = space
indent_size = 2

[composer.json]
indent_size = 4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

/node_modules

.cache

# files of Composer dependencies that are not needed for the plugin
/vendor/**/.*
/vendor/**/*.json
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-janitor",
"type": "kirby-plugin",
"version": "1.3.0",
"version": "1.4.0",
"license": "MIT",
"description": "Kirby 3 Plugin for running jobs like cleaning the cache from within the Panel, PHP code or a cronjob",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 10 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,21 @@
{
"name": "kirby-field-janitor",
"version": "1.0.0",
"version": "1.4.0",
"description": "Kirby 3 Plugin Janitor",
"author": "Bruno Meilick <[email protected]>",
"scripts": {
"dev": "watchify -v -d -p browserify-hmr -e src/main.js -o index.js",
"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"
},
"browserify": {
"transform": [
"babelify",
"vueify"
]
"dev": "parcel watch src/index.js --no-source-maps -d ./",
"build": "parcel build src/index.js --no-source-maps --experimental-scope-hoisting -d ./"
},
"devDependencies": {
"autoprefixer": "^9.4.2",
"@vue/component-compiler-utils": "^3.0.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"browserify-hmr": "^0.3.6",
"bundle-collapser": "^1.3.0",
"cross-env": "^5.2.0",
"envify": "^4.1.0",
"postcss": "^7.0.6",
"precss": "^3.1.2",
"uglify-js": "^3.4.7",
"vue": "^2.5.17",
"vueify": "^9.4.1",
"watchify": "^3.11.0"
"cssnano": "^4.1.10",
"vue-template-compiler": "^2.6.10"
},
"dependencies": {
"vue": "^2.6.10",
"vue-hot-reload-api": "^2.3.3"
}
}
File renamed without changes.
6 changes: 0 additions & 6 deletions vue.config.js

This file was deleted.

Loading

0 comments on commit e06ba3f

Please sign in to comment.