package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@jridgewell/sourcemap-codec",
  3. "version": "1.5.0",
  4. "description": "Encode/decode sourcemap mappings",
  5. "keywords": [
  6. "sourcemap",
  7. "vlq"
  8. ],
  9. "main": "dist/sourcemap-codec.umd.js",
  10. "module": "dist/sourcemap-codec.mjs",
  11. "types": "dist/types/sourcemap-codec.d.ts",
  12. "files": [
  13. "dist"
  14. ],
  15. "exports": {
  16. ".": [
  17. {
  18. "types": "./dist/types/sourcemap-codec.d.ts",
  19. "browser": "./dist/sourcemap-codec.umd.js",
  20. "require": "./dist/sourcemap-codec.umd.js",
  21. "import": "./dist/sourcemap-codec.mjs"
  22. },
  23. "./dist/sourcemap-codec.umd.js"
  24. ],
  25. "./package.json": "./package.json"
  26. },
  27. "scripts": {
  28. "benchmark": "run-s build:rollup benchmark:*",
  29. "benchmark:install": "cd benchmark && npm install",
  30. "benchmark:only": "node --expose-gc benchmark/index.js",
  31. "build": "run-s -n build:*",
  32. "build:rollup": "rollup -c rollup.config.js",
  33. "build:ts": "tsc --project tsconfig.build.json",
  34. "lint": "run-s -n lint:*",
  35. "lint:prettier": "npm run test:lint:prettier -- --write",
  36. "lint:ts": "npm run test:lint:ts -- --fix",
  37. "prebuild": "rm -rf dist",
  38. "prepublishOnly": "npm run preversion",
  39. "preversion": "run-s test build",
  40. "test": "run-s -n test:lint test:only",
  41. "test:debug": "mocha --inspect-brk",
  42. "test:lint": "run-s -n test:lint:*",
  43. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  44. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  45. "test:only": "mocha",
  46. "test:coverage": "c8 mocha",
  47. "test:watch": "mocha --watch"
  48. },
  49. "repository": {
  50. "type": "git",
  51. "url": "git+https://github.com/jridgewell/sourcemap-codec.git"
  52. },
  53. "author": "Rich Harris",
  54. "license": "MIT",
  55. "devDependencies": {
  56. "@rollup/plugin-typescript": "8.3.0",
  57. "@types/mocha": "10.0.6",
  58. "@types/node": "17.0.15",
  59. "@typescript-eslint/eslint-plugin": "5.10.0",
  60. "@typescript-eslint/parser": "5.10.0",
  61. "benchmark": "2.1.4",
  62. "c8": "7.11.2",
  63. "eslint": "8.7.0",
  64. "eslint-config-prettier": "8.3.0",
  65. "mocha": "9.2.0",
  66. "npm-run-all": "4.1.5",
  67. "prettier": "2.5.1",
  68. "rollup": "2.64.0",
  69. "source-map": "0.6.1",
  70. "source-map-js": "1.0.2",
  71. "sourcemap-codec": "1.4.8",
  72. "tsx": "4.7.1",
  73. "typescript": "4.5.4"
  74. }
  75. }