package:json: update scripts

This commit is contained in:
Chika 2022-09-17 21:40:35 +03:00
parent ecc767fede
commit 8e536db968

View File

@ -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": {