From c112a15171320577141d2d1220e8e9082ba8c56d Mon Sep 17 00:00:00 2001 From: Dexter Chua Date: Thu, 18 Jun 2020 16:18:37 +0800 Subject: [PATCH] Fully dedicate our soul to yarn Signed-off-by: Dexter Chua --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index df7350054..e7c13b2ac 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ "main": "lib/app.js", "license": "AGPL-3.0", "scripts": { - "test": "npm run-script eslint && npm run-script jsonlint && npm run-script mocha-suite", + "test": "yarn run eslint && yarn run jsonlint && yarn run mocha-suite", "eslint": "node_modules/.bin/eslint --ext .ts,.js --max-warnings 0 src", "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done", "mocha-suite": "tsc && NODE_ENV=test CMD_DB_URL=\"sqlite::memory:\" mocha --exit built/test/*.js", "standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1", "dev": "webpack --config webpack.dev.js --progress --colors --watch", "heroku-prebuild": "bin/heroku", - "build": "npm run-script build-backend && npm run-script build-frontend", + "build": "yarn run build-backend && yarn run build-frontend", "build-backend": "tsc", "build-frontend": "webpack --config webpack.prod.js --progress --colors --bail", "start": "sequelize db:migrate && node built/lib/app.js"