package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "fs-capacitor",
  3. "version": "2.0.4",
  4. "description": "Filesystem-buffered, passthrough stream that buffers indefinitely rather than propagate backpressure from downstream consumers.",
  5. "license": "MIT",
  6. "author": {
  7. "name": "Mike Marcacci",
  8. "email": "mike.marcacci@gmail.com"
  9. },
  10. "repository": "github:mike-marcacci/fs-capacitor",
  11. "homepage": "https://github.com/mike-marcacci/fs-capacitor#readme",
  12. "bugs": "https://github.com/mike-marcacci/fs-capacitor/issues",
  13. "keywords": [
  14. "stream",
  15. "buffer",
  16. "file",
  17. "split",
  18. "clone"
  19. ],
  20. "files": [
  21. "lib",
  22. "!lib/test.*"
  23. ],
  24. "main": "lib",
  25. "engines": {
  26. "node": ">=8.5"
  27. },
  28. "browserslist": "node >= 8.5",
  29. "devDependencies": {
  30. "@babel/cli": "^7.1.2",
  31. "@babel/core": "^7.3.3",
  32. "@babel/preset-env": "^7.4.4",
  33. "babel-eslint": "^10.0.1",
  34. "eslint": "^5.14.1",
  35. "eslint-config-env": "^5.0.0",
  36. "eslint-config-prettier": "^4.0.0",
  37. "eslint-plugin-import": "^2.16.0",
  38. "eslint-plugin-import-order-alphabetical": "^0.0.2",
  39. "eslint-plugin-node": "^9.0.1",
  40. "eslint-plugin-prettier": "^3.0.0",
  41. "husky": "^2.2.0",
  42. "if-ver": "^1.1.0",
  43. "leaked-handles": "^5.2.0",
  44. "lint-staged": "^8.1.4",
  45. "prettier": "^1.16.4",
  46. "tap": "^13.1.2"
  47. },
  48. "scripts": {
  49. "prepare": "npm run prepare:clean && npm run prepare:mjs && npm run prepare:js && npm run prepare:prettier",
  50. "prepare:clean": "rm -rf lib",
  51. "prepare:mjs": "BABEL_ESM=1 babel src -d lib --keep-file-extension",
  52. "prepare:js": "babel src -d lib",
  53. "prepare:prettier": "prettier 'lib/**/*.{mjs,js}' --write",
  54. "test": "npm run test:eslint && npm run test:prettier && npm run test:mjs && npm run test:js",
  55. "test:eslint": "eslint . --ext mjs,js",
  56. "test:prettier": "prettier '**/*.{json,yml,md}' -l",
  57. "test:mjs": "if-ver -lt 12 || exit 0; node --experimental-modules --no-warnings lib/test | tap-mocha-reporter classic",
  58. "test:js": "node lib/test | tap-mocha-reporter classic",
  59. "prepublishOnly": "npm test"
  60. }
  61. }