From 8e536db968882e04c96d371f88efb494e52615c8 Mon Sep 17 00:00:00 2001 From: Chika Date: Sat, 17 Sep 2022 21:40:35 +0300 Subject: [PATCH] package:json: update scripts --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 583e807..e8d5e00 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,12 @@ "lint": "next lint", "lint:fix": "next lint -- --fix", "prettier": "prettier --write .", - "precommit": "yarn prettier && yarn lint:fix", + "precommit": "yarn prettier && yarn lint:fix && yarn test", "graphql:codegen": "graphql-codegen --config .graphqlrc.yml", - "graphql:schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql", + "graphql:download-schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql", "prepare": "husky install", - "test": "jest --watch", + "test": "jest", + "test:watch": "jest --watch", "test:ci": "jest --ci" }, "dependencies": {