From fe4f453a34b5ede9899b5c7f0f12bbd4f6d14f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 22 Feb 2018 20:28:05 -0500 Subject: [PATCH] Re-order scripts alphabetically in `package.json` and replace `start-dev` with `dev` --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 03d5d614..88816b8c 100644 --- a/package.json +++ b/package.json @@ -12,17 +12,17 @@ }, "homepage": "https://thelounge.chat/", "scripts": { - "coverage": "rm -rf .nyc_output/ && npm-run-all test:* && nyc --nycrc-path=test/.nycrc-report report", - "start": "node index start", - "start-dev": "npm-run-all --parallel watch start", "build": "webpack", - "watch": "webpack --watch", - "test": "npm-run-all --aggregate-output --parallel --continue-on-error test:* lint:*", - "test:mocha": "nyc --nycrc-path=test/.nycrc-mocha mocha --colors", - "test:mocha-webpack": "nyc --nycrc-path=test/.nycrc-mocha-webpack mocha-webpack --colors --opts=test/mocha-webpack.opts", - "lint:js": "eslint . --report-unused-disable-directives --color", + "coverage": "rm -rf .nyc_output/ && run-s test:{client,server} && nyc --nycrc-path=test/.nycrc-report report", + "dev": "run-p watch start", "lint:css": "stylelint --color \"client/**/*.css\"", - "start:mocha": "webpack-dev-server --config=webpack.config-browser.js" + "lint:js": "eslint . --report-unused-disable-directives --color", + "start": "node index start", + "test": "run-p --aggregate-output --continue-on-error lint:* test:{client,server}", + "test:browser": "webpack-dev-server --config=webpack.config-browser.js", + "test:client": "nyc --nycrc-path=test/.nycrc-mocha-webpack mocha-webpack --colors --opts=test/mocha-webpack.opts", + "test:server": "nyc --nycrc-path=test/.nycrc-mocha mocha --colors", + "watch": "webpack --watch" }, "keywords": [ "lounge",