diff options
author | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2017-01-16 01:26:04 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2017-01-16 01:26:04 +0300 |
commit | 0544c1616d006c6523198dd3e71143795d83368f (patch) | |
tree | 22215d7a71911ac6bfcad9d6fc27f58121713391 /js/package.json | |
parent | b10d89bb57be742a19840f5011a1887bd84f25eb (diff) |
Use makefile from calendar app, adjust npm and update gruntfile
Diffstat (limited to 'js/package.json')
-rw-r--r-- | js/package.json | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/js/package.json b/js/package.json index d47c6453..b3ba427b 100644 --- a/js/package.json +++ b/js/package.json @@ -8,6 +8,11 @@ }, "private": true, "homepage": "", + "scripts": { + "test": "node node_modules/grunt-cli/bin/grunt karma", + "prebuild": "npm install && npm update && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", + "build": "node node_modules/grunt-cli/bin/grunt build" + }, "repository": { "type": "git", "url": "git@github.com:nextcloud/tasks.git" @@ -17,20 +22,17 @@ "dependencies": {}, "devDependencies": { "bower": "*", - "grunt": "~0.4.1", - "grunt-cli": "~0.1.6", - "grunt-contrib-jshint": "*", - "jshint-stylish": "^2.1.0", - "grunt-concurrent": "~1.0.0", - "grunt-contrib-concat": "~0.1.2", - "grunt-contrib-less": "~0.6.4", - "grunt-contrib-watch": "~0.2.0", - "grunt-karma": "~0.4.5", - "grunt-newer": "~1.1.1", - "grunt-phpdocumentor": "^0.4.1", - "grunt-phpunit": "0.2.0", - "grunt-wrap": "~0.2.0", - "phantomjs": "~1.8.1-3" + "grunt": "^1.0.1", + "grunt-cli": "^1.2.0", + "grunt-contrib-jshint": "^1.0.0", + "jshint-stylish": "^2.2.1", + "grunt-concurrent": "^2.3.1", + "grunt-contrib-concat": "^1.0.1", + "grunt-contrib-watch": "^1.0.0", + "grunt-karma": "^2.0.0", + "grunt-wrap": "^0.3.0" }, - "engine": "node >= 0.8" + "engines": { + "node": ">=6" + } } |