rush-fs 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,120 @@
1
+ {
2
+ "name": "rush-fs",
3
+ "version": "0.0.1",
4
+ "description": "High-performance drop-in replacement for Node.js fs module, powered by Rust",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/hyper-fs/hyper-fs.git"
9
+ },
10
+ "license": "MIT",
11
+ "browser": "browser.js",
12
+ "keywords": [
13
+ "fs",
14
+ "filesystem",
15
+ "file-system",
16
+ "performance",
17
+ "rust",
18
+ "napi",
19
+ "napi-rs",
20
+ "native",
21
+ "readdir",
22
+ "glob",
23
+ "readFile",
24
+ "writeFile"
25
+ ],
26
+ "files": [
27
+ "index.d.ts",
28
+ "index.js",
29
+ "browser.js"
30
+ ],
31
+ "napi": {
32
+ "binaryName": "hyper-fs",
33
+ "targets": [
34
+ "x86_64-pc-windows-msvc",
35
+ "x86_64-apple-darwin",
36
+ "x86_64-unknown-linux-gnu",
37
+ "aarch64-apple-darwin"
38
+ ]
39
+ },
40
+ "engines": {
41
+ "node": ">= 18.0.0"
42
+ },
43
+ "publishConfig": {
44
+ "registry": "https://registry.npmjs.org/",
45
+ "access": "public"
46
+ },
47
+ "devDependencies": {
48
+ "@emnapi/core": "^1.5.0",
49
+ "@emnapi/runtime": "^1.5.0",
50
+ "@napi-rs/cli": "^3.2.0",
51
+ "@oxc-node/core": "^0.0.34",
52
+ "@taplo/cli": "^0.7.0",
53
+ "@tybys/wasm-util": "^0.10.0",
54
+ "@types/node": "^20.0.0",
55
+ "ava": "^6.4.1",
56
+ "chalk": "^5.6.2",
57
+ "fast-glob": "^3.3.3",
58
+ "glob": "^13.0.0",
59
+ "husky": "^9.1.7",
60
+ "lint-staged": "^16.1.6",
61
+ "mitata": "^1.0.34",
62
+ "npm-run-all2": "^8.0.4",
63
+ "oxlint": "^1.14.0",
64
+ "prettier": "^3.6.2",
65
+ "typescript": "^5.9.2"
66
+ },
67
+ "lint-staged": {
68
+ "*.@(js|ts|tsx)": [
69
+ "oxlint --fix"
70
+ ],
71
+ "*.@(js|ts|tsx|yml|yaml|md|json)": [
72
+ "prettier --write"
73
+ ],
74
+ "*.toml": [
75
+ "taplo format"
76
+ ]
77
+ },
78
+ "ava": {
79
+ "extensions": {
80
+ "ts": "module"
81
+ },
82
+ "timeout": "2m",
83
+ "workerThreads": false,
84
+ "environmentVariables": {
85
+ "OXC_TSCONFIG_PATH": "./__test__/tsconfig.json"
86
+ },
87
+ "nodeArguments": [
88
+ "--import",
89
+ "@oxc-node/core/register"
90
+ ]
91
+ },
92
+ "prettier": {
93
+ "printWidth": 120,
94
+ "semi": false,
95
+ "trailingComma": "all",
96
+ "singleQuote": true,
97
+ "arrowParens": "always"
98
+ },
99
+ "optionalDependencies": {
100
+ "rush-fs-win32-x64-msvc": "0.0.1",
101
+ "rush-fs-darwin-x64": "0.0.1",
102
+ "rush-fs-linux-x64-gnu": "0.0.1",
103
+ "rush-fs-darwin-arm64": "0.0.1"
104
+ },
105
+ "scripts": {
106
+ "artifacts": "napi artifacts",
107
+ "bench": "node --import @oxc-node/core/register benchmark/bench.ts",
108
+ "build": "napi build --platform --release",
109
+ "build:debug": "napi build --platform",
110
+ "format": "run-p format:prettier format:rs format:toml",
111
+ "format:prettier": "prettier . -w",
112
+ "format:toml": "taplo format",
113
+ "format:rs": "cargo fmt",
114
+ "fmt:check": "cargo fmt -- --check",
115
+ "lint": "oxlint .",
116
+ "test": "ava",
117
+ "preversion": "napi build --platform && git add .",
118
+ "version": "napi version"
119
+ }
120
+ }