package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "style-loader",
  3. "version": "3.3.4",
  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": ">= 12.13.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 --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint:spelling": "cspell \"**/*.*\"",
  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 install && npm run build",
  41. "release": "standard-version"
  42. },
  43. "files": [
  44. "dist"
  45. ],
  46. "peerDependencies": {
  47. "webpack": "^5.0.0"
  48. },
  49. "devDependencies": {
  50. "@babel/cli": "^7.21.5",
  51. "@babel/core": "^7.22.1",
  52. "@babel/preset-env": "^7.22.4",
  53. "@commitlint/cli": "^16.3.0",
  54. "@commitlint/config-conventional": "^16.2.4",
  55. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  56. "babel-jest": "^28.1.3",
  57. "cross-env": "^7.0.3",
  58. "cspell": "^6.31.1",
  59. "css-loader": "^6.8.1",
  60. "del": "^6.1.1",
  61. "del-cli": "^4.0.1",
  62. "es-check": "^7.1.1",
  63. "eslint": "^8.41.0",
  64. "eslint-config-prettier": "^8.8.0",
  65. "eslint-plugin-import": "^2.27.5",
  66. "file-loader": "^6.2.0",
  67. "husky": "^7.0.1",
  68. "jest": "^28.1.3",
  69. "jest-environment-jsdom": "^28.1.3",
  70. "jsdom": "^18.1.1",
  71. "lint-staged": "^12.5.0",
  72. "memfs": "^3.5.1",
  73. "npm-run-all": "^4.1.5",
  74. "prettier": "^2.8.8",
  75. "sass": "^1.62.1",
  76. "sass-loader": "^12.4.0",
  77. "semver": "^7.5.1",
  78. "standard-version": "^9.5.0",
  79. "webpack": "^5.85.0",
  80. "webpack-cli": "^4.10.0",
  81. "webpack-dev-server": "^4.15.0"
  82. },
  83. "keywords": [
  84. "webpack"
  85. ]
  86. }