package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "mini-css-extract-plugin",
  3. "version": "0.6.0",
  4. "description": "extracts CSS into separate files",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/mini-css-extract-plugin",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/mini-css-extract-plugin",
  9. "bugs": "https://github.com/webpack-contrib/mini-css-extract-plugin/issues",
  10. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 6.9.0"
  13. },
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "prebuild": "npm run clean",
  17. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  18. "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js",
  19. "clean": "del-cli dist",
  20. "commitlint": "commitlint --from=master",
  21. "lint": "eslint --cache src test",
  22. "prepublish": "npm run build",
  23. "release": "standard-version",
  24. "security": "npm audit",
  25. "test:only": "jest",
  26. "test:watch": "jest --watch",
  27. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  28. "pretest": "npm run lint",
  29. "test": "npm run test:only",
  30. "ci:lint": "npm run lint && npm run security",
  31. "ci:test": "npm run test:only -- --runInBand",
  32. "ci:coverage": "npm run test:coverage -- --runInBand",
  33. "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
  34. "defaults": "webpack-defaults"
  35. },
  36. "files": [
  37. "dist"
  38. ],
  39. "peerDependencies": {
  40. "webpack": "^4.4.0"
  41. },
  42. "dependencies": {
  43. "loader-utils": "^1.1.0",
  44. "normalize-url": "^2.0.1",
  45. "schema-utils": "^1.0.0",
  46. "webpack-sources": "^1.1.0"
  47. },
  48. "devDependencies": {
  49. "@babel/cli": "^7.4.3",
  50. "@babel/core": "^7.4.3",
  51. "@babel/preset-env": "^7.4.3",
  52. "@commitlint/cli": "^7.5.2",
  53. "@commitlint/config-conventional": "^7.5.0",
  54. "@webpack-contrib/defaults": "^3.1.1",
  55. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  56. "acorn": "^6.1.1",
  57. "babel-eslint": "^10.0.1",
  58. "babel-jest": "^24.7.1",
  59. "cross-env": "^5.1.3",
  60. "css-loader": "^2.1.1",
  61. "del": "^4.1.0",
  62. "del-cli": "^1.1.0",
  63. "es-check": "^5.0.0",
  64. "eslint": "^5.16.0",
  65. "eslint-plugin-import": "^2.16.0",
  66. "eslint-plugin-prettier": "^3.0.1",
  67. "file-loader": "^3.0.1",
  68. "husky": "^1.3.1",
  69. "jest": "^24.7.1",
  70. "lint-staged": "^8.1.5",
  71. "memory-fs": "^0.4.1",
  72. "pre-commit": "^1.2.2",
  73. "prettier": "^1.16.4",
  74. "standard-version": "^5.0.2",
  75. "webpack": "4.29.0",
  76. "webpack-cli": "^3.3.0",
  77. "webpack-dev-server": "^3.3.1"
  78. },
  79. "keywords": [
  80. "webpack",
  81. "css",
  82. "extract",
  83. "hmr"
  84. ],
  85. "babel": {
  86. "presets": [
  87. [
  88. "@babel/preset-env",
  89. {
  90. "targets": {
  91. "node": "6.9.0"
  92. }
  93. }
  94. ]
  95. ]
  96. },
  97. "husky": {
  98. "hooks": {
  99. "pre-commit": "lint-staged",
  100. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  101. }
  102. },
  103. "lint-staged": {
  104. "*.js": [
  105. "eslint --fix",
  106. "git add"
  107. ]
  108. },
  109. "commitlint": {
  110. "extends": [
  111. "@commitlint/config-conventional"
  112. ]
  113. },
  114. "prettier": {
  115. "singleQuote": true,
  116. "trailingComma": "es5",
  117. "arrowParens": "always"
  118. }
  119. }