summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 17:54:22 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 17:54:22 +0100
commit8e128604b9bace8a834daa3b02f242f976df85e7 (patch)
treed520ad25a04ab839eec838fbde16e8cab1094240 /js
parent7e9d8b396a87999b7abef7d08c6038af824a70e6 (diff)
add makefile for building the project
Diffstat (limited to 'js')
-rw-r--r--js/package.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/package.json b/js/package.json
index e189c3907..96b0ca7e0 100644
--- a/js/package.json
+++ b/js/package.json
@@ -3,7 +3,9 @@
"description": "An RSS/Atom feed reader",
"main": "build/app.min.js",
"scripts": {
- "test": "gulp karma"
+ "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",
+ "build": "node node_modules/gulp-cli/bin/gulp.js"
},
"repository": {
"type": "git",
@@ -23,12 +25,14 @@
"url": "https://github.com/owncloud/news/issues"
},
"engines": {
- "node": ">=5.6"
+ "node": ">=5.6"
},
"private": true,
"homepage": "https://github.com/owncloud/news",
"devDependencies": {
+ "bower": "^1.7.7",
"gulp": "^3.9.1",
+ "gulp-cli": "^1.2.1",
"gulp-concat": "^2.6.0",
"gulp-jshint": "^2.0.0",
"gulp-ng-annotate": "^2.0.0",