10
0

package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "style-loader",
  3. "version": "4.0.0",
  4. "description": "style loader module for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/style-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/style-loader",
  9. "bugs": "https://github.com/webpack-contrib/style-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. "validate:runtime": "es-check es3 \"dist/runtime/**/*.js\"",
  22. "prebuild": "npm run clean",
  23. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  24. "postbuild": "npm run validate:runtime",
  25. "commitlint": "commitlint --from=master",
  26. "security": "npm audit --production",
  27. "lint:prettier": "prettier --cache --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  30. "lint": "npm-run-all -l -p \"lint:**\"",
  31. "fix:js": "npm run lint:js -- --fix",
  32. "fix:prettier": "npm run lint:prettier -- --write",
  33. "fix": "npm-run-all -l fix:js fix:prettier",
  34. "test:only": "cross-env NODE_ENV=test jest",
  35. "test:watch": "npm run test:only -- --watch",
  36. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  37. "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config test/manual/webpack.config.js",
  38. "pretest": "npm run lint",
  39. "test": "npm run test:coverage",
  40. "prepare": "husky && npm run build",
  41. "release": "standard-version"
  42. },
  43. "files": [
  44. "dist"
  45. ],
  46. "peerDependencies": {
  47. "webpack": "^5.27.0"
  48. },
  49. "devDependencies": {
  50. "@babel/cli": "^7.24.1",
  51. "@babel/core": "^7.24.4",
  52. "@babel/preset-env": "^7.24.4",
  53. "@commitlint/cli": "^19.2.1",
  54. "@commitlint/config-conventional": "^19.1.0",
  55. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  56. "babel-jest": "^29.7.0",
  57. "cross-env": "^7.0.3",
  58. "cspell": "^8.6.1",
  59. "css-loader": "^7.0.0",
  60. "del-cli": "^5.1.0",
  61. "es-check": "^7.1.1",
  62. "eslint": "^8.57.0",
  63. "eslint-config-prettier": "^9.1.0",
  64. "eslint-plugin-import": "^2.29.1",
  65. "file-loader": "^6.2.0",
  66. "husky": "^9.0.11",
  67. "jest": "^29.7.0",
  68. "jest-environment-jsdom": "^29.7.0",
  69. "jsdom": "^24.0.0",
  70. "lint-staged": "^15.2.2",
  71. "memfs": "^4.8.1",
  72. "npm-run-all": "^4.1.5",
  73. "prettier": "^3.2.5",
  74. "sass": "^1.74.1",
  75. "sass-loader": "^14.1.1",
  76. "semver": "^7.6.0",
  77. "standard-version": "^9.5.0",
  78. "webpack": "^5.91.0",
  79. "webpack-cli": "^5.1.4",
  80. "webpack-dev-server": "^5.0.4"
  81. },
  82. "keywords": [
  83. "webpack"
  84. ]
  85. }