| { |
| "name": "@mdn/browser-compat-data", |
| "version": "6.0.4", |
| "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": { |
| "@ddbeck/mdn-content-inventory": "^0.2.20240621", |
| "@desertnet/html-parser": "~1.0.1", |
| "@eslint/compat": "^1.2.6", |
| "@eslint/eslintrc": "^3.2.0", |
| "@eslint/js": "^9.20.0", |
| "@types/deep-diff": "~1.0.1", |
| "@types/mocha": "~10.0.0", |
| "@types/node": "~22.14.0", |
| "@types/sinon": "^17.0.0", |
| "@types/yargs": "~17.0.10", |
| "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": "~9.23.0", |
| "eslint-import-resolver-typescript": "^4.2.0", |
| "eslint-plugin-import": "~2.31.0", |
| "eslint-plugin-jsdoc": "~50.6.0", |
| "eslint-plugin-node": "~11.1.0", |
| "eslint-plugin-prefer-arrow-functions": "~3.6.2", |
| "eslint-plugin-promise": "~7.2.1", |
| "eslint-plugin-unicorn": "^58.0.0", |
| "fast-json-stable-stringify": "~2.1.0", |
| "fdir": "~6.4.0", |
| "globals": "^16.0.0", |
| "json-schema-to-typescript": "~15.0.0", |
| "lefthook": "^1.11.7", |
| "markdown-table": "^3.0.4", |
| "marked": "^15.0.1", |
| "mocha": "~11.1.0", |
| "open-cli": "~8.0.0", |
| "ora": "~8.2.0", |
| "prettier": "~3.5.0", |
| "sinon": "^20.0.0", |
| "tempy": "^3.1.0", |
| "tsx": "^4.19.2", |
| "typescript": "~5.8.2", |
| "typescript-eslint": "^8.28.0", |
| "web-features": "^2.15.0", |
| "web-specs": "^3.0.0", |
| "xml2js": "^0.6.2", |
| "yargs": "~17.7.0" |
| }, |
| "scripts": { |
| "prepare": "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 --cache . && prettier --check --cache . && tsc --noEmit", |
| "format:fix": "eslint --quiet --fix --cache . && prettier --write --cache .", |
| "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", |
| "tag-web-features": "tsx scripts/tag-web-features.ts" |
| } |
| } |