package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "@jridgewell/trace-mapping",
  3. "version": "0.3.25",
  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.mjs",
  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": "mocha --inspect-brk",
  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 mocha",
  52. "test:watch": "mocha --watch"
  53. },
  54. "devDependencies": {
  55. "@rollup/plugin-typescript": "11.1.6",
  56. "@types/mocha": "10.0.6",
  57. "@types/node": "20.11.20",
  58. "@typescript-eslint/eslint-plugin": "6.18.1",
  59. "@typescript-eslint/parser": "6.18.1",
  60. "benchmark": "2.1.4",
  61. "c8": "9.0.0",
  62. "esbuild": "0.19.11",
  63. "eslint": "8.56.0",
  64. "eslint-config-prettier": "9.1.0",
  65. "eslint-plugin-no-only-tests": "3.1.0",
  66. "mocha": "10.3.0",
  67. "npm-run-all": "4.1.5",
  68. "prettier": "3.1.1",
  69. "rollup": "4.9.4",
  70. "tsx": "4.7.0",
  71. "typescript": "5.3.3"
  72. },
  73. "dependencies": {
  74. "@jridgewell/resolve-uri": "^3.1.0",
  75. "@jridgewell/sourcemap-codec": "^1.4.14"
  76. }
  77. }