|
|
@@ -61,12 +61,13 @@
|
|
|
"clean": "npx -y shx rm -rf lib index.js index.d.ts \"dev/**/*.d.ts\" \"test/**/*.d.ts\"",
|
|
|
"dev": "yarn build",
|
|
|
"test-api": "node --conditions development test/index.js",
|
|
|
- "test-coverage": "c8 --check-coverage --functions 100 --reporter lcov node --conditions development test/index.js",
|
|
|
+ "test-coverage": "c8 --check-coverage --branches 99.45 --functions 100 --lines 99.63 --statements 99.63 --reporter lcov node --conditions development test/index.js",
|
|
|
"test": "npm run build && npm run test-coverage",
|
|
|
"lint": "yarn eslint \"**/*.{cjs, js,jsx,ts,tsx}\"",
|
|
|
"lint:fix": "yarn eslint \"**/*.{cjs, js,jsx,ts,tsx}\" --fix"
|
|
|
},
|
|
|
"typeCoverage": {
|
|
|
+ "atLeast": 94.42,
|
|
|
"detail": true,
|
|
|
"strict": true,
|
|
|
"ignoreCatch": true
|