package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@jridgewell/gen-mapping",
  3. "version": "0.3.5",
  4. "description": "Generate source maps",
  5. "keywords": [
  6. "source",
  7. "map"
  8. ],
  9. "author": "Justin Ridgewell <justin@ridgewell.name>",
  10. "license": "MIT",
  11. "repository": "https://github.com/jridgewell/gen-mapping",
  12. "main": "dist/gen-mapping.umd.js",
  13. "module": "dist/gen-mapping.mjs",
  14. "types": "dist/types/gen-mapping.d.ts",
  15. "exports": {
  16. ".": [
  17. {
  18. "types": "./dist/types/gen-mapping.d.ts",
  19. "browser": "./dist/gen-mapping.umd.js",
  20. "require": "./dist/gen-mapping.umd.js",
  21. "import": "./dist/gen-mapping.mjs"
  22. },
  23. "./dist/gen-mapping.umd.js"
  24. ],
  25. "./package.json": "./package.json"
  26. },
  27. "files": [
  28. "dist"
  29. ],
  30. "engines": {
  31. "node": ">=6.0.0"
  32. },
  33. "scripts": {
  34. "benchmark": "run-s build:rollup benchmark:*",
  35. "benchmark:install": "cd benchmark && npm install",
  36. "benchmark:only": "node benchmark/index.mjs",
  37. "prebuild": "rm -rf dist",
  38. "build": "run-s -n build:*",
  39. "build:rollup": "rollup -c rollup.config.js",
  40. "build:ts": "tsc --project tsconfig.build.json",
  41. "lint": "run-s -n lint:*",
  42. "lint:prettier": "npm run test:lint:prettier -- --write",
  43. "lint:ts": "npm run test:lint:ts -- --fix",
  44. "test": "run-s -n test:lint test:only",
  45. "test:debug": "mocha --inspect-brk",
  46. "test:lint": "run-s -n test:lint:*",
  47. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  48. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  49. "test:only": "c8 mocha",
  50. "test:watch": "mocha --watch",
  51. "prepublishOnly": "npm run preversion",
  52. "preversion": "run-s test build"
  53. },
  54. "devDependencies": {
  55. "@rollup/plugin-typescript": "8.3.2",
  56. "@types/mocha": "9.1.1",
  57. "@types/node": "17.0.29",
  58. "@typescript-eslint/eslint-plugin": "5.21.0",
  59. "@typescript-eslint/parser": "5.21.0",
  60. "benchmark": "2.1.4",
  61. "c8": "7.11.2",
  62. "eslint": "8.14.0",
  63. "eslint-config-prettier": "8.5.0",
  64. "mocha": "9.2.2",
  65. "npm-run-all": "4.1.5",
  66. "prettier": "2.6.2",
  67. "rollup": "2.70.2",
  68. "tsx": "4.7.1",
  69. "typescript": "4.6.3"
  70. },
  71. "dependencies": {
  72. "@jridgewell/set-array": "^1.2.1",
  73. "@jridgewell/sourcemap-codec": "^1.4.10",
  74. "@jridgewell/trace-mapping": "^0.3.24"
  75. }
  76. }