package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "@jridgewell/gen-mapping",
  3. "version": "0.3.2",
  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. "typings": "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. "src"
  30. ],
  31. "engines": {
  32. "node": ">=6.0.0"
  33. },
  34. "scripts": {
  35. "benchmark": "run-s build:rollup benchmark:*",
  36. "benchmark:install": "cd benchmark && npm install",
  37. "benchmark:only": "node benchmark/index.mjs",
  38. "prebuild": "rm -rf dist",
  39. "build": "run-s -n build:*",
  40. "build:rollup": "rollup -c rollup.config.js",
  41. "build:ts": "tsc --project tsconfig.build.json",
  42. "lint": "run-s -n lint:*",
  43. "lint:prettier": "npm run test:lint:prettier -- --write",
  44. "lint:ts": "npm run test:lint:ts -- --fix",
  45. "pretest": "run-s build:rollup",
  46. "test": "run-s -n test:lint test:coverage",
  47. "test:debug": "mocha --inspect-brk",
  48. "test:lint": "run-s -n test:lint:*",
  49. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  50. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  51. "test:only": "mocha",
  52. "test:coverage": "c8 mocha",
  53. "test:watch": "run-p 'build:rollup -- --watch' 'test:only -- --watch'",
  54. "prepublishOnly": "npm run preversion",
  55. "preversion": "run-s test build"
  56. },
  57. "devDependencies": {
  58. "@rollup/plugin-typescript": "8.3.2",
  59. "@types/mocha": "9.1.1",
  60. "@types/node": "17.0.29",
  61. "@typescript-eslint/eslint-plugin": "5.21.0",
  62. "@typescript-eslint/parser": "5.21.0",
  63. "benchmark": "2.1.4",
  64. "c8": "7.11.2",
  65. "eslint": "8.14.0",
  66. "eslint-config-prettier": "8.5.0",
  67. "mocha": "9.2.2",
  68. "npm-run-all": "4.1.5",
  69. "prettier": "2.6.2",
  70. "rollup": "2.70.2",
  71. "typescript": "4.6.3"
  72. },
  73. "dependencies": {
  74. "@jridgewell/set-array": "^1.0.1",
  75. "@jridgewell/sourcemap-codec": "^1.4.10",
  76. "@jridgewell/trace-mapping": "^0.3.9"
  77. }
  78. }