package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "image-conversion",
  3. "version": "2.1.1",
  4. "description": "A simple and easy-to-use JS image convert tools, which can specify size to compress the image.",
  5. "main": "index.js",
  6. "author": "wangyulue",
  7. "files": [
  8. "build",
  9. "src",
  10. "index.d.ts",
  11. "index.js",
  12. "tsconfig.json",
  13. "webpack.config.js"
  14. ],
  15. "keywords": [
  16. "image",
  17. "images",
  18. "resize",
  19. "conversion",
  20. "convert",
  21. "compress",
  22. "minify",
  23. "jpeg",
  24. "jpg",
  25. "png",
  26. "gif"
  27. ],
  28. "license": "MIT",
  29. "scripts": {
  30. "build": "webpack --config webpack.config.js",
  31. "build:test": "webpack --config test/webpack.config.js",
  32. "test": "yarn build:test && http-server . -o /test/unit/"
  33. },
  34. "husky": {
  35. "hooks": {
  36. "pre-commit": "lint-staged"
  37. }
  38. },
  39. "lint-staged": {
  40. "src/**/*.ts": "eslint"
  41. },
  42. "devDependencies": {
  43. "@types/chai": "^4.2.11",
  44. "@types/mocha": "^7.0.2",
  45. "@typescript-eslint/eslint-plugin": "^2.23.0",
  46. "@typescript-eslint/parser": "^2.23.0",
  47. "chai": "^4.2.0",
  48. "eslint": "^6.8.0",
  49. "http-server": "^0.12.1",
  50. "husky": "^4.2.3",
  51. "lint-staged": "^10.0.8",
  52. "mocha": "^7.1.1",
  53. "ts-loader": "^6.2.1",
  54. "typescript": "^3.8.3",
  55. "webpack": "^4.42.0",
  56. "webpack-cli": "^3.3.11"
  57. }
  58. }