Skip to content

Commit

Permalink
feat: delete dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Apr 14, 2023
1 parent 8ff569f commit b9fb403
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 41 deletions.
9 changes: 8 additions & 1 deletion jest.browser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ module.exports = {
// ],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: null,
coverageThreshold: {
global: {
branches: 95,
functions: 95,
lines: 95,
statements: 95,
},
},

// A path to a custom dependency extractor
// dependencyExtractor: null,
Expand Down
19 changes: 4 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"lint": "eslint src",
"proto": "node scripts/compile-proto.js",
"release": "standard-version -a",
"test": "jest --config=jest.browser.config.js --ci --reporters=default --reporters=jest-junit",
"test:browser": "jest --config=jest.browser.config.js --ci --reporters=default --reporters=jest-junit",
"test": "jest --config=jest.browser.config.js",
"test:browser": "jest --config=jest.browser.config.js",
"test:browser:watch": "jest --config=jest.browser.config.js --watch",
"test:node": "jest --config=jest.node.config.js --ci --reporters=default --reporters=jest-junit",
"test:node": "jest --config=jest.node.config.js",
"test:node:watch": "jest --config=jest.node.config.js --watch",
"test:coverage": "jest --config=jest.browser.config.js --coverage",
"test:coverageNode": "jest --config=jest.node.config.js --coverage"
Expand Down Expand Up @@ -97,7 +97,6 @@
"jest-environment-jsdom": "^29.4.3",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-github-reporter": "^1.1.1",
"jest-junit": "^15.0.0",
"lint-staged": "^9.0.2",
"rimraf": "^2.6.3",
"size-limit": "^8.1.2",
Expand All @@ -110,7 +109,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && istanbul-badges-readme && git add 'README.md'",
"pre-commit": "lint-staged && yarn run test:coverage && istanbul-badges-readme && git add 'README.md'",
"commit-msg": "node scripts/verify-commit-msg.js"
}
},
Expand All @@ -130,15 +129,5 @@
"scripts": {
"postbump": "npm run build && git add ."
}
},
"jest-junit": {
"suiteName": "jest tests",
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"ancestorSeparator": "",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}
25 changes: 0 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6576,16 +6576,6 @@ jest-haste-map@^29.4.1:
optionalDependencies:
fsevents "^2.3.2"

jest-junit@^15.0.0:
version "15.0.0"
resolved "https://registry.npmmirror.com/jest-junit/-/jest-junit-15.0.0.tgz#a47544ab42e9f8fe7ada56306c218e09e52bd690"
integrity sha512-Z5sVX0Ag3HZdMUnD5DFlG+1gciIFSy7yIVPhOdGUi8YJaI9iLvvBb530gtQL2CHmv0JJeiwRZenr0VrSR7frvg==
dependencies:
mkdirp "^1.0.4"
strip-ansi "^6.0.1"
uuid "^8.3.2"
xml "^1.0.1"

jest-leak-detector@^29.4.1:
version "29.4.1"
resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.4.1.tgz#632186c546e084da2b490b7496fee1a1c9929637"
Expand Down Expand Up @@ -7780,11 +7770,6 @@ mkdirp@^0.5.1:
dependencies:
minimist "^1.2.6"

mkdirp@^1.0.4:
version "1.0.4"
resolved "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==

modify-values@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
Expand Down Expand Up @@ -10593,11 +10578,6 @@ uuid@^3.3.2:
resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==

uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

[email protected]:
version "2.0.3"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe"
Expand Down Expand Up @@ -10987,11 +10967,6 @@ xml-name-validator@^4.0.0:
resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==

xml@^1.0.1:
version "1.0.1"
resolved "https://registry.npmmirror.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
integrity sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==

xmlchars@^2.1.1, xmlchars@^2.2.0:
version "2.2.0"
resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
Expand Down

0 comments on commit b9fb403

Please sign in to comment.