package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "source-map-loader",
  3. "version": "5.0.0",
  4. "description": "extracts inlined source map and offers it to webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/source-map-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/source-map-loader",
  9. "bugs": "https://github.com/webpack-contrib/source-map-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 18.12.0"
  17. },
  18. "scripts": {
  19. "start": "npm run build -- -w",
  20. "clean": "del-cli dist",
  21. "prebuild": "npm run clean",
  22. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  23. "commitlint": "commitlint --from=master",
  24. "security": "npm audit",
  25. "lint:prettier": "prettier --list-different .",
  26. "lint:js": "eslint --cache .",
  27. "lint:spelling": "cspell \"**/*.*\"",
  28. "lint": "npm-run-all -l -p \"lint:**\"",
  29. "fix:js": "npm run lint:js -- --fix",
  30. "fix:prettier": "npm run lint:prettier -- --write",
  31. "fix": "npm-run-all -l fix:js fix:prettier",
  32. "test:only": "cross-env NODE_ENV=test jest",
  33. "test:watch": "npm run test:only -- --watch",
  34. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  35. "pretest": "npm run lint",
  36. "test": "npm run test:coverage",
  37. "prepare": "husky install && npm run build",
  38. "release": "standard-version"
  39. },
  40. "files": [
  41. "dist"
  42. ],
  43. "peerDependencies": {
  44. "webpack": "^5.72.1"
  45. },
  46. "dependencies": {
  47. "iconv-lite": "^0.6.3",
  48. "source-map-js": "^1.0.2"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.23.4",
  52. "@babel/core": "^7.23.7",
  53. "@babel/preset-env": "^7.23.8",
  54. "@commitlint/cli": "^18.4.4",
  55. "@commitlint/config-conventional": "^18.4.4",
  56. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  57. "babel-jest": "^29.7.0",
  58. "cross-env": "^7.0.3",
  59. "cspell": "^8.3.2",
  60. "del": "^7.1.0",
  61. "del-cli": "^5.1.0",
  62. "eslint": "^8.50.0",
  63. "eslint-config-prettier": "^9.1.0",
  64. "eslint-plugin-import": "^2.28.1",
  65. "husky": "^8.0.3",
  66. "jest": "^29.7.0",
  67. "lint-staged": "^15.2.0",
  68. "memfs": "^4.6.0",
  69. "npm-run-all": "^4.1.5",
  70. "prettier": "^3.2.2",
  71. "standard-version": "^9.5.0",
  72. "webpack": "^5.88.2"
  73. },
  74. "keywords": [
  75. "webpack"
  76. ]
  77. }