diff options
author | Daniel Schaal <daniel@schaal.email> | 2017-06-18 12:19:38 +0200 |
---|---|---|
committer | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2017-06-18 12:19:38 +0200 |
commit | fd630242dade58b7f58de638d64ef1f0db7ae36d (patch) | |
tree | 0e5fc827c0bb489af4595870ced3d0c3a5744b19 /js/package.json | |
parent | c32d85c11954fdd7592856d1e403c41cb2253fb0 (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 'js/package.json')
-rw-r--r-- | js/package.json | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/js/package.json b/js/package.json index 30391282a..ac71adb9f 100644 --- a/js/package.json +++ b/js/package.json @@ -4,7 +4,7 @@ "main": "build/app.min.js", "scripts": { "test": "node node_modules/gulp-cli/bin/gulp.js karma", - "prebuild": "npm install && npm update && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", + "prebuild": "npm install && npm update", "build": "node node_modules/gulp-cli/bin/gulp.js" }, "repository": { @@ -30,7 +30,6 @@ "private": true, "homepage": "https://github.com/nextcloud/news", "devDependencies": { - "bower": "^1.8.0", "gulp": "^3.9.1", "gulp-cli": "^1.2.2", "gulp-concat": "^2.6.1", @@ -40,6 +39,7 @@ "gulp-sourcemaps": "^1.9.1", "gulp-uglify": "^2.0.0", "jasmine-core": "^2.5.2", + "jquery": "^2.2.4", "jshint": "^2.9.4", "karma": "^1.3.0", "karma-chrome-launcher": "^2.0.0", @@ -47,5 +47,14 @@ "karma-firefox-launcher": "^1.0.0", "karma-jasmine": "^1.1.0" }, - "dependencies": {} + "dependencies": { + "angular": "^1.6.4", + "angular-animate": "^1.6.4", + "angular-mocks": "^1.6.4", + "angular-route": "^1.6.4", + "angular-sanitize": "^1.6.4", + "debug": "^2.6.8", + "masonry-layout": "^4.2.0", + "moment": "^2.18.1" + } } |