package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@jridgewell/sourcemap-codec",
  3. "version": "1.4.11",
  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. "typings": "dist/types/sourcemap-codec.d.ts",
  12. "files": [
  13. "dist"
  14. ],
  15. "exports": {
  16. ".": {
  17. "browser": "./dist/sourcemap-codec.umd.js",
  18. "import": "./dist/sourcemap-codec.mjs",
  19. "require": "./dist/sourcemap-codec.umd.js"
  20. },
  21. "./package.json": "./package.json"
  22. },
  23. "scripts": {
  24. "benchmark": "run-s build:rollup benchmark:only",
  25. "benchmark:only": "node benchmark/index.js",
  26. "build": "run-s -n build:*",
  27. "build:rollup": "rollup -c rollup.config.js",
  28. "build:ts": "tsc --project tsconfig.build.json",
  29. "lint": "run-s -n lint:*",
  30. "lint:prettier": "npm run test:lint:prettier -- --write",
  31. "lint:ts": "npm run test:lint:ts -- --fix",
  32. "prebuild": "rm -rf dist",
  33. "prepublishOnly": "npm run preversion",
  34. "preversion": "run-s test build",
  35. "pretest": "run-s build:rollup",
  36. "test": "run-s -n test:lint test:only",
  37. "test:debug": "mocha --inspect-brk",
  38. "test:lint": "run-s -n test:lint:*",
  39. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  40. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  41. "test:only": "mocha",
  42. "test:coverage": "c8 mocha",
  43. "test:watch": "mocha --watch"
  44. },
  45. "repository": {
  46. "type": "git",
  47. "url": "git+https://github.com/jridgewell/sourcemap-codec.git"
  48. },
  49. "author": "Rich Harris",
  50. "license": "MIT",
  51. "devDependencies": {
  52. "@rollup/plugin-typescript": "8.3.0",
  53. "@types/node": "17.0.15",
  54. "@typescript-eslint/eslint-plugin": "5.10.0",
  55. "@typescript-eslint/parser": "5.10.0",
  56. "benchmark": "2.1.4",
  57. "c8": "7.11.0",
  58. "eslint": "8.7.0",
  59. "eslint-config-prettier": "8.3.0",
  60. "mocha": "9.2.0",
  61. "npm-run-all": "4.1.5",
  62. "prettier": "2.5.1",
  63. "rollup": "2.64.0",
  64. "source-map": "0.6.1",
  65. "source-map-js": "1.0.2",
  66. "sourcemap-codec": "1.4.8",
  67. "typescript": "4.5.4"
  68. }
  69. }