| { |
| "name": "@mdn/browser-compat-data", |
| "version": "5.6.30", |
| "description": "Browser compatibility data provided by MDN Web Docs", |
| "main": "index.ts", |
| "type": "module", |
| "exports": { |
| ".": { |
| "require": { |
| "types": "./build/require.d.ts", |
| "default": "./build/data.json" |
| }, |
| "import": { |
| "types": "./build/import.d.mts", |
| "default": "./build/data.json" |
| } |
| }, |
| "./forLegacyNode": { |
| "types": "./build/import.d.mts", |
| "default": "./build/legacynode.mjs" |
| } |
| }, |
| "types": "./build/require.d.ts", |
| "engines": { |
| "node": ">=20" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/mdn/browser-compat-data.git" |
| }, |
| "keywords": [ |
| "bcd", |
| "browser-compat-data", |
| "browser", |
| "compatibility", |
| "data", |
| "mdn", |
| "mozilla" |
| ], |
| "author": "MDN Web Docs", |
| "license": "CC0-1.0", |
| "bugs": { |
| "url": "https://github.com/mdn/browser-compat-data/issues" |
| }, |
| "homepage": "https://github.com/mdn/browser-compat-data#readme", |
| "devDependencies": { |
| "@babel/eslint-parser": "~7.26.5", |
| "@babel/plugin-syntax-import-assertions": "~7.26.0", |
| "@ddbeck/mdn-content-inventory": "^0.2.20240621", |
| "@desertnet/html-parser": "~1.0.1", |
| "@types/deep-diff": "~1.0.1", |
| "@types/mocha": "~10.0.0", |
| "@types/node": "~22.10.0", |
| "@types/sinon": "^17.0.0", |
| "@types/yargs": "~17.0.10", |
| "@typescript-eslint/eslint-plugin": "~7.18.0", |
| "@typescript-eslint/parser": "~7.18.0", |
| "ajv": "~8.17.1", |
| "ajv-errors": "~3.0.0", |
| "ajv-formats": "~3.0.1", |
| "better-ajv-errors": "~1.2.0", |
| "c8": "~10.1.1", |
| "chalk": "~5.4.0", |
| "chalk-template": "~1.1.0", |
| "cli-progress": "^3.12.0", |
| "compare-versions": "~6.1.0", |
| "deep-diff": "~1.0.2", |
| "es-main": "~1.3.0", |
| "eslint": "~8.57.0", |
| "eslint-config-standard": "~17.1.0", |
| "eslint-import-resolver-typescript": "^3.5.2", |
| "eslint-plugin-import": "~2.31.0", |
| "eslint-plugin-jsdoc": "~50.6.0", |
| "eslint-plugin-node": "~11.1.0", |
| "eslint-plugin-prefer-arrow-functions": "~3.4.1", |
| "eslint-plugin-promise": "~6.6.0", |
| "eslint-plugin-unicorn": "^56.0.0", |
| "fast-json-stable-stringify": "~2.1.0", |
| "fdir": "~6.4.0", |
| "husky": "^9.1.1", |
| "json-schema-to-typescript": "~15.0.0", |
| "lint-staged": "^15.0.1", |
| "marked": "^15.0.1", |
| "mocha": "~11.0.1", |
| "open-cli": "~8.0.0", |
| "ora": "~8.1.0", |
| "prettier": "~3.4.0", |
| "sinon": "^19.0.1", |
| "tempy": "^3.1.0", |
| "tsx": "^4.19.2", |
| "typescript": "~5.7.2", |
| "web-features": "^2.15.0", |
| "web-specs": "^3.0.0", |
| "yargs": "~17.7.0" |
| }, |
| "scripts": { |
| "postinstall": "(git rev-parse --is-inside-work-tree && npm run save-git-history) || echo 'not in Git worktree; skipping save-git-history'", |
| "save-git-history": "tsx scripts/save-git-history.ts", |
| "prepare": "(husky || true) && npm run gentypes && npm run build", |
| "diff": "tsx scripts/diff.ts", |
| "unittest": "NODE_ENV=test c8 mocha index.test.ts --require tsx --recursive \"{,!(node_modules)/**}/*.test.ts\"", |
| "coverage": "c8 report -r lcov && open-cli coverage/lcov-report/index.html", |
| "format": "eslint . && prettier --check . && tsc --noEmit", |
| "format:fix": "eslint --quiet --fix . && prettier --write .", |
| "lint": "tsx lint/lint.ts", |
| "lint:fix": "tsx lint/fix.ts", |
| "fix": "npm run format:fix && npm run lint:fix", |
| "stats": "tsx scripts/statistics.ts", |
| "build": "tsx scripts/build/index.ts", |
| "gentypes": "tsx scripts/generate-types.ts", |
| "release": "tsx scripts/release/index.ts", |
| "remove-redundant-flags": "tsx scripts/remove-redundant-flags.ts", |
| "show-errors": "npm test 1> /dev/null", |
| "test": "npm run format && npm run lint && npm run unittest", |
| "traverse": "tsx scripts/traverse.ts", |
| "update-browser-releases": "tsx scripts/update-browser-releases/index.ts", |
| "bcd": "tsx scripts/bulk-editor/index.ts" |
| } |
| } |