summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Schaal <daniel@schaal.email>2017-06-18 12:19:38 +0200
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2017-06-18 12:19:38 +0200
commitfd630242dade58b7f58de638d64ef1f0db7ae36d (patch)
tree0e5fc827c0bb489af4595870ced3d0c3a5744b19 /Makefile
parentc32d85c11954fdd7592856d1e403c41cb2253fb0 (diff)
Remove bower, install everything using npm (#197)
* Remove bower, install everything using npm Remove js-url and use a simple function to get the query param. * Bundle all js scripts in app.min.js * Move jquery to devDependencies * Remove es6-shim, most common browsers support es6 natively.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index ba1c104cc..b12332881 100644
--- a/Makefile
+++ b/Makefile
@@ -29,13 +29,13 @@
# build tools and additional package managers should be installed locally in
# your project, since this won't pollute people's global namespace.
#
-# The following npm scripts in your package.json install and update the bower
-# and npm dependencies and use gulp as build system (notice how everything is
-# run from the node_modules folder):
+# The following npm scripts in your package.json install the npm dependencies
+# and use gulp as build system (notice how everything is run from the
+# node_modules folder):
#
# "scripts": {
# "test": "node node_modules/gulp-cli/bin/gulp.js karma",
-# "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update",
+# "prebuild": "npm install",
# "build": "node node_modules/gulp-cli/bin/gulp.js"
# },
@@ -104,13 +104,12 @@ npm:
clean:
rm -rf ./build
-# Same as clean but also removes dependencies installed by composer, bower and
+# Same as clean but also removes dependencies installed by composer and
# npm
.PHONY: distclean
distclean: clean
rm -rf vendor
rm -rf node_modules
- rm -rf js/vendor
rm -rf js/node_modules
# Builds the source and appstore package
@@ -153,14 +152,6 @@ appstore:
"COPYING" \
"AUTHORS.md" \
"CHANGELOG.md" \
- "js/vendor/js-url/url.min.js" \
- "js/vendor/es6-shim/es6-shim.min.js" \
- "js/vendor/angular/angular.min.js" \
- "js/vendor/angular-animate/angular-animate.min.js" \
- "js/vendor/angular-route/angular-route.min.js" \
- "js/vendor/angular-sanitize/angular-sanitize.min.js" \
- "js/vendor/moment/min/moment-with-locales.min.js" \
- "js/vendor/masonry/dist/masonry.pkgd.min.js" \
"js/build/app.min.js" \
"js/admin/Admin.js" \
$(appstore_build_directory)