Skip to content

Commit

Permalink
Version 4.2.0
Browse files Browse the repository at this point in the history
removed minified files
  • Loading branch information
mistic100 committed Dec 29, 2020
1 parent 22f66d0 commit 3a86f93
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 69 deletions.
10 changes: 7 additions & 3 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ module.exports = {
[
'@babel/env',
{
loose : true,
modules: false,
loose: true,
exclude: ['transform-typeof-symbol']
}
]
],
plugins: [
'@babel/proposal-object-rest-spread'
[
'@babel/proposal-object-rest-spread',
{
loose: true
}
]
]
};
71 changes: 24 additions & 47 deletions dist/bootstrap-confirmation.js

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

2 changes: 1 addition & 1 deletion dist/bootstrap-confirmation.js.map

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions dist/bootstrap-confirmation.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/bootstrap-confirmation.min.js.map

This file was deleted.

13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap-confirmation2",
"version": "4.1.0",
"homepage": "http://bootstrap-confirmation.js.org",
"version": "4.2.0",
"homepage": "https://bootstrap-confirmation.js.org",
"description": "Bootstrap plugin for on-place confirm boxes using Popover",
"license": "Apache-2.0",
"authors": [
Expand All @@ -12,7 +12,7 @@
{
"name": "Damien \"Mistic\" Sorel",
"email": "[email protected]",
"homepage": "http://www.strangeplanet.fr"
"homepage": "https://www.strangeplanet.fr"
}
],
"main": "dist/bootstrap-confirmation.js",
Expand All @@ -26,7 +26,7 @@
"popup"
],
"peerDependencies": {
"bootstrap": ">=4.0.0",
"bootstrap": "^4.0.0",
"jquery": "1.9.1 - 3",
"popper.js": "^1.12.9"
},
Expand All @@ -46,8 +46,7 @@
"popper.js": "^1.12.9",
"rollup": "^2.0.2",
"rollup-plugin-babel": "^4.2.0",
"rollup-plugin-replace": "^2.0.0",
"uglify-js": "^3.5.15"
"rollup-plugin-replace": "^2.0.0"
},
"repository": {
"type": "git",
Expand All @@ -58,9 +57,7 @@
},
"scripts": {
"compile": "rollup --config rollup.config.js --file dist/bootstrap-confirmation.js src/confirmation.js",
"dist": "npm run compile && npm run minify",
"lint": "eslint src",
"minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/bootstrap-confirmation.js.map,includeSources,url=bootstrap-confirmation.min.js.map\" --output dist/bootstrap-confirmation.min.js dist/bootstrap-confirmation.js",
"server": "live-server --watch=dist,example --open=example",
"start": "npm run compile && npm-run-all --parallel watch server",
"test": "npm run lint",
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ export default {
format : 'umd',
name : 'bootstrap-confirmation',
sourcemap: true,
interop : false,
exports : 'none',
globals : {
'jquery': 'jQuery'
},
banner : `/*!
* Bootstrap Confirmation (v${pkg.version})
* @copyright 2013 Nimit Suwannagate <[email protected]>
* @copyright 2014-2018 Damien "Mistic" Sorel <[email protected]>
* @copyright 2014-${(new Date()).getFullYear()} Damien "Mistic" Sorel <[email protected]>
* @licence Apache License, Version 2.0
*/`
},
Expand Down

0 comments on commit 3a86f93

Please sign in to comment.