package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "_from": "@jridgewell/sourcemap-codec@^1.5.0",
  3. "_id": "@jridgewell/sourcemap-codec@1.5.5",
  4. "_inBundle": false,
  5. "_integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
  6. "_location": "/@jridgewell/sourcemap-codec",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@jridgewell/sourcemap-codec@^1.5.0",
  12. "name": "@jridgewell/sourcemap-codec",
  13. "escapedName": "@jridgewell%2fsourcemap-codec",
  14. "scope": "@jridgewell",
  15. "rawSpec": "^1.5.0",
  16. "saveSpec": null,
  17. "fetchSpec": "^1.5.0"
  18. },
  19. "_requiredBy": [
  20. "/@jridgewell/gen-mapping",
  21. "/@jridgewell/trace-mapping"
  22. ],
  23. "_resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
  24. "_shasum": "6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba",
  25. "_spec": "@jridgewell/sourcemap-codec@^1.5.0",
  26. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\@jridgewell\\gen-mapping",
  27. "author": {
  28. "name": "Justin Ridgewell",
  29. "email": "justin@ridgewell.name"
  30. },
  31. "bugs": {
  32. "url": "https://github.com/jridgewell/sourcemaps/issues"
  33. },
  34. "bundleDependencies": false,
  35. "deprecated": false,
  36. "description": "Encode/decode sourcemap mappings",
  37. "exports": {
  38. ".": [
  39. {
  40. "import": {
  41. "types": "./types/sourcemap-codec.d.mts",
  42. "default": "./dist/sourcemap-codec.mjs"
  43. },
  44. "default": {
  45. "types": "./types/sourcemap-codec.d.cts",
  46. "default": "./dist/sourcemap-codec.umd.js"
  47. }
  48. },
  49. "./dist/sourcemap-codec.umd.js"
  50. ],
  51. "./package.json": "./package.json"
  52. },
  53. "files": [
  54. "dist",
  55. "src",
  56. "types"
  57. ],
  58. "homepage": "https://github.com/jridgewell/sourcemaps/tree/main/packages/sourcemap-codec",
  59. "keywords": [
  60. "sourcemap",
  61. "vlq"
  62. ],
  63. "license": "MIT",
  64. "main": "dist/sourcemap-codec.umd.js",
  65. "module": "dist/sourcemap-codec.mjs",
  66. "name": "@jridgewell/sourcemap-codec",
  67. "repository": {
  68. "type": "git",
  69. "url": "git+https://github.com/jridgewell/sourcemaps.git",
  70. "directory": "packages/sourcemap-codec"
  71. },
  72. "scripts": {
  73. "benchmark": "run-s build:code benchmark:*",
  74. "benchmark:install": "cd benchmark && npm install",
  75. "benchmark:only": "node --expose-gc benchmark/index.js",
  76. "build": "run-s -n build:code build:types",
  77. "build:code": "node ../../esbuild.mjs sourcemap-codec.ts",
  78. "build:types": "run-s build:types:force build:types:emit build:types:mts",
  79. "build:types:emit": "tsc --project tsconfig.build.json",
  80. "build:types:force": "rimraf tsconfig.build.tsbuildinfo",
  81. "build:types:mts": "node ../../mts-types.mjs",
  82. "clean": "run-s -n clean:code clean:types",
  83. "clean:code": "tsc --build --clean tsconfig.build.json",
  84. "clean:types": "rimraf dist types",
  85. "lint": "run-s -n lint:types lint:format",
  86. "lint:format": "npm run test:format -- --write",
  87. "lint:types": "npm run test:types -- --fix",
  88. "prepublishOnly": "npm run-s -n build test",
  89. "test": "run-s -n test:types test:only test:format",
  90. "test:format": "prettier --check '{src,test}/**/*.ts'",
  91. "test:only": "mocha",
  92. "test:types": "eslint '{src,test}/**/*.ts'"
  93. },
  94. "types": "types/sourcemap-codec.d.cts",
  95. "version": "1.5.5"
  96. }