package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "_from": "baseline-browser-mapping@^2.9.0",
  3. "_id": "baseline-browser-mapping@2.9.9",
  4. "_inBundle": false,
  5. "_integrity": "sha512-V8fbOCSeOFvlDj7LLChUcqbZrdKD9RU/VR260piF1790vT0mfLSwGc/Qzxv3IqiTukOpNtItePa0HBpMAj7MDg==",
  6. "_location": "/baseline-browser-mapping",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "baseline-browser-mapping@^2.9.0",
  12. "name": "baseline-browser-mapping",
  13. "escapedName": "baseline-browser-mapping",
  14. "rawSpec": "^2.9.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.9.0"
  17. },
  18. "_requiredBy": [
  19. "/webpack/browserslist"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.9.tgz",
  22. "_shasum": "68c17013c33ba9e8264c5f2ae107d506228428ee",
  23. "_spec": "baseline-browser-mapping@^2.9.0",
  24. "_where": "E:\\2023\\5\\myjadmin\\node_modules\\webpack\\node_modules\\browserslist",
  25. "bin": {
  26. "baseline-browser-mapping": "dist/cli.js"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/web-platform-dx/baseline-browser-mapping/issues"
  30. },
  31. "bundleDependencies": false,
  32. "deprecated": false,
  33. "description": "A library for obtaining browser versions with their maximum supported Baseline feature set and Widely Available status.",
  34. "devDependencies": {
  35. "@mdn/browser-compat-data": "^7.2.1",
  36. "@rollup/plugin-terser": "^0.4.4",
  37. "@rollup/plugin-typescript": "^12.1.3",
  38. "@types/node": "^22.15.17",
  39. "eslint-plugin-new-with-error": "^5.0.0",
  40. "jasmine": "^5.8.0",
  41. "jasmine-browser-runner": "^3.0.0",
  42. "jasmine-spec-reporter": "^7.0.0",
  43. "prettier": "^3.5.3",
  44. "rollup": "^4.44.0",
  45. "tslib": "^2.8.1",
  46. "typescript": "^5.7.2",
  47. "typescript-eslint": "^8.35.0",
  48. "web-features": "^3.11.1"
  49. },
  50. "exports": {
  51. ".": {
  52. "require": "./dist/index.cjs",
  53. "types": "./dist/index.d.ts",
  54. "default": "./dist/index.js"
  55. },
  56. "./legacy": {
  57. "require": "./dist/index.cjs",
  58. "types": "./dist/index.d.ts"
  59. }
  60. },
  61. "files": [
  62. "dist/*",
  63. "!dist/scripts/*",
  64. "LICENSE.txt",
  65. "README.md"
  66. ],
  67. "homepage": "https://github.com/web-platform-dx/baseline-browser-mapping#readme",
  68. "jsdelivr": "./dist/index.js",
  69. "license": "Apache-2.0",
  70. "main": "./dist/index.cjs",
  71. "name": "baseline-browser-mapping",
  72. "repository": {
  73. "type": "git",
  74. "url": "git+https://github.com/web-platform-dx/baseline-browser-mapping.git"
  75. },
  76. "scripts": {
  77. "build": "rm -rf dist; npx prettier . --write; rollup -c; rm -rf ./dist/scripts/expose-data.d.ts ./dist/cli.d.ts",
  78. "check-data-changes": "git diff --name-only | grep -q '^src/data/data.js$' && echo 'changes-available=TRUE' || echo 'changes-available=FALSE'",
  79. "fix-cli-permissions": "output=$(npx baseline-browser-mapping 2>&1); path=$(printf '%s\n' \"$output\" | sed -n 's/^.*: \\(.*\\): Permission denied$/\\1/p; t; s/^\\(.*\\): Permission denied$/\\1/p'); if [ -n \"$path\" ]; then echo \"Permission denied for: $path\"; echo \"Removing $path ...\"; rm -rf \"$path\"; else echo \"$output\"; fi",
  80. "refresh-downstream": "npx tsx scripts/refresh-downstream.ts",
  81. "refresh-static": "npx tsx scripts/refresh-static.ts",
  82. "test": "npm run build && npm run fix-cli-permissions && npm run test:format && npm run test:lint && npm run test:jasmine && npm run test:jasmine-browser",
  83. "test:format": "npx prettier --check .",
  84. "test:jasmine": "npx jasmine",
  85. "test:jasmine-browser": "npx jasmine-browser-runner runSpecs --config ./spec/support/jasmine-browser.js",
  86. "test:lint": "npx eslint .",
  87. "update-data-dependencies": "npm i @mdn/browser-compat-data@latest web-features@latest -D",
  88. "update-data-file": "npx tsx scripts/update-data-file.ts; npx prettier ./src/data/data.js --write"
  89. },
  90. "type": "module",
  91. "types": "./dist/index.d.ts",
  92. "version": "2.9.9"
  93. }