package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "imports-loader",
  3. "version": "3.1.1",
  4. "description": "imports loader module for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/imports-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/imports-loader",
  9. "bugs": "https://github.com/webpack-contrib/imports-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 12.13.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": "npm-run-all -l -p \"lint:**\"",
  28. "test:only": "cross-env NODE_ENV=test jest",
  29. "test:watch": "npm run test:only -- --watch",
  30. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  31. "pretest": "npm run lint",
  32. "test": "npm run test:coverage",
  33. "prepare": "husky install && npm run build",
  34. "release": "standard-version"
  35. },
  36. "files": [
  37. "dist"
  38. ],
  39. "peerDependencies": {
  40. "webpack": "^5.0.0"
  41. },
  42. "dependencies": {
  43. "source-map": "^0.6.1",
  44. "strip-comments": "^2.0.1"
  45. },
  46. "devDependencies": {
  47. "@babel/cli": "^7.14.3",
  48. "@babel/core": "^7.14.3",
  49. "@babel/preset-env": "^7.14.2",
  50. "@commitlint/cli": "^14.1.0",
  51. "@commitlint/config-conventional": "^14.1.0",
  52. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  53. "babel-jest": "^27.3.1",
  54. "babel-loader": "^8.2.2",
  55. "cross-env": "^7.0.3",
  56. "del": "^6.0.0",
  57. "del-cli": "^4.0.1",
  58. "eslint": "^8.0.1",
  59. "eslint-config-prettier": "^8.3.0",
  60. "eslint-plugin-import": "^2.23.2",
  61. "husky": "^7.0.0",
  62. "jest": "^27.3.1",
  63. "lint-staged": "^11.0.0",
  64. "memfs": "^3.2.2",
  65. "npm-run-all": "^4.1.5",
  66. "prettier": "^2.3.0",
  67. "standard-version": "^9.3.0",
  68. "webpack": "^5.37.0"
  69. },
  70. "keywords": [
  71. "webpack"
  72. ]
  73. }