memfs
Version:
In-memory file-system with Node's fs API.
145 lines • 4.29 kB
JSON
{
"name": "memfs",
"version": "4.56.10",
"publishConfig": {
"access": "public"
},
"description": "In-memory file-system with Node's fs API.",
"keywords": [
"fs",
"filesystem",
"fs.js",
"memory-fs",
"memfs",
"file",
"file system",
"mount",
"memory",
"in-memory",
"virtual",
"test",
"testing",
"mock",
"fsa",
"file system access",
"native file system",
"webfs",
"crudfs",
"opfs",
"casfs",
"content addressable storage"
],
"homepage": "https://github.com/streamich/memfs",
"repository": {
"type": "git",
"url": "https://github.com/streamich/memfs.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/streamich"
},
"license": "Apache-2.0",
"author": {
"name": "streamich",
"url": "https://github.com/streamich"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"dist",
"README.md",
"LICENSE",
"demo/runkit.js"
],
"scripts": {
"clean": "rimraf lib types typedocs coverage gh-pages yarn-error.log",
"build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib && rimraf --glob lib/__tests__ 'lib/**/__tests__'",
"jest": "node -r ts-node/register ./node_modules/.bin/jest",
"test": "jest --maxWorkers 7",
"test:ci": "yarn jest --maxWorkers 3 --no-cache",
"coverage": "yarn test --collectCoverage",
"typecheck": "tsc -p .",
"build:webfs": "NODE_ENV=production webpack --config ./src/webfs/webpack.config.js",
"demo:crud-and-cas": "webpack serve --config ./demo/crud-and-cas/webpack.config.js",
"demo:fsa-to-node-sync-tests": "webpack serve --config ./demo/fsa-to-node-sync-tests/webpack.config.js",
"demo:fsa-to-node-zipfile": "webpack serve --config ./demo/fsa-to-node-zipfile/webpack.config.js",
"demo:git-fsa": "webpack serve --config ./demo/git-fsa/webpack.config.js",
"demo:git-opfs": "webpack serve --config ./demo/git-opfs/webpack.config.js",
"demo:webfs": "webpack serve --config ./src/webfs/webpack.config.js",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"tslint": "tslint \"src/**/*.ts\" -t verbose",
"watch": "watch \"npm run build\" ./src",
"typedoc": "npx typedoc@0.25.13 --tsconfig tsconfig.json",
"build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js",
"tsx"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
".*/node_modules/.*"
],
"testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$",
"rootDir": ".",
"testPathIgnorePatterns": [
"node_modules"
]
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/mime": "^3.0.0",
"@types/node": "^20.0.0",
"app-root-path": "^3.1.0",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"html-webpack-plugin": "^5.5.3",
"husky": "^8.0.1",
"isomorphic-git": "^1.24.2",
"jest": "^29.0.0",
"path-browserify": "^1.0.1",
"prettier": "^3.0.0",
"process": "^0.11.10",
"readable-stream": "^4.4.0",
"rimraf": "^5.0.0",
"tar-stream": "^3.1.2",
"ts-jest": "^29.4.2",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"tslint-config-common": "^1.6.2",
"typescript": "^5.9.2",
"url": "^0.11.1",
"util": "^0.12.5",
"webpack": "^5.87.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"peerDependencies": {
"tslib": "2"
},
"dependencies": {
"@jsonjoy.com/fs-core": "4.56.10",
"@jsonjoy.com/fs-fsa": "4.56.10",
"@jsonjoy.com/fs-node": "4.56.10",
"@jsonjoy.com/fs-node-builtins": "4.56.10",
"@jsonjoy.com/fs-node-to-fsa": "4.56.10",
"@jsonjoy.com/fs-node-utils": "4.56.10",
"@jsonjoy.com/fs-print": "4.56.10",
"@jsonjoy.com/fs-snapshot": "4.56.10",
"@jsonjoy.com/json-pack": "^1.11.0",
"@jsonjoy.com/util": "^1.9.0",
"glob-to-regex.js": "^1.0.1",
"thingies": "^2.5.0",
"tree-dump": "^1.0.3",
"tslib": "^2.0.0"
}
}