package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "file-loader",
  3. "version": "1.1.11",
  4. "author": "Tobias Koppers @sokra",
  5. "description": "file loader module for webpack",
  6. "license": "MIT",
  7. "engines": {
  8. "node": ">= 4.3 < 5.0.0 || >= 5.10"
  9. },
  10. "main": "dist/cjs.js",
  11. "files": [
  12. "dist"
  13. ],
  14. "dependencies": {
  15. "loader-utils": "^1.0.2",
  16. "schema-utils": "^0.4.5"
  17. },
  18. "devDependencies": {
  19. "babel-cli": "^6.0.0",
  20. "babel-jest": "^21.0.0",
  21. "babel-plugin-transform-object-rest-spread": "^6.0.0",
  22. "babel-polyfill": "^6.0.0",
  23. "babel-preset-env": "^1.0.0",
  24. "cross-env": "^5.0.0",
  25. "del": "^3.0.0",
  26. "del-cli": "^1.0.0",
  27. "eslint": "^4.0.0",
  28. "eslint-config-webpack": "^1.0.0",
  29. "eslint-plugin-import": "^2.0.0",
  30. "jest": "^21.0.0",
  31. "lint-staged": "^5.0.0",
  32. "memory-fs": "^0.4.0",
  33. "nsp": "^2.0.0",
  34. "pre-commit": "^1.0.0",
  35. "standard-version": "^4.0.0",
  36. "webpack": "^3.0.0",
  37. "webpack-defaults": "^1.6.0"
  38. },
  39. "peerDependencies": {
  40. "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  41. },
  42. "scripts": {
  43. "start": "npm run build -- -w",
  44. "appveyor:test": "npm run test",
  45. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  46. "clean": "del-cli dist",
  47. "lint": "eslint --cache src test",
  48. "lint-staged": "lint-staged",
  49. "prepare": "npm run build",
  50. "prebuild": "npm run clean",
  51. "release": "standard-version",
  52. "security": "nsp check",
  53. "test": "jest",
  54. "test:watch": "jest --watch",
  55. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  56. "travis:lint": "npm run lint && npm run security",
  57. "travis:test": "npm run test -- --runInBand",
  58. "travis:coverage": "npm run test:coverage -- --runInBand",
  59. "webpack-defaults": "webpack-defaults"
  60. },
  61. "repository": "https://github.com/webpack/file-loader.git",
  62. "bugs": "https://github.com/webpack/file-loader/issues",
  63. "homepage": "https://webpack.js.org/loaders/file-loader",
  64. "pre-commit": "lint-staged",
  65. "lint-staged": {
  66. "*.js": [
  67. "eslint --fix",
  68. "git add"
  69. ]
  70. }
  71. }