From 5a91d7d3a0e7204cd8453129821da58a45d9bd60 Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Sat, 9 Jul 2016 22:18:47 +0300 Subject: [PATCH] eat(core): use npm commands * feat(core): use npm commands Replace variety of commands by npm commands. See #1258 * Remove prestart * Move bower --config.interactive=false to .bowerrc --- .bowerrc | 3 ++- package.json | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.bowerrc b/.bowerrc index 47ad66735b..f2e7c1eaeb 100644 --- a/.bowerrc +++ b/.bowerrc @@ -1,3 +1,4 @@ { - "directory": "public/lib" + "directory": "public/lib", + "interactive": false } diff --git a/package.json b/package.json index 609aa683be..a6b7ace56f 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,19 @@ "npm": ">=2.0.0" }, "scripts": { - "start": "grunt", - "test": "grunt test", - "postinstall": "bower install --config.interactive=false" + "update": "npm update && npm prune && bower install --allow-root && bower prune --allow-root", + "start": "gulp", + "start:prod": "gulp prod", + "start:debug": "gulp debug", + "lint": "gulp lint", + "test": "gulp test", + "test:server": "gulp test:server", + "test:client": "gulp test:client", + "test:e2e": "gulp test:e2e", + "test:watch": "gulp test:server:watch", + "test:watch:onlyChanged": "gulp test:server:watch --onlyChanged", + "postinstall": "bower install --allow-root && bower prune --allow-root", + "generate-ssl-certs": "scripts/generate-ssl-certs.sh" }, "dependencies": { "acl": "~0.4.9",