build: enforce 80% test coverage on changed files via husky

This commit is contained in:
Ben Miller
2025-12-25 04:08:43 -07:00
parent 9bc55f3a06
commit 943e535560
16 changed files with 1342 additions and 1 deletions

View File

@ -8,7 +8,8 @@
"scripts": {
"build": "webpack --mode production",
"deploy": "clasp push",
"test": "jest"
"test": "jest",
"prepare": "husky"
},
"devDependencies": {
"@types/google-apps-script": "^1.0.85",
@ -16,7 +17,9 @@
"copy-webpack-plugin": "^13.0.1",
"gas-webpack-plugin": "^2.6.0",
"graphql-tag": "^2.12.6",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.7",
"shopify-admin-api-typings": "github:beepmill/shopify-admin-api-typings",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.1",