package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "style-loader",
  3. "version": "2.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": ">= 10.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",
  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-dev-server 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": "npm run build",
  37. "release": "standard-version",
  38. "defaults": "webpack-defaults"
  39. },
  40. "files": [
  41. "dist"
  42. ],
  43. "peerDependencies": {
  44. "webpack": "^4.0.0 || ^5.0.0"
  45. },
  46. "dependencies": {
  47. "loader-utils": "^2.0.0",
  48. "schema-utils": "^3.0.0"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.11.6",
  52. "@babel/core": "^7.11.6",
  53. "@babel/preset-env": "^7.11.5",
  54. "@commitlint/cli": "^11.0.0",
  55. "@commitlint/config-conventional": "^11.0.0",
  56. "@webpack-contrib/defaults": "^6.3.0",
  57. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  58. "babel-jest": "^26.5.2",
  59. "cross-env": "^7.0.2",
  60. "css-loader": "^4.3.0",
  61. "del": "^6.0.0",
  62. "del-cli": "^3.0.1",
  63. "es-check": "^5.1.1",
  64. "eslint": "^7.10.0",
  65. "eslint-config-prettier": "^6.12.0",
  66. "eslint-plugin-import": "^2.22.1",
  67. "file-loader": "^6.1.0",
  68. "husky": "^4.3.0",
  69. "jest": "^26.5.2",
  70. "jsdom": "^16.4.0",
  71. "lint-staged": "^10.4.0",
  72. "memfs": "^3.2.0",
  73. "npm-run-all": "^4.1.5",
  74. "prettier": "^2.1.2",
  75. "sass": "^1.27.0",
  76. "sass-loader": "^10.0.2",
  77. "semver": "^7.3.2",
  78. "standard-version": "^9.0.0",
  79. "webpack": "^4.44.2",
  80. "webpack-cli": "^3.3.12",
  81. "webpack-dev-server": "^3.11.0"
  82. },
  83. "keywords": [
  84. "webpack"
  85. ]
  86. }