aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 76027f7..eb407a4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -25,5 +25,5 @@ jobs:
- run:
name: Test code syntax with eslint
- command: npx eslint .
+ command: npm test
diff --git a/package.json b/package.json
index d0e9e67..c112f61 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
],
"scripts": {
"start": "react-scripts start",
- "test": "eslint .",
+ "test": "eslint . && tsc",
"build": "rm -rf dist && tsc --project ts-compile-config.json",
"deploy": "eslint src/lib && npm run build && npm publish --public"
},