package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {
  2. "name": "memfs",
  3. "version": "4.15.3",
  4. "description": "In-memory file-system with Node's fs API.",
  5. "keywords": [
  6. "fs",
  7. "filesystem",
  8. "fs.js",
  9. "memory-fs",
  10. "memfs",
  11. "file",
  12. "file system",
  13. "mount",
  14. "memory",
  15. "in-memory",
  16. "virtual",
  17. "test",
  18. "testing",
  19. "mock",
  20. "fsa",
  21. "file system access",
  22. "native file system",
  23. "webfs",
  24. "crudfs",
  25. "opfs",
  26. "casfs",
  27. "content addressable storage"
  28. ],
  29. "homepage": "https://github.com/streamich/memfs",
  30. "repository": {
  31. "type": "git",
  32. "url": "https://github.com/streamich/memfs.git"
  33. },
  34. "funding": {
  35. "type": "github",
  36. "url": "https://github.com/sponsors/streamich"
  37. },
  38. "license": "Apache-2.0",
  39. "author": {
  40. "name": "streamich",
  41. "url": "https://github.com/streamich"
  42. },
  43. "main": "lib/index.js",
  44. "types": "lib/index.d.ts",
  45. "files": [
  46. "lib",
  47. "dist",
  48. "README.md",
  49. "LICENSE",
  50. "demo/runkit.js"
  51. ],
  52. "scripts": {
  53. "build": "tsc -p . && rimraf --glob lib/__tests__ 'lib/**/__tests__'",
  54. "build:webfs": "NODE_ENV=production webpack --config ./src/webfs/webpack.config.js",
  55. "clean": "rimraf lib types typedocs gh-pages coverage",
  56. "demo:crud-and-cas": "webpack serve --config ./demo/crud-and-cas/webpack.config.js",
  57. "demo:fsa-to-node-sync-tests": "webpack serve --config ./demo/fsa-to-node-sync-tests/webpack.config.js",
  58. "demo:fsa-to-node-zipfile": "webpack serve --config ./demo/fsa-to-node-zipfile/webpack.config.js",
  59. "demo:git-fsa": "webpack serve --config ./demo/git-fsa/webpack.config.js",
  60. "demo:git-opfs": "webpack serve --config ./demo/git-opfs/webpack.config.js",
  61. "demo:webfs": "webpack serve --config ./src/webfs/webpack.config.js",
  62. "prettier": "prettier --write .",
  63. "prettier:check": "prettier --check .",
  64. "test": "jest --maxWorkers 2",
  65. "test:coverage": "jest --coverage",
  66. "test:watch": "jest --watch",
  67. "tslint": "tslint \"src/**/*.ts\" -t verbose",
  68. "typecheck": "tsc -p .",
  69. "watch": "watch \"npm run build\" ./src",
  70. "coverage": "yarn test --collectCoverage",
  71. "typedoc": "npx typedoc@0.25.13 --tsconfig tsconfig.json",
  72. "build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage"
  73. },
  74. "commitlint": {
  75. "extends": [
  76. "@commitlint/config-conventional"
  77. ]
  78. },
  79. "config": {
  80. "commitizen": {
  81. "path": "git-cz"
  82. }
  83. },
  84. "prettier": {
  85. "arrowParens": "avoid",
  86. "bracketSpacing": true,
  87. "printWidth": 120,
  88. "semi": true,
  89. "singleQuote": true,
  90. "tabWidth": 2,
  91. "trailingComma": "all",
  92. "useTabs": false
  93. },
  94. "release": {
  95. "branches": [
  96. "master",
  97. {
  98. "name": "next",
  99. "prerelease": true
  100. }
  101. ],
  102. "prepare": [
  103. "@semantic-release/changelog",
  104. "@semantic-release/npm",
  105. "@semantic-release/git"
  106. ],
  107. "verifyConditions": [
  108. "@semantic-release/changelog",
  109. "@semantic-release/npm",
  110. "@semantic-release/git"
  111. ]
  112. },
  113. "jest": {
  114. "moduleFileExtensions": [
  115. "ts",
  116. "tsx",
  117. "js",
  118. "jsx"
  119. ],
  120. "testEnvironment": "node",
  121. "testRegex": ".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$",
  122. "transform": {
  123. "^.+\\.tsx?$": "ts-jest"
  124. }
  125. },
  126. "dependencies": {
  127. "@jsonjoy.com/json-pack": "^1.0.3",
  128. "@jsonjoy.com/util": "^1.3.0",
  129. "tree-dump": "^1.0.1",
  130. "tslib": "^2.0.0"
  131. },
  132. "devDependencies": {
  133. "@semantic-release/changelog": "^6.0.1",
  134. "@semantic-release/git": "^10.0.1",
  135. "@semantic-release/npm": "^9.0.1",
  136. "@types/jest": "^29.0.0",
  137. "@types/mime": "^3.0.0",
  138. "@types/node": "^10.17.60",
  139. "app-root-path": "^3.1.0",
  140. "assert": "^2.0.0",
  141. "buffer": "^6.0.3",
  142. "html-webpack-plugin": "^5.5.3",
  143. "husky": "^8.0.1",
  144. "isomorphic-git": "^1.24.2",
  145. "jest": "^29.0.0",
  146. "path-browserify": "^1.0.1",
  147. "prettier": "^3.0.0",
  148. "process": "^0.11.10",
  149. "readable-stream": "^4.4.0",
  150. "rimraf": "^5.0.0",
  151. "semantic-release": "^19.0.3",
  152. "tar-stream": "^3.1.2",
  153. "ts-jest": "^29.1.0",
  154. "ts-loader": "^9.4.3",
  155. "ts-node": "^10.9.1",
  156. "tslint": "^6.1.3",
  157. "tslint-config-common": "^1.6.2",
  158. "typescript": "^5.1.3",
  159. "url": "^0.11.1",
  160. "util": "^0.12.5",
  161. "webpack": "^5.87.0",
  162. "webpack-cli": "^5.1.4",
  163. "webpack-dev-server": "^4.15.1"
  164. },
  165. "engines": {
  166. "node": ">= 4.0.0"
  167. }
  168. }