package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "_from": "@jridgewell/trace-mapping@^0.3.28",
  3. "_id": "@jridgewell/trace-mapping@0.3.31",
  4. "_inBundle": false,
  5. "_integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
  6. "_location": "/@jridgewell/trace-mapping",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@jridgewell/trace-mapping@^0.3.28",
  12. "name": "@jridgewell/trace-mapping",
  13. "escapedName": "@jridgewell%2ftrace-mapping",
  14. "scope": "@jridgewell",
  15. "rawSpec": "^0.3.28",
  16. "saveSpec": null,
  17. "fetchSpec": "^0.3.28"
  18. },
  19. "_requiredBy": [
  20. "/@babel/generator",
  21. "/@jridgewell/gen-mapping",
  22. "/@jridgewell/remapping",
  23. "/@jridgewell/source-map",
  24. "/terser-webpack-plugin"
  25. ],
  26. "_resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
  27. "_shasum": "db15d6781c931f3a251a3dac39501c98a6082fd0",
  28. "_spec": "@jridgewell/trace-mapping@^0.3.28",
  29. "_where": "E:\\git\\2021项目\\安科院大屏\\node_modules\\@babel\\generator",
  30. "author": {
  31. "name": "Justin Ridgewell",
  32. "email": "justin@ridgewell.name"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/jridgewell/sourcemaps/issues"
  36. },
  37. "bundleDependencies": false,
  38. "dependencies": {
  39. "@jridgewell/resolve-uri": "^3.1.0",
  40. "@jridgewell/sourcemap-codec": "^1.4.14"
  41. },
  42. "deprecated": false,
  43. "description": "Trace the original position through a source map",
  44. "exports": {
  45. ".": [
  46. {
  47. "import": {
  48. "types": "./types/trace-mapping.d.mts",
  49. "default": "./dist/trace-mapping.mjs"
  50. },
  51. "default": {
  52. "types": "./types/trace-mapping.d.cts",
  53. "default": "./dist/trace-mapping.umd.js"
  54. }
  55. },
  56. "./dist/trace-mapping.umd.js"
  57. ],
  58. "./package.json": "./package.json"
  59. },
  60. "files": [
  61. "dist",
  62. "src",
  63. "types"
  64. ],
  65. "homepage": "https://github.com/jridgewell/sourcemaps/tree/main/packages/trace-mapping",
  66. "keywords": [
  67. "source",
  68. "map"
  69. ],
  70. "license": "MIT",
  71. "main": "dist/trace-mapping.umd.js",
  72. "module": "dist/trace-mapping.mjs",
  73. "name": "@jridgewell/trace-mapping",
  74. "repository": {
  75. "type": "git",
  76. "url": "git+https://github.com/jridgewell/sourcemaps.git",
  77. "directory": "packages/trace-mapping"
  78. },
  79. "scripts": {
  80. "benchmark": "run-s build:code benchmark:*",
  81. "benchmark:install": "cd benchmark && npm install",
  82. "benchmark:only": "node --expose-gc benchmark/index.mjs",
  83. "build": "run-s -n build:code build:types",
  84. "build:code": "node ../../esbuild.mjs trace-mapping.ts",
  85. "build:types": "run-s build:types:force build:types:emit build:types:mts",
  86. "build:types:emit": "tsc --project tsconfig.build.json",
  87. "build:types:force": "rimraf tsconfig.build.tsbuildinfo",
  88. "build:types:mts": "node ../../mts-types.mjs",
  89. "clean": "run-s -n clean:code clean:types",
  90. "clean:code": "tsc --build --clean tsconfig.build.json",
  91. "clean:types": "rimraf dist types",
  92. "lint": "run-s -n lint:types lint:format",
  93. "lint:format": "npm run test:format -- --write",
  94. "lint:types": "npm run test:types -- --fix",
  95. "prepublishOnly": "npm run-s -n build test",
  96. "test": "run-s -n test:types test:only test:format",
  97. "test:format": "prettier --check '{src,test}/**/*.ts'",
  98. "test:only": "mocha",
  99. "test:types": "eslint '{src,test}/**/*.ts'"
  100. },
  101. "types": "types/trace-mapping.d.cts",
  102. "version": "0.3.31"
  103. }