package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@jridgewell/trace-mapping",
  3. "version": "0.3.13",
  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. "types": "./dist/types/trace-mapping.d.ts",
  18. "browser": "./dist/trace-mapping.umd.js",
  19. "require": "./dist/trace-mapping.umd.js",
  20. "import": "./dist/trace-mapping.mjs"
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "author": "Justin Ridgewell <justin@ridgewell.name>",
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/jridgewell/trace-mapping.git"
  28. },
  29. "license": "MIT",
  30. "scripts": {
  31. "benchmark": "run-s build:rollup benchmark:*",
  32. "benchmark:install": "cd benchmark && npm install",
  33. "benchmark:only": "node --expose-gc benchmark/index.mjs",
  34. "build": "run-s -n build:*",
  35. "build:rollup": "rollup -c rollup.config.js",
  36. "build:ts": "tsc --project tsconfig.build.json",
  37. "lint": "run-s -n lint:*",
  38. "lint:prettier": "npm run test:lint:prettier -- --write",
  39. "lint:ts": "npm run test:lint:ts -- --fix",
  40. "prebuild": "rm -rf dist",
  41. "prepublishOnly": "npm run preversion",
  42. "preversion": "run-s test build",
  43. "test": "run-s -n test:lint test:only",
  44. "test:debug": "ava debug",
  45. "test:lint": "run-s -n test:lint:*",
  46. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts' '**/*.md'",
  47. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  48. "test:only": "c8 ava",
  49. "test:watch": "ava --watch"
  50. },
  51. "devDependencies": {
  52. "@rollup/plugin-typescript": "8.3.2",
  53. "@typescript-eslint/eslint-plugin": "5.23.0",
  54. "@typescript-eslint/parser": "5.23.0",
  55. "ava": "4.2.0",
  56. "benchmark": "2.1.4",
  57. "c8": "7.11.2",
  58. "esbuild": "0.14.38",
  59. "esbuild-node-loader": "0.8.0",
  60. "eslint": "8.15.0",
  61. "eslint-config-prettier": "8.5.0",
  62. "eslint-plugin-no-only-tests": "2.6.0",
  63. "npm-run-all": "4.1.5",
  64. "prettier": "2.6.2",
  65. "rollup": "2.72.1",
  66. "typescript": "4.6.4"
  67. },
  68. "dependencies": {
  69. "@jridgewell/resolve-uri": "^3.0.3",
  70. "@jridgewell/sourcemap-codec": "^1.4.10"
  71. }
  72. }