package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@ampproject/remapping",
  3. "version": "2.1.2",
  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. "typings": "dist/types/remapping.d.ts",
  13. "files": [
  14. "dist"
  15. ],
  16. "author": "Justin Ridgewell <jridgewell@google.com>",
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/ampproject/remapping.git"
  20. },
  21. "license": "Apache-2.0",
  22. "engines": {
  23. "node": ">=6.0.0"
  24. },
  25. "scripts": {
  26. "build": "run-s -n build:*",
  27. "build:rollup": "rollup -c rollup.config.js",
  28. "build:ts": "tsc --project tsconfig.build.json",
  29. "lint": "run-s -n lint:*",
  30. "lint:prettier": "npm run test:lint:prettier -- --write",
  31. "lint:ts": "npm run test:lint:ts -- --fix",
  32. "prebuild": "rm -rf dist",
  33. "prepublishOnly": "npm run preversion",
  34. "preversion": "run-s test build",
  35. "test": "run-s -n test:lint test:only",
  36. "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
  37. "test:lint": "run-s -n test:lint:*",
  38. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  39. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  40. "test:only": "jest --coverage",
  41. "test:watch": "jest --coverage --watch"
  42. },
  43. "devDependencies": {
  44. "@rollup/plugin-typescript": "8.3.0",
  45. "@types/jest": "27.4.0",
  46. "@typescript-eslint/eslint-plugin": "5.10.2",
  47. "@typescript-eslint/parser": "5.10.2",
  48. "eslint": "8.8.0",
  49. "eslint-config-prettier": "8.3.0",
  50. "jest": "27.4.7",
  51. "jest-config": "27.4.7",
  52. "npm-run-all": "4.1.5",
  53. "prettier": "2.5.1",
  54. "rollup": "2.67.0",
  55. "ts-jest": "27.1.3",
  56. "tslib": "2.3.1",
  57. "typescript": "4.5.5"
  58. },
  59. "dependencies": {
  60. "@jridgewell/trace-mapping": "^0.3.0"
  61. }
  62. }