package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "webpack-sources",
  3. "version": "3.3.4",
  4. "description": "Source code handling classes for webpack",
  5. "keywords": ["webpack", "source-map"],
  6. "homepage": "https://github.com/webpack/webpack-sources#readme",
  7. "bugs": {
  8. "url": "https://github.com/webpack/webpack-sources/issues"
  9. },
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/webpack/webpack-sources.git"
  13. },
  14. "license": "MIT",
  15. "author": "Tobias Koppers @sokra",
  16. "main": "lib/index.js",
  17. "types": "types.d.ts",
  18. "files": ["lib/", "types.d.ts"],
  19. "scripts": {
  20. "lint": "npm run lint:code && npm run lint:types && npm run lint:types-test && npm run lint:special",
  21. "lint:code": "eslint --cache .",
  22. "lint:special": "node node_modules/tooling/inherit-types && node node_modules/tooling/format-file-header && node node_modules/tooling/generate-types",
  23. "lint:types": "tsc",
  24. "lint:types-test": "tsc -p tsconfig.types.test.json",
  25. "fmt": "npm run fmt:base -- --loglevel warn --write",
  26. "fmt:check": "npm run fmt:base -- --check",
  27. "fmt:base": "prettier --cache --ignore-unknown .",
  28. "fix": "npm run fix:code && npm run fix:special",
  29. "fix:code": "npm run lint:code -- --fix",
  30. "fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
  31. "pretest": "npm run lint",
  32. "test": "jest",
  33. "cover": "jest --coverage"
  34. },
  35. "devDependencies": {
  36. "@types/jest": "^27.5.2",
  37. "eslint": "^9.28.0",
  38. "eslint-config-webpack": "^4.0.8",
  39. "jest": "^27.5.1",
  40. "prettier": "^3.5.3",
  41. "prettier-2": "npm:prettier@^2",
  42. "source-map": "^0.7.3",
  43. "sourcemap-validator": "^2.1.0",
  44. "tooling": "webpack/tooling#v1.24.4",
  45. "typescript": "^5.3.3",
  46. "webpack": "^5.99.9"
  47. },
  48. "engines": {
  49. "node": ">=10.13.0"
  50. }
  51. }