package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@ampproject/remapping",
  3. "version": "2.3.0",
  4. "description": "Remap sequential sourcemaps through transformations to point at the original source code",
  5. "keywords": [
  6. "source",
  7. "map",
  8. "remap"
  9. ],
  10. "main": "dist/remapping.umd.js",
  11. "module": "dist/remapping.mjs",
  12. "types": "dist/types/remapping.d.ts",
  13. "exports": {
  14. ".": [
  15. {
  16. "types": "./dist/types/remapping.d.ts",
  17. "browser": "./dist/remapping.umd.js",
  18. "require": "./dist/remapping.umd.js",
  19. "import": "./dist/remapping.mjs"
  20. },
  21. "./dist/remapping.umd.js"
  22. ],
  23. "./package.json": "./package.json"
  24. },
  25. "files": [
  26. "dist"
  27. ],
  28. "author": "Justin Ridgewell <jridgewell@google.com>",
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/ampproject/remapping.git"
  32. },
  33. "license": "Apache-2.0",
  34. "engines": {
  35. "node": ">=6.0.0"
  36. },
  37. "scripts": {
  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. "prebuild": "rm -rf dist",
  45. "prepublishOnly": "npm run preversion",
  46. "preversion": "run-s test build",
  47. "test": "run-s -n test:lint test:only",
  48. "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
  49. "test:lint": "run-s -n test:lint:*",
  50. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  51. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  52. "test:only": "jest --coverage",
  53. "test:watch": "jest --coverage --watch"
  54. },
  55. "devDependencies": {
  56. "@rollup/plugin-typescript": "8.3.2",
  57. "@types/jest": "27.4.1",
  58. "@typescript-eslint/eslint-plugin": "5.20.0",
  59. "@typescript-eslint/parser": "5.20.0",
  60. "eslint": "8.14.0",
  61. "eslint-config-prettier": "8.5.0",
  62. "jest": "27.5.1",
  63. "jest-config": "27.5.1",
  64. "npm-run-all": "4.1.5",
  65. "prettier": "2.6.2",
  66. "rollup": "2.70.2",
  67. "ts-jest": "27.1.4",
  68. "tslib": "2.4.0",
  69. "typescript": "4.6.3"
  70. },
  71. "dependencies": {
  72. "@jridgewell/gen-mapping": "^0.3.5",
  73. "@jridgewell/trace-mapping": "^0.3.24"
  74. }
  75. }