package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "extract-zip",
  3. "version": "2.0.1",
  4. "description": "unzip a zip file into a directory using 100% javascript",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "bin": {
  8. "extract-zip": "cli.js"
  9. },
  10. "scripts": {
  11. "ava": "ava",
  12. "coverage": "nyc ava",
  13. "lint": "yarn lint:js && yarn lint:ts && yarn tsd",
  14. "lint:js": "eslint .",
  15. "lint:ts": "eslint --config .eslintrc.typescript.js --ext .ts .",
  16. "test": "yarn lint && ava",
  17. "tsd": "tsd"
  18. },
  19. "files": [
  20. "cli.js",
  21. "index.d.ts"
  22. ],
  23. "author": "max ogden",
  24. "license": "BSD-2-Clause",
  25. "repository": "maxogden/extract-zip",
  26. "keywords": [
  27. "unzip",
  28. "zip",
  29. "extract"
  30. ],
  31. "engines": {
  32. "node": ">= 10.17.0"
  33. },
  34. "dependencies": {
  35. "debug": "^4.1.1",
  36. "get-stream": "^5.1.0",
  37. "yauzl": "^2.10.0"
  38. },
  39. "optionalDependencies": {
  40. "@types/yauzl": "^2.9.1"
  41. },
  42. "devDependencies": {
  43. "@typescript-eslint/eslint-plugin": "^3.2.0",
  44. "@typescript-eslint/parser": "^3.2.0",
  45. "ava": "^3.5.1",
  46. "eslint": "^7.2.0",
  47. "eslint-config-standard": "^14.1.1",
  48. "eslint-plugin-ava": "^10.2.0",
  49. "eslint-plugin-import": "^2.20.1",
  50. "eslint-plugin-node": "^11.0.0",
  51. "eslint-plugin-promise": "^4.2.1",
  52. "eslint-plugin-standard": "^4.0.1",
  53. "fs-extra": "^9.0.0",
  54. "husky": "^4.2.3",
  55. "lint-staged": "^10.0.9",
  56. "nyc": "^15.0.0",
  57. "tsd": "^0.11.0",
  58. "typescript": "^3.8.3"
  59. },
  60. "eslintConfig": {
  61. "extends": [
  62. "eslint:recommended",
  63. "plugin:ava/recommended",
  64. "plugin:import/errors",
  65. "plugin:import/warnings",
  66. "plugin:node/recommended",
  67. "plugin:promise/recommended",
  68. "standard"
  69. ]
  70. },
  71. "husky": {
  72. "hooks": {
  73. "pre-commit": "lint-staged"
  74. }
  75. },
  76. "lint-staged": {
  77. "*.js": "yarn lint:js --fix",
  78. "*.ts": "yarn lint:ts --fix"
  79. }
  80. }