package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@jridgewell/trace-mapping",
  3. "version": "0.3.20",
  4. "description": "Trace the original position through a source map",
  5. "keywords": [
  6. "source",
  7. "map"
  8. ],
  9. "main": "dist/trace-mapping.umd.js",
  10. "module": "dist/trace-mapping.mjs",
  11. "types": "dist/types/trace-mapping.d.ts",
  12. "files": [
  13. "dist"
  14. ],
  15. "exports": {
  16. ".": [
  17. {
  18. "types": "./dist/types/trace-mapping.d.ts",
  19. "browser": "./dist/trace-mapping.umd.js",
  20. "require": "./dist/trace-mapping.umd.js",
  21. "import": "./dist/trace-mapping.mjs"
  22. },
  23. "./dist/trace-mapping.umd.js"
  24. ],
  25. "./package.json": "./package.json"
  26. },
  27. "author": "Justin Ridgewell <justin@ridgewell.name>",
  28. "repository": {
  29. "type": "git",
  30. "url": "git+https://github.com/jridgewell/trace-mapping.git"
  31. },
  32. "license": "MIT",
  33. "scripts": {
  34. "benchmark": "run-s build:rollup benchmark:*",
  35. "benchmark:install": "cd benchmark && npm install",
  36. "benchmark:only": "node --expose-gc benchmark/index.mjs",
  37. "build": "run-s -n build:*",
  38. "build:rollup": "rollup -c rollup.config.js",
  39. "build:ts": "tsc --project tsconfig.build.json",
  40. "lint": "run-s -n lint:*",
  41. "lint:prettier": "npm run test:lint:prettier -- --write",
  42. "lint:ts": "npm run test:lint:ts -- --fix",
  43. "prebuild": "rm -rf dist",
  44. "prepublishOnly": "npm run preversion",
  45. "preversion": "run-s test build",
  46. "test": "run-s -n test:lint test:only",
  47. "test:debug": "ava debug",
  48. "test:lint": "run-s -n test:lint:*",
  49. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts' '**/*.md'",
  50. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  51. "test:only": "c8 ava",
  52. "test:watch": "ava --watch"
  53. },
  54. "devDependencies": {
  55. "@rollup/plugin-typescript": "8.5.0",
  56. "@typescript-eslint/eslint-plugin": "5.39.0",
  57. "@typescript-eslint/parser": "5.39.0",
  58. "ava": "4.3.3",
  59. "benchmark": "2.1.4",
  60. "c8": "7.12.0",
  61. "esbuild": "0.15.10",
  62. "eslint": "8.25.0",
  63. "eslint-config-prettier": "8.5.0",
  64. "eslint-plugin-no-only-tests": "3.0.0",
  65. "npm-run-all": "4.1.5",
  66. "prettier": "2.7.1",
  67. "rollup": "2.79.1",
  68. "tsx": "3.10.1",
  69. "typescript": "4.8.4"
  70. },
  71. "dependencies": {
  72. "@jridgewell/resolve-uri": "^3.1.0",
  73. "@jridgewell/sourcemap-codec": "^1.4.14"
  74. }
  75. }