mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-02-11 14:31:55 +08:00
* ci: add e2e vercel test action This commit adds several end-to-end tests that can be used to test whether the Vercel Preview deployment successfully returns the cards. * test: add additional e2e card tests * test: improve e2e card tests This commit makes sure that the tests also check whether a valid cards are returned from the preview deployment.
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"name": "github-readme-stats",
|
|
"version": "1.0.0",
|
|
"description": "Dynamically generate stats for your github readmes",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
|
|
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
|
|
"test:update:snapshot": "node --experimental-vm-modules node_modules/jest/bin/jest.js -u",
|
|
"test:e2e": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.e2e.config.js",
|
|
"theme-readme-gen": "node scripts/generate-theme-doc",
|
|
"preview-theme": "node scripts/preview-theme",
|
|
"generate-langs-json": "node scripts/generate-langs-json",
|
|
"format": "./node_modules/.bin/prettier --write .",
|
|
"format:check": "./node_modules/.bin/prettier --check ."
|
|
},
|
|
"author": "Anurag Hazra",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"@actions/github": "^4.0.0",
|
|
"@testing-library/dom": "^8.17.1",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@uppercod/css-to-object": "^1.1.1",
|
|
"axios-mock-adapter": "^1.18.1",
|
|
"color-contrast-checker": "^2.1.0",
|
|
"hjson": "^3.2.2",
|
|
"husky": "^4.2.5",
|
|
"jest": "^29.0.3",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"js-yaml": "^4.1.0",
|
|
"lodash.snakecase": "^4.1.1",
|
|
"parse-diff": "^0.7.0",
|
|
"prettier": "^2.1.2"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.24.0",
|
|
"dotenv": "^8.2.0",
|
|
"emoji-name-map": "^1.2.8",
|
|
"github-username-regex": "^1.0.0",
|
|
"upgrade": "^1.1.0",
|
|
"word-wrap": "^1.2.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm test"
|
|
}
|
|
}
|
|
}
|