package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "cache-loader",
  3. "version": "2.0.1",
  4. "description": "Caches the result of following loaders on disk.",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/cache-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/cache-loader",
  9. "bugs": "https://github.com/webpack-contrib/cache-loader/issues",
  10. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 6.9.0"
  13. },
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  17. "clean": "del-cli dist",
  18. "commitlint": "commitlint",
  19. "commitmsg": "commitlint -e $GIT_PARAMS",
  20. "lint": "eslint --cache src test",
  21. "prebuild": "npm run clean",
  22. "prepublish": "npm run build",
  23. "release": "standard-version",
  24. "security": "npm audit",
  25. "test": "jest",
  26. "test:watch": "jest --watch",
  27. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  28. "ci:lint": "npm run lint && npm run security",
  29. "ci:test": "npm run test -- --runInBand",
  30. "ci:coverage": "npm run test:coverage -- --runInBand",
  31. "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
  32. "defaults": "webpack-defaults"
  33. },
  34. "files": [
  35. "dist"
  36. ],
  37. "peerDependencies": {
  38. "webpack": "^4.0.0"
  39. },
  40. "dependencies": {
  41. "loader-utils": "^1.1.0",
  42. "mkdirp": "^0.5.1",
  43. "neo-async": "^2.6.0",
  44. "normalize-path": "^3.0.0",
  45. "schema-utils": "^1.0.0"
  46. },
  47. "devDependencies": {
  48. "@babel/cli": "^7.2.3",
  49. "@babel/core": "^7.2.2",
  50. "@babel/polyfill": "^7.2.3",
  51. "@babel/preset-env": "^7.2.3",
  52. "@commitlint/cli": "^7.2.1",
  53. "@commitlint/config-conventional": "^7.1.2",
  54. "@webpack-contrib/defaults": "^3.0.5",
  55. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  56. "babel-core": "^7.0.0-bridge.0",
  57. "babel-jest": "^23.6.0",
  58. "babel-loader": "^8.0.4",
  59. "cross-env": "^5.0.0",
  60. "del": "^3.0.0",
  61. "del-cli": "^1.0.0",
  62. "eslint": "^5.10.0",
  63. "eslint-config-webpack": "^1.0.0",
  64. "eslint-plugin-import": "^2.0.0",
  65. "eslint-plugin-prettier": "^3.0.0",
  66. "husky": "^1.2.1",
  67. "jest": "^23.6.0",
  68. "lint-staged": "^8.1.0",
  69. "memory-fs": "^0.4.1",
  70. "pre-commit": "^1.0.0",
  71. "prettier": "^1.15.2",
  72. "standard-version": "^4.0.0",
  73. "webpack": "^4.27.1",
  74. "webpack-cli": "^3.1.2"
  75. },
  76. "keywords": [
  77. "webpack"
  78. ],
  79. "babel": {
  80. "presets": [
  81. [
  82. "@babel/preset-env",
  83. {
  84. "targets": {
  85. "node": "6.9.0"
  86. },
  87. "useBuiltIns": "usage"
  88. }
  89. ]
  90. ]
  91. },
  92. "husky": {
  93. "hooks": {
  94. "pre-commit": "lint-staged"
  95. }
  96. },
  97. "lint-staged": {
  98. "*.js": [
  99. "eslint --fix",
  100. "git add"
  101. ]
  102. },
  103. "commitlint": {
  104. "extends": [
  105. "@commitlint/config-conventional"
  106. ]
  107. }
  108. }