package.json 2.2 KB

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