|
2 | 2 | "name": "memfs",
|
3 | 3 | "version": "4.3.0",
|
4 | 4 | "description": "In-memory file-system with Node's fs API.",
|
5 |
| - "author": { |
6 |
| - "name": "streamich", |
7 |
| - "url": "https://github.com/streamich" |
8 |
| - }, |
9 |
| - "funding": { |
10 |
| - "type": "github", |
11 |
| - "url": "https://github.com/sponsors/streamich" |
12 |
| - }, |
| 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 | + ], |
13 | 29 | "homepage": "https://github.com/streamich/memfs",
|
14 | 30 | "repository": {
|
15 | 31 | "type": "git",
|
16 | 32 | "url": "https://github.com/streamich/memfs.git"
|
17 | 33 | },
|
| 34 | + "funding": { |
| 35 | + "type": "github", |
| 36 | + "url": "https://github.com/sponsors/streamich" |
| 37 | + }, |
18 | 38 | "license": "Apache-2.0",
|
| 39 | + "author": { |
| 40 | + "name": "streamich", |
| 41 | + "url": "https://github.com/streamich" |
| 42 | + }, |
19 | 43 | "main": "lib/index.js",
|
20 | 44 | "types": "lib/index.d.ts",
|
21 | 45 | "files": [
|
|
27 | 51 | ],
|
28 | 52 | "scripts": {
|
29 | 53 | "build": "tsc -p .",
|
| 54 | + "build:webfs": "NODE_ENV=production webpack --config ./src/webfs/webpack.config.js", |
30 | 55 | "clean": "rimraf lib types",
|
| 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", |
31 | 62 | "prettier": "prettier --ignore-path .gitignore --write \"src/**/*.{ts,js}\"",
|
32 | 63 | "prettier:diff": "prettier -l \"src/**/*.{ts,js}\"",
|
33 | 64 | "test": "jest --maxWorkers 2",
|
34 | 65 | "test:coverage": "jest --coverage",
|
35 | 66 | "test:watch": "jest --watch",
|
36 | 67 | "tslint": "tslint \"src/**/*.ts\" -t verbose",
|
37 | 68 | "typecheck": "tsc -p .",
|
38 |
| - "watch": "watch \"npm run build\" ./src", |
39 |
| - "build:webfs": "NODE_ENV=production webpack --config ./src/webfs/webpack.config.js", |
40 |
| - "demo:webfs": "webpack serve --config ./src/webfs/webpack.config.js", |
41 |
| - "demo:fsa-to-node-sync-tests": "webpack serve --config ./demo/fsa-to-node-sync-tests/webpack.config.js", |
42 |
| - "demo:fsa-to-node-zipfile": "webpack serve --config ./demo/fsa-to-node-zipfile/webpack.config.js", |
43 |
| - "demo:git-fsa": "webpack serve --config ./demo/git-fsa/webpack.config.js", |
44 |
| - "demo:git-opfs": "webpack serve --config ./demo/git-opfs/webpack.config.js", |
45 |
| - "demo:crud-and-cas": "webpack serve --config ./demo/crud-and-cas/webpack.config.js" |
| 69 | + "watch": "watch \"npm run build\" ./src" |
46 | 70 | },
|
47 |
| - "keywords": [ |
48 |
| - "fs", |
49 |
| - "filesystem", |
50 |
| - "fs.js", |
51 |
| - "memory-fs", |
52 |
| - "memfs", |
53 |
| - "file", |
54 |
| - "file system", |
55 |
| - "mount", |
56 |
| - "memory", |
57 |
| - "in-memory", |
58 |
| - "virtual", |
59 |
| - "test", |
60 |
| - "testing", |
61 |
| - "mock", |
62 |
| - "fsa", |
63 |
| - "file system access", |
64 |
| - "native file system", |
65 |
| - "webfs", |
66 |
| - "crudfs", |
67 |
| - "opfs", |
68 |
| - "casfs", |
69 |
| - "content addressable storage" |
70 |
| - ], |
71 | 71 | "commitlint": {
|
72 | 72 | "extends": [
|
73 | 73 | "@commitlint/config-conventional"
|
|
78 | 78 | "path": "git-cz"
|
79 | 79 | }
|
80 | 80 | },
|
| 81 | + "prettier": { |
| 82 | + "arrowParens": "avoid", |
| 83 | + "bracketSpacing": true, |
| 84 | + "printWidth": 120, |
| 85 | + "semi": true, |
| 86 | + "singleQuote": true, |
| 87 | + "tabWidth": 2, |
| 88 | + "trailingComma": "all", |
| 89 | + "useTabs": false |
| 90 | + }, |
81 | 91 | "release": {
|
82 | 92 | "branches": [
|
83 | 93 | "master",
|
|
110 | 120 | "^.+\\.tsx?$": "ts-jest"
|
111 | 121 | }
|
112 | 122 | },
|
113 |
| - "peerDependencies": { |
114 |
| - "tslib": "2" |
115 |
| - }, |
116 | 123 | "dependencies": {
|
117 | 124 | "json-joy": "^9.2.0",
|
118 | 125 | "thingies": "^1.11.1"
|
|
150 | 157 | "webpack-cli": "^5.1.4",
|
151 | 158 | "webpack-dev-server": "^4.15.1"
|
152 | 159 | },
|
| 160 | + "peerDependencies": { |
| 161 | + "tslib": "2" |
| 162 | + }, |
153 | 163 | "engines": {
|
154 | 164 | "node": ">= 4.0.0"
|
155 |
| - }, |
156 |
| - "prettier": { |
157 |
| - "printWidth": 120, |
158 |
| - "tabWidth": 2, |
159 |
| - "useTabs": false, |
160 |
| - "semi": true, |
161 |
| - "singleQuote": true, |
162 |
| - "trailingComma": "all", |
163 |
| - "bracketSpacing": true, |
164 |
| - "arrowParens": "avoid" |
165 | 165 | }
|
166 | 166 | }
|
0 commit comments