package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@jsonjoy.com/fs-snapshot",
  3. "publishConfig": {
  4. "access": "public"
  5. },
  6. "version": "4.56.10",
  7. "description": "File system snapshot - serialize and deserialize file system trees to binary or JSON",
  8. "author": {
  9. "name": "streamich",
  10. "url": "https://github.com/streamich"
  11. },
  12. "homepage": "https://github.com/streamich/memfs/tree/master/packages/fs-snapshot",
  13. "repository": "streamich/memfs",
  14. "license": "Apache-2.0",
  15. "funding": {
  16. "type": "github",
  17. "url": "https://github.com/sponsors/streamich"
  18. },
  19. "keywords": [
  20. "filesystem",
  21. "fs",
  22. "snapshot",
  23. "serialize",
  24. "deserialize",
  25. "binary",
  26. "cbor",
  27. "json",
  28. "backup",
  29. "restore"
  30. ],
  31. "engines": {
  32. "node": ">=10.0"
  33. },
  34. "main": "lib/index.js",
  35. "types": "lib/index.d.ts",
  36. "typings": "lib/index.d.ts",
  37. "files": [
  38. "LICENSE",
  39. "lib/"
  40. ],
  41. "scripts": {
  42. "clean": "rimraf lib typedocs coverage gh-pages yarn-error.log",
  43. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
  44. "jest": "node -r ts-node/register ./node_modules/.bin/jest",
  45. "test": "jest --maxWorkers 7",
  46. "test:ci": "yarn jest --maxWorkers 3 --no-cache",
  47. "coverage": "yarn test --collectCoverage",
  48. "typedoc": "typedoc",
  49. "typecheck": "tsc -p ."
  50. },
  51. "jest": {
  52. "preset": "ts-jest",
  53. "testEnvironment": "node",
  54. "moduleFileExtensions": [
  55. "ts",
  56. "js",
  57. "tsx"
  58. ],
  59. "transform": {
  60. "^.+\\.tsx?$": "ts-jest"
  61. },
  62. "transformIgnorePatterns": [
  63. ".*/node_modules/.*"
  64. ],
  65. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$",
  66. "rootDir": ".",
  67. "testPathIgnorePatterns": [
  68. "node_modules"
  69. ]
  70. },
  71. "devDependencies": {
  72. "@types/jest": "^29.0.0",
  73. "@types/node": "^20.0.0",
  74. "jest": "^29.0.0",
  75. "rimraf": "^5.0.0",
  76. "ts-jest": "^29.4.2",
  77. "ts-node": "^10.9.2",
  78. "typescript": "^5.9.2"
  79. },
  80. "peerDependencies": {
  81. "tslib": "2"
  82. },
  83. "dependencies": {
  84. "@jsonjoy.com/buffers": "^17.65.0",
  85. "@jsonjoy.com/fs-node-utils": "4.56.10",
  86. "@jsonjoy.com/json-pack": "^17.65.0",
  87. "@jsonjoy.com/util": "^17.65.0"
  88. }
  89. }