package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "url-loader",
  3. "version": "1.1.2",
  4. "description": "A loader for webpack which transforms files into base64 URIs",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/url-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/url-loader",
  9. "bugs": "https://github.com/webpack-contrib/url-loader/issues",
  10. "bin": "",
  11. "main": "dist/cjs.js",
  12. "engines": {
  13. "node": ">= 6.9.0"
  14. },
  15. "scripts": {
  16. "start": "npm run build -- -w",
  17. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  18. "clean": "del-cli dist",
  19. "commitlint": "commitlint",
  20. "commitmsg": "commitlint -e $GIT_PARAMS",
  21. "lint": "eslint --cache src test",
  22. "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
  23. "lint-staged": "lint-staged",
  24. "prebuild": "npm run clean",
  25. "prepublish": "npm run build",
  26. "release": "standard-version",
  27. "release:ci": "conventional-github-releaser -p angular",
  28. "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
  29. "security": "nsp check",
  30. "test": "jest",
  31. "test:watch": "jest --watch",
  32. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  33. "ci:lint": "npm run lint && npm run security",
  34. "ci:test": "npm run test -- --runInBand",
  35. "ci:coverage": "npm run test:coverage -- --runInBand",
  36. "defaults": "webpack-defaults"
  37. },
  38. "files": [
  39. "dist"
  40. ],
  41. "peerDependencies": {
  42. "webpack": "^3.0.0 || ^4.0.0"
  43. },
  44. "dependencies": {
  45. "loader-utils": "^1.1.0",
  46. "mime": "^2.0.3",
  47. "schema-utils": "^1.0.0"
  48. },
  49. "devDependencies": {
  50. "@commitlint/cli": "^5.2.5",
  51. "@commitlint/config-angular": "^5.1.1",
  52. "@commitlint/config-conventional": "^7.0.1",
  53. "@webpack-contrib/defaults": "^2.4.0",
  54. "@webpack-contrib/eslint-config-webpack": "^2.0.2",
  55. "@webpack-contrib/test-utils": "^0.1.2",
  56. "babel-cli": "^6.26.0",
  57. "babel-jest": "^22.0.3",
  58. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  59. "babel-polyfill": "^6.26.0",
  60. "babel-preset-env": "^1.6.1",
  61. "conventional-github-releaser": "^2.0.0",
  62. "cross-env": "^5.1.1",
  63. "del": "^3.0.0",
  64. "del-cli": "^1.1.0",
  65. "eslint": "^4.13.1",
  66. "eslint-plugin-import": "^2.8.0",
  67. "eslint-plugin-prettier": "^2.4.0",
  68. "file-loader": "^1.1.6",
  69. "husky": "^0.14.3",
  70. "jest": "^22.0.3",
  71. "jest-serializer-path": "^0.1.15",
  72. "lint-staged": "^6.0.0",
  73. "memory-fs": "^0.4.1",
  74. "nsp": "^3.1.0",
  75. "pre-commit": "^1.2.2",
  76. "prettier": "^1.9.2",
  77. "standard-version": "^4.2.0",
  78. "webpack": "^4.0.0"
  79. },
  80. "keywords": [
  81. "webpack"
  82. ],
  83. "jest": {
  84. "snapshotSerializers": [
  85. "jest-serializer-path"
  86. ],
  87. "testEnvironment": "node"
  88. },
  89. "pre-commit": "lint-staged",
  90. "lint-staged": {
  91. "*.js": [
  92. "eslint --fix",
  93. "git add"
  94. ]
  95. }
  96. }