From cd4709ee3b41cae38c8febfb6c64b5459a927dcb Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sat, 24 Apr 2021 09:26:09 +0200 Subject: [PATCH] chore: Add global test npm script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 951f98c8290..d12704d09a5 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint": "eslint --fix 'src/*.js'", "kickstart": "npx lerna bootstrap && npx lerna run build --no-bail && npx lerna run build", "clean": "rimraf dist", - "test": "echo \"Error: no test specified\" && exit 1", + "test": "lerna run test", "jsonlint": "yarn --silent jsonlint:files | xargs -n1 jsonlint -q -c && echo \"jsonlint: no lint errors\"", "jsonlint:files": "find . -name \"*.json\" | grep -v -f .eslintignore", "prettier": "npx prettier --write 'packages/**/src/*.js' 'packages/**/config/*.js' 'packages/**/example/src/*'",