{ "name": "shields.io", "version": "0.0.0", "description": "Shields.io server and frontend", "private": true, "keywords": [ "GitHub", "badge", "SVG", "image", "shields.io" ], "homepage": "https://shields.io", "bugs": { "url": "https://github.com/badges/shields/issues" }, "license": "(MIT OR Apache-2.0)", "author": "Thaddée Tyl ", "contributors": [ "Paul Melnikow", "Pierre-Yves Bigourdan" ], "repository": { "type": "git", "url": "https://github.com/badges/shields" }, "dependencies": { "@renovatebot/pep440": "^5.0.0", "@renovatebot/ruby-semver": "^5.0.0", "@sentry/node-core": "^10.63.0", "@shields_io/camp": "^18.1.2", "@xmldom/xmldom": "0.9.10", "badge-maker": "file:badge-maker", "byte-size": "^9.0.1", "camelcase": "^9.0.0", "chalk": "^5.6.2", "check-node-version": "^4.2.1", "cloudflare-middleware": "^1.0.4", "config": "^4.4.2", "cross-env": "^10.1.0", "dayjs": "^1.11.21", "decamelize": "^3.2.0", "emojic": "^1.1.18", "escape-string-regexp": "^5.0.0", "fast-xml-parser": "^5.9.3", "glob": "^13.0.6", "global-agent": "^4.1.3", "got": "^15.0.7", "graphql": "17.0.2", "graphql-tag": "^2.12.7", "joi": "18.2.3", "joi-extension-semver": "5.0.0", "js-yaml": "^5.2.1", "jsonpath-plus": "^10.4.0", "lodash.countby": "^4.6.0", "matcher": "^6.0.0", "mvncmp": "^1.0.0", "node-pg-migrate": "^8.0.4", "parse-link-header": "^2.0.0", "path-to-regexp": "^6.3.0", "pg": "^8.22.0", "priorityqueuejs": "^2.0.0", "prom-client": "^15.1.3", "qs": "^6.15.3", "re2": "^1.25.0", "semver": "~7.8.5", "simple-icons": "16.26.0", "smol-toml": "1.7.0", "svg-path-bbox": "^2.1.0", "svgpath": "^2.6.0", "webextension-store-meta": "^1.3.0", "xpath": "~0.0.34" }, "scripts": { "coverage:test:core": "c8 npm run test:core", "coverage:test:package": "c8 npm run test:package", "coverage:test:entrypoint": "c8 npm run test:entrypoint", "coverage:test:integration": "c8 npm run test:integration", "coverage:test:services": "c8 npm run test:services", "coverage:clean": "rimraf coverage", "precoverage:test": "cross-env BASE_URL=http://localhost:8080 run-s --silent coverage:clean defs", "coverage:test": "run-s --silent --continue-on-error coverage:test:core coverage:test:package coverage:test:entrypoint coverage:test:integration", "coverage:report:generate": "c8 report", "coverage:report:open": "open-cli coverage/lcov-report/index.html", "coverage:report": "run-s --silent coverage:report:generate coverage:report:open", "lint": "eslint --concurrency auto \"**/*.@(cjs|mjs|js|ts)\"", "prettier": "prettier --write \"**/*.@(cjs|mjs|js|ts|md|json|yml)\"", "prettier:check": "prettier --check \"**/*.@(cjs|mjs|js|ts|md|json|yml)\"", "danger": "danger", "test:e2e": "cypress run", "test:core": "cross-env TZ=UTC NODE_CONFIG_ENV=test mocha \"core/**/*.spec.js\" \"lib/**/*.spec.js\" \"services/**/*.spec.js\"", "test:package": "mocha \"badge-maker/**/*.spec.js\"", "test:entrypoint": "cross-env NODE_CONFIG_ENV=test mocha entrypoint.spec.js", "test:integration": "cross-env NODE_CONFIG_ENV=test mocha \"core/**/*.integration.js\" \"services/**/*.integration.js\"", "test:services": "cross-env NODE_CONFIG_ENV=test mocha core/service-test-runner/cli.js", "test:services:trace": "cross-env NODE_CONFIG_ENV=test TRACE_SERVICES=true mocha core/service-test-runner/cli.js", "test:services:pr:prepare": "node core/service-test-runner/pull-request-services-cli.js > pull-request-services.log", "test:services:pr:run": "cross-env NODE_CONFIG_ENV=test mocha core/service-test-runner/cli.js --stdin < pull-request-services.log", "test:services:pr": "run-s --silent test:services:pr:prepare test:services:pr:run", "pretest": "cross-env BASE_URL=http://localhost:8080 run-s --silent defs", "test": "run-s --silent --continue-on-error lint test:package test:core test:entrypoint check-types:package prettier:check", "check-types:package": "tsd badge-maker", "depcheck": "check-node-version --node \">= 24.0\"", "prebuild": "run-s --silent depcheck", "defs": "node scripts/export-openapi-cli.js", "build": "rimraf public && run-s defs docusaurus:build", "heroku-postbuild": "run-s --silent build", "start:server:prod": "node server", "now-start": "npm run start:server:prod", "start:server:e2e-on-build": "node server 8080", "start:server": "cross-env NODE_CONFIG_ENV=development nodemon server 8080", "debug:server": "cross-env NODE_CONFIG_ENV=development nodemon --inspect server.js 8080", "profile:server": "cross-env NODE_CONFIG_ENV=development node --prof server 8080", "benchmark:badge": "cross-env NODE_CONFIG_ENV=test node scripts/benchmark-performance.js --iterations 10100 | node scripts/capture-timings.js --warmup-iterations 100", "prestart": "cross-env BASE_URL=http://localhost:8080 run-s --silent depcheck defs", "start": "concurrently --names server,frontend \"npm run start:server\" \"npm run docusaurus:start\"", "e2e": "cross-env BASE_URL=http://localhost:8080 run-s build e2e-on-build", "e2e-on-build": "cross-env CYPRESS_BASE_URL=http://localhost:8080 start-server-and-test start:server:e2e-on-build http://localhost:8080 test:e2e", "badge": "cross-env NODE_CONFIG_ENV=test TRACE_SERVICES=true node scripts/badge-cli.js", "build-docs": "rimraf api-docs/ && jsdoc --pedantic -c ./jsdoc.json . && echo 'contributing.shields.io' > api-docs/CNAME", "migrate": "node scripts/write-migrations-config.js > migrations-config.json && node-pg-migrate --config-file=migrations-config.json", "docusaurus:start": "docusaurus start frontend", "docusaurus:build": "docusaurus build frontend --out-dir ../public", "docusaurus:swizzle": "cd frontend && docusaurus swizzle", "docusaurus:clear": "docusaurus clear frontend" }, "lint-staged": { "**/*.@(cjs|mjs|js|ts)": [ "eslint --fix --concurrency auto", "prettier --write" ], "**/*.@(md|json|yml)": [ "prettier --write" ] }, "nodemonConfig": { "verbose": true, "ext": "js,yml", "ignore": [ "package.json", "**/*.spec.js", "**/*.tester.js", "**/*.integration.js", "frontend/", "build/", "cypress/", ".github/" ] }, "devDependencies": { "@docusaurus/core": "^3.10.1", "@docusaurus/preset-classic": "^3.10.1", "@easyops-cn/docusaurus-search-local": "^0.55.2", "@mdx-js/react": "^3.1.1", "@typescript-eslint/parser": "^8.62.1", "c8": "^11.0.0", "caller": "^1.1.0", "chai": "6.2.2", "chai-as-promised": "^8.0.2", "chai-datetime": "^1.8.1", "clsx": "^2.1.1", "concurrently": "^10.0.3", "cypress": "^15.18.0", "cypress-wait-for-stable-dom": "^0.1.0", "danger": "^13.0.10", "deepmerge": "^4.3.1", "docusaurus-preset-openapi": "0.8.0", "eslint": "9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-chai-friendly": "1.2.1", "eslint-plugin-cypress": "6.4.2", "eslint-plugin-icedfrisby": "0.3.0", "eslint-plugin-import": "2.32.0", "eslint-plugin-jsdoc": "63.0.10", "eslint-plugin-mocha": "11.3.0", "eslint-plugin-prettier": "5.5.6", "eslint-plugin-promise": "7.3.0", "eslint-plugin-react-hooks": "7.1.1", "eslint-plugin-sort-class-members": "1.22.1", "globals": "17.7.0", "http-deceiver": "file:vendor/http-deceiver", "icedfrisby": "4.0.0", "icedfrisby-nock": "^2.1.0", "is-svg": "^6.1.0", "jsdoc": "^4.0.5", "lint-staged": "^17.0.8", "mocha": "^11.7.6", "neostandard": "0.13.0", "nock": "13.5.6", "node-mocks-http": "^1.17.2", "nodemon": "^3.1.14", "npm-run-all": "^4.1.5", "open-cli": "^9.0.0", "portfinder": "^1.0.38", "prettier": "3.9.4", "prism-react-renderer": "^2.4.1", "react": "^19.2.7", "react-dom": "^19.2.7", "rimraf": "^6.1.3", "sazerac": "^2.0.0", "simple-git-hooks": "^2.13.1", "sinon": "^22.0.0", "sinon-chai": "4.0.1", "snap-shot-it": "^7.9.10", "start-server-and-test": "3.0.11", "tsd": "^0.33.0", "url": "^0.11.4" }, "overrides": { "http-deceiver": "$http-deceiver" }, "engines": { "node": "^24 || ^26", "npm": "^11 || ^12" }, "type": "module", "collective": { "type": "opencollective", "url": "https://opencollective.com/shields", "logo": "https://opencollective.com/opencollective/logo.txt" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" } }