From 66dd264f7b15c05006faa00694c88c56794edc54 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 11 Jun 2017 11:29:03 +0200 Subject: Better build/dev scripts --- package.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 3ee935572..2dd6e7666 100644 --- a/package.json +++ b/package.json @@ -17,27 +17,30 @@ "url": "git://github.com/Chocobozzz/PeerTube.git" }, "scripts": { - "build": "scripty", - "build:server:prod": "scripty", - "build:client:prod": "scripty", + "build": "SCRIPTY_PARALLEL=true scripty", + "build:server": "scripty", + "build:client": "scripty", "clean": "npm run clean:client", "clean:client": "scripty", "clean:server:test": "scripty", - "watch:client": "SCRIPTY_PARALLEL=true scripty", + "watch:client": "scripty", + "watch:server": "scripty", "danger:clean:dev": "scripty", "danger:clean:prod": "scripty", "danger:clean:modules": "scripty", "reset-password": "scripty", "play": "scripty", - "dev": "scripty", + "dev:server": "scripty", + "dev:client": "scripty", "start": "node dist/server", "check": "scripty", "upgrade": "scripty", "update-host": "scripty", "test": "scripty", "help": "scripty", + "postinstall": "cd client && yarn install", "tsc": "tsc", - "postinstall": "cd client && yarn install" + "nodemon": "nodemon" }, "dependencies": { "async": "^2.0.0", @@ -96,6 +99,7 @@ "chai": "^3.3.0", "commander": "^2.9.0", "mocha": "^3.0.1", + "nodemon": "^1.11.0", "source-map-support": "^0.4.15", "standard": "^10.0.0", "supertest": "^3.0.0", -- cgit v1.2.3