package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "style-loader",
  3. "version": "3.3.1",
  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": "npm-run-all -l -p \"lint:**\"",
  30. "test:only": "cross-env NODE_ENV=test jest",
  31. "test:watch": "npm run test:only -- --watch",
  32. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  33. "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config test/manual/webpack.config.js",
  34. "pretest": "npm run lint",
  35. "test": "npm run test:coverage",
  36. "prepare": "husky install && npm run build",
  37. "release": "standard-version"
  38. },
  39. "files": [
  40. "dist"
  41. ],
  42. "peerDependencies": {
  43. "webpack": "^5.0.0"
  44. },
  45. "devDependencies": {
  46. "@babel/cli": "^7.14.5",
  47. "@babel/core": "^7.14.6",
  48. "@babel/preset-env": "^7.14.5",
  49. "@commitlint/cli": "^13.1.0",
  50. "@commitlint/config-conventional": "^13.1.0",
  51. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  52. "babel-jest": "^27.0.6",
  53. "cross-env": "^7.0.3",
  54. "css-loader": "^6.2.0",
  55. "del": "^6.0.0",
  56. "del-cli": "^4.0.1",
  57. "es-check": "^6.0.0",
  58. "eslint": "^8.0.1",
  59. "eslint-config-prettier": "^8.3.0",
  60. "eslint-plugin-import": "^2.23.4",
  61. "file-loader": "^6.2.0",
  62. "husky": "^7.0.1",
  63. "jest": "^27.0.6",
  64. "jsdom": "^18.0.0",
  65. "lint-staged": "^11.0.1",
  66. "memfs": "^3.2.2",
  67. "npm-run-all": "^4.1.5",
  68. "prettier": "^2.3.2",
  69. "sass": "^1.35.2",
  70. "sass-loader": "^12.1.0",
  71. "semver": "^7.3.4",
  72. "standard-version": "^9.3.1",
  73. "webpack": "^5.45.1",
  74. "webpack-cli": "^4.7.2",
  75. "webpack-dev-server": "^4.2.1"
  76. },
  77. "keywords": [
  78. "webpack"
  79. ]
  80. }