package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "name": "memfs",
  3. "version": "4.56.10",
  4. "publishConfig": {
  5. "access": "public"
  6. },
  7. "description": "In-memory file-system with Node's fs API.",
  8. "keywords": [
  9. "fs",
  10. "filesystem",
  11. "fs.js",
  12. "memory-fs",
  13. "memfs",
  14. "file",
  15. "file system",
  16. "mount",
  17. "memory",
  18. "in-memory",
  19. "virtual",
  20. "test",
  21. "testing",
  22. "mock",
  23. "fsa",
  24. "file system access",
  25. "native file system",
  26. "webfs",
  27. "crudfs",
  28. "opfs",
  29. "casfs",
  30. "content addressable storage"
  31. ],
  32. "homepage": "https://github.com/streamich/memfs",
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/streamich/memfs.git"
  36. },
  37. "funding": {
  38. "type": "github",
  39. "url": "https://github.com/sponsors/streamich"
  40. },
  41. "license": "Apache-2.0",
  42. "author": {
  43. "name": "streamich",
  44. "url": "https://github.com/streamich"
  45. },
  46. "main": "lib/index.js",
  47. "types": "lib/index.d.ts",
  48. "files": [
  49. "lib",
  50. "dist",
  51. "README.md",
  52. "LICENSE",
  53. "demo/runkit.js"
  54. ],
  55. "scripts": {
  56. "clean": "rimraf lib types typedocs coverage gh-pages yarn-error.log",
  57. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib && rimraf --glob lib/__tests__ 'lib/**/__tests__'",
  58. "jest": "node -r ts-node/register ./node_modules/.bin/jest",
  59. "test": "jest --maxWorkers 7",
  60. "test:ci": "yarn jest --maxWorkers 3 --no-cache",
  61. "coverage": "yarn test --collectCoverage",
  62. "typecheck": "tsc -p .",
  63. "build:webfs": "NODE_ENV=production webpack --config ./src/webfs/webpack.config.js",
  64. "demo:crud-and-cas": "webpack serve --config ./demo/crud-and-cas/webpack.config.js",
  65. "demo:fsa-to-node-sync-tests": "webpack serve --config ./demo/fsa-to-node-sync-tests/webpack.config.js",
  66. "demo:fsa-to-node-zipfile": "webpack serve --config ./demo/fsa-to-node-zipfile/webpack.config.js",
  67. "demo:git-fsa": "webpack serve --config ./demo/git-fsa/webpack.config.js",
  68. "demo:git-opfs": "webpack serve --config ./demo/git-opfs/webpack.config.js",
  69. "demo:webfs": "webpack serve --config ./src/webfs/webpack.config.js",
  70. "test:coverage": "jest --coverage",
  71. "test:watch": "jest --watch",
  72. "tslint": "tslint \"src/**/*.ts\" -t verbose",
  73. "watch": "watch \"npm run build\" ./src",
  74. "typedoc": "npx typedoc@0.25.13 --tsconfig tsconfig.json",
  75. "build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage"
  76. },
  77. "jest": {
  78. "preset": "ts-jest",
  79. "testEnvironment": "node",
  80. "moduleFileExtensions": [
  81. "ts",
  82. "js",
  83. "tsx"
  84. ],
  85. "transform": {
  86. "^.+\\.tsx?$": "ts-jest"
  87. },
  88. "transformIgnorePatterns": [
  89. ".*/node_modules/.*"
  90. ],
  91. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$",
  92. "rootDir": ".",
  93. "testPathIgnorePatterns": [
  94. "node_modules"
  95. ]
  96. },
  97. "devDependencies": {
  98. "@types/jest": "^29.0.0",
  99. "@types/mime": "^3.0.0",
  100. "@types/node": "^20.0.0",
  101. "app-root-path": "^3.1.0",
  102. "assert": "^2.0.0",
  103. "buffer": "^6.0.3",
  104. "html-webpack-plugin": "^5.5.3",
  105. "husky": "^8.0.1",
  106. "isomorphic-git": "^1.24.2",
  107. "jest": "^29.0.0",
  108. "path-browserify": "^1.0.1",
  109. "prettier": "^3.0.0",
  110. "process": "^0.11.10",
  111. "readable-stream": "^4.4.0",
  112. "rimraf": "^5.0.0",
  113. "tar-stream": "^3.1.2",
  114. "ts-jest": "^29.4.2",
  115. "ts-loader": "^9.5.4",
  116. "ts-node": "^10.9.2",
  117. "tslint": "^6.1.3",
  118. "tslint-config-common": "^1.6.2",
  119. "typescript": "^5.9.2",
  120. "url": "^0.11.1",
  121. "util": "^0.12.5",
  122. "webpack": "^5.87.0",
  123. "webpack-cli": "^5.1.4",
  124. "webpack-dev-server": "^4.15.1"
  125. },
  126. "peerDependencies": {
  127. "tslib": "2"
  128. },
  129. "dependencies": {
  130. "@jsonjoy.com/fs-core": "4.56.10",
  131. "@jsonjoy.com/fs-fsa": "4.56.10",
  132. "@jsonjoy.com/fs-node": "4.56.10",
  133. "@jsonjoy.com/fs-node-builtins": "4.56.10",
  134. "@jsonjoy.com/fs-node-to-fsa": "4.56.10",
  135. "@jsonjoy.com/fs-node-utils": "4.56.10",
  136. "@jsonjoy.com/fs-print": "4.56.10",
  137. "@jsonjoy.com/fs-snapshot": "4.56.10",
  138. "@jsonjoy.com/json-pack": "^1.11.0",
  139. "@jsonjoy.com/util": "^1.9.0",
  140. "glob-to-regex.js": "^1.0.1",
  141. "thingies": "^2.5.0",
  142. "tree-dump": "^1.0.3",
  143. "tslib": "^2.0.0"
  144. }
  145. }