package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@jridgewell/source-map",
  3. "version": "0.3.2",
  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.umd.js",
  14. "module": "dist/source-map.mjs",
  15. "typings": "dist/types/source-map.d.ts",
  16. "exports": {
  17. ".": {
  18. "browser": "./dist/source-map.umd.js",
  19. "require": "./dist/source-map.umd.js",
  20. "import": "./dist/source-map.mjs"
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "files": [
  25. "dist"
  26. ],
  27. "scripts": {
  28. "prebuild": "rm -rf dist",
  29. "build": "run-s -n build:*",
  30. "build:rollup": "rollup -c rollup.config.js",
  31. "build:ts": "tsc --project tsconfig.build.json",
  32. "lint": "run-s -n lint:*",
  33. "lint:prettier": "npm run test:lint:prettier -- --write",
  34. "lint:ts": "npm run test:lint:ts -- --fix",
  35. "pretest": "run-s build:rollup",
  36. "test": "run-s -n test:lint test:only",
  37. "test:debug": "mocha --inspect-brk",
  38. "test:lint": "run-s -n test:lint:*",
  39. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  40. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  41. "test:only": "mocha",
  42. "test:coverage": "c8 mocha",
  43. "test:watch": "mocha --watch",
  44. "prepublishOnly": "npm run preversion",
  45. "preversion": "run-s test build"
  46. },
  47. "devDependencies": {
  48. "@rollup/plugin-node-resolve": "13.2.1",
  49. "@rollup/plugin-typescript": "8.3.0",
  50. "@types/mocha": "9.1.1",
  51. "@types/node": "17.0.30",
  52. "@typescript-eslint/eslint-plugin": "5.10.0",
  53. "@typescript-eslint/parser": "5.10.0",
  54. "c8": "7.11.0",
  55. "eslint": "8.7.0",
  56. "eslint-config-prettier": "8.3.0",
  57. "mocha": "9.2.0",
  58. "npm-run-all": "4.1.5",
  59. "prettier": "2.5.1",
  60. "rollup": "2.66.0",
  61. "typescript": "4.5.5"
  62. },
  63. "dependencies": {
  64. "@jridgewell/gen-mapping": "^0.3.0",
  65. "@jridgewell/trace-mapping": "^0.3.9"
  66. }
  67. }