package.json 2.1 KB

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