package.json in blacklight-7.40.0 vs package.json in blacklight-8.0.0.beta1
- old
+ new
@@ -1,35 +1,32 @@
{
"name": "blacklight-frontend",
- "version": "7.40.0",
- "description": "The frontend code and styles for Blacklight",
+ "version": "8.0.0-beta.1",
+ "description": "[![Build Status](https://travis-ci.com/projectblacklight/blacklight.png?branch=main)](https://travis-ci.com/projectblacklight/blacklight) [![Gem Version](https://badge.fury.io/rb/blacklight.png)](http://badge.fury.io/rb/blacklight) [![Coverage Status](https://coveralls.io/repos/github/projectblacklight/blacklight/badge.svg?branch=main)](https://coveralls.io/github/projectblacklight/blacklight?branch=main)",
"main": "app/assets/javascripts/blacklight",
"scripts": {
- "js-compile-bundle": "shx cat app/javascript/blacklight/core.js app/javascript/blacklight/autocomplete.js app/javascript/blacklight/bookmark_toggle.js app/javascript/blacklight/button_focus.js app/javascript/blacklight/checkbox_submit.js app/javascript/blacklight/facet_load.js app/javascript/blacklight/modal.js app/javascript/blacklight/search_context.js | shx sed \"s/^(import|export).*//\" | babel --filename app/javascript/blacklight/blacklight.js > app/assets/javascripts/blacklight/blacklight.js"
+ "js-compile-bundle": "rollup --config rollup.config.js --sourcemap && ESM=true rollup --config rollup.config.js --sourcemap"
},
"repository": {
"type": "git",
"url": "git+https://github.com/projectblacklight/blacklight.git"
},
"files": [
- "app/assets",
- "app/javascript"
+ "app/assets"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/projectblacklight/blacklight/issues"
},
"homepage": "https://github.com/projectblacklight/blacklight#readme",
"devDependencies": {
- "@babel/cli": "^7.2.3",
- "@babel/core": "^7.2.3",
- "@babel/preset-env": "^7.16.0",
- "shx": "^0.3.2"
+ "rollup": "^2.60.0"
},
- "browserslist": "> 0.25%, not dead",
+ "browserslist": [
+ "defaults",
+ "not IE 11"
+ ],
"dependencies": {
- "bootstrap": ">=4.3.1 <6.0.0",
- "jquery": "^3.5.1",
- "typeahead.js": "^0.11.1"
+ "bootstrap": ">=4.3.1 <6.0.0"
}
}