Skip to content

Commit

Permalink
babel update
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalsanchez committed Feb 18, 2019
1 parent 91bd597 commit e3a2cfd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 136 deletions.
6 changes: 0 additions & 6 deletions build/build.sh

This file was deleted.

11 changes: 11 additions & 0 deletions build/build_core.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

## test -d app/ && npm run production --prefix app/
## test -d app/ && cp app/dist/* library/media/app/dist/

# npx babel library/media/app/js/app.js --presets=@babel/preset-env | uglifyjs --compress --mangle > library/media/app/js/app.min.js
# npx babel library/media/app/js/autocomplete.js --presets=@babel/preset-env | uglifyjs --compress --mangle > library/media/app/js/autocomplete.min.js

# cleancss -O2 -o modules/site/xtsearchforalgolia/views/theme/xtdir4alg_autocomplete.min.css modules/site/xtsearchforalgolia/views/theme/xtdir4alg_autocomplete.css

npm run build
119 changes: 0 additions & 119 deletions build/lib_cleanup.sh

This file was deleted.

9 changes: 0 additions & 9 deletions build/lib_rebuild.sh

This file was deleted.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
},
"homepage": "https://github.com/anibalsanchez/extly-boilerplate-buildfiles-for-joomla#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"copy-webpack-plugin": "^4.5.1",
"dotenv-webpack": "^1.5.7",
"eslint-config-airbnb": "^16.1.0",
Expand All @@ -36,5 +38,8 @@
"webpack-zip-files-plugin": "^1.0.0",
"webpack": "^4.26.0"
},
"dependencies": {}
"dependencies": {
"@babel/polyfill": "^7.2.5"
},
"browserslist": "> 0.25%, not dead"
}

0 comments on commit e3a2cfd

Please sign in to comment.