package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@jridgewell/source-map",
  3. "version": "0.3.6",
  4. "description": "Packages @jridgewell/trace-mapping and @jridgewell/gen-mapping into the familiar source-map API",
  5. "keywords": [
  6. "sourcemap",
  7. "source",
  8. "map"
  9. ],
  10. "author": "Justin Ridgewell <justin@ridgewell.name>",
  11. "license": "MIT",
  12. "repository": "https://github.com/jridgewell/source-map",
  13. "main": "dist/source-map.cjs",
  14. "module": "dist/source-map.mjs",
  15. "types": "dist/types/source-map.d.ts",
  16. "exports": {
  17. ".": [
  18. {
  19. "types": "./dist/types/source-map.d.ts",
  20. "browser": "./dist/source-map.umd.js",
  21. "require": "./dist/source-map.cjs",
  22. "import": "./dist/source-map.mjs"
  23. },
  24. "./dist/source-map.cjs"
  25. ],
  26. "./package.json": "./package.json"
  27. },
  28. "files": [
  29. "dist"
  30. ],
  31. "scripts": {
  32. "prebuild": "rm -rf dist",
  33. "build": "run-s -n build:*",
  34. "build:rollup": "rollup -c rollup.config.js",
  35. "build:ts": "tsc --project tsconfig.build.json",
  36. "lint": "run-s -n lint:*",
  37. "lint:prettier": "npm run test:lint:prettier -- --write",
  38. "lint:ts": "npm run test:lint:ts -- --fix",
  39. "test": "run-s -n test:lint test:only",
  40. "test:debug": "ts-mocha --inspect-brk",
  41. "test:lint": "run-s -n test:lint:*",
  42. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  43. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  44. "test:only": "ts-mocha",
  45. "test:coverage": "c8 --reporter text --reporter html ts-mocha",
  46. "test:watch": "ts-mocha --watch",
  47. "prepublishOnly": "npm run preversion",
  48. "preversion": "run-s test build"
  49. },
  50. "devDependencies": {
  51. "@rollup/plugin-node-resolve": "13.2.1",
  52. "@rollup/plugin-typescript": "8.3.0",
  53. "@types/mocha": "9.1.1",
  54. "@types/node": "17.0.30",
  55. "@typescript-eslint/eslint-plugin": "5.10.0",
  56. "@typescript-eslint/parser": "5.10.0",
  57. "c8": "7.11.0",
  58. "eslint": "8.7.0",
  59. "eslint-config-prettier": "8.3.0",
  60. "mocha": "10.0.0",
  61. "npm-run-all": "4.1.5",
  62. "prettier": "2.5.1",
  63. "rollup": "2.66.0",
  64. "ts-mocha": "10.0.0",
  65. "typescript": "4.5.5"
  66. },
  67. "dependencies": {
  68. "@jridgewell/gen-mapping": "^0.3.5",
  69. "@jridgewell/trace-mapping": "^0.3.25"
  70. }
  71. }