Skip to content

Commit

Permalink
chore: 🤖 update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 22, 2023
1 parent d003b1a commit e6f922b
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
5 changes: 5 additions & 0 deletions demo/runkit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const { fs } = require('memfs');

fs.writeFileSync('/hello.txt', 'Hello World');

console.log(fs.readFileSync('/hello.txt', 'utf8'));
65 changes: 48 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
"name": "memfs",
"version": "4.1.0-next.2",
"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"
],
"author": {
"name": "streamich",
"url": "https://github.com/streamich"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/streamich"
},
"homepage": "https://github.com/streamich/memfs",
"repository": {
"type": "git",
"url": "https://github.com/streamich/memfs.git"
Expand All @@ -26,7 +19,11 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
"lib",
"dist",
"README.md",
"LICENSE",
"demo/runkit.js"
],
"scripts": {
"build": "tsc -p .",
Expand All @@ -47,6 +44,30 @@
"demo:git-opfs": "webpack serve --config ./demo/git-opfs/webpack.config.js",
"demo:crud-and-cas": "webpack serve --config ./demo/crud-and-cas/webpack.config.js"
},
"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"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
Expand Down Expand Up @@ -131,5 +152,15 @@
},
"engines": {
"node": ">= 4.0.0"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "avoid"
}
}

0 comments on commit e6f922b

Please sign in to comment.