package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "@jridgewell/gen-mapping",
  3. "version": "0.3.3",
  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. "pretest": "run-s build:rollup",
  45. "test": "run-s -n test:lint test:coverage",
  46. "test:debug": "mocha --inspect-brk",
  47. "test:lint": "run-s -n test:lint:*",
  48. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  49. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  50. "test:only": "mocha",
  51. "test:coverage": "c8 mocha",
  52. "test:watch": "run-p 'build:rollup -- --watch' 'test:only -- --watch'",
  53. "prepublishOnly": "npm run preversion",
  54. "preversion": "run-s test build"
  55. },
  56. "devDependencies": {
  57. "@rollup/plugin-typescript": "8.3.2",
  58. "@types/mocha": "9.1.1",
  59. "@types/node": "17.0.29",
  60. "@typescript-eslint/eslint-plugin": "5.21.0",
  61. "@typescript-eslint/parser": "5.21.0",
  62. "benchmark": "2.1.4",
  63. "c8": "7.11.2",
  64. "eslint": "8.14.0",
  65. "eslint-config-prettier": "8.5.0",
  66. "mocha": "9.2.2",
  67. "npm-run-all": "4.1.5",
  68. "prettier": "2.6.2",
  69. "rollup": "2.70.2",
  70. "typescript": "4.6.3"
  71. },
  72. "dependencies": {
  73. "@jridgewell/set-array": "^1.0.1",
  74. "@jridgewell/sourcemap-codec": "^1.4.10",
  75. "@jridgewell/trace-mapping": "^0.3.9"
  76. }
  77. }