UNPKG

@visulima/fs

Version:

Human friendly file system utilities for Node.js

222 lines 5.45 kB
{ "name": "@visulima/fs", "version": "2.3.7", "description": "Human friendly file system utilities for Node.js", "keywords": [ "anolilab", "detect-newline", "dir", "directory", "eol", "empty-dir", "ensure", "ensure-file", "ensure-dir", "ensure-link", "ensure-symlink", "file", "files", "filesystem", "find", "find-up", "findup", "folder", "fs", "fs-safe", "look", "look-up", "json", "read-json", "match", "package", "parent", "parents", "path", "read", "read-file", "read-yaml", "resolve", "safe", "search", "std", "standard", "up", "visulima", "walk", "walking", "write", "write-dir", "write-file", "write-safe", "yaml" ], "homepage": "https://www.visulima.com/docs/package/fs", "bugs": { "url": "https://github.com/visulima/visulima/issues" }, "repository": { "type": "git", "url": "git+https://github.com/visulima/visulima.git", "directory": "packages/fs" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/prisis" }, { "type": "consulting", "url": "https://anolilab.com/support" } ], "license": "MIT", "author": { "name": "Daniel Bannert", "email": "d.bannert@anolilab.de" }, "sideEffects": false, "type": "module", "exports": { ".": { "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } }, "./utils": { "require": { "types": "./dist/utils.d.cts", "default": "./dist/utils.cjs" }, "import": { "types": "./dist/utils.d.mts", "default": "./dist/utils.mjs" } }, "./error": { "require": { "types": "./dist/error.d.cts", "default": "./dist/error.cjs" }, "import": { "types": "./dist/error.d.mts", "default": "./dist/error.mjs" } }, "./package.json": "./package.json" }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "typesVersions": { ">=5.0": { ".": [ "./dist/index.d.ts" ], "utils": [ "./dist/utils.d.ts" ], "error": [ "./dist/error.d.ts" ] } }, "files": [ "dist/**", "README.md", "CHANGELOG.md", "LICENSE.md" ], "dependencies": { "@visulima/path": "1.3.3", "yaml": "^2.7.0" }, "devDependencies": { "@anolilab/eslint-config": "^15.0.3", "@anolilab/prettier-config": "^5.0.14", "@anolilab/semantic-release-pnpm": "^1.1.6", "@anolilab/semantic-release-preset": "^9.0.3", "@arethetypeswrong/cli": "^0.17.2", "@babel/core": "^7.26.0", "@rushstack/eslint-plugin-security": "^0.8.3", "@types/node": "18.19.15", "@visulima/error": "4.4.13", "@visulima/packem": "1.10.7", "@vitest/coverage-v8": "^2.1.8", "@vitest/ui": "^2.1.8", "conventional-changelog-conventionalcommits": "8.0.0", "cross-env": "^7.0.3", "detect-indent": "^7.0.1", "esbuild": "0.24.2", "eslint": "8.57.0", "eslint-plugin-deprecation": "^3.0.0", "eslint-plugin-etc": "^2.0.3", "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1", "eslint-plugin-mdx": "^3.1.5", "eslint-plugin-vitest": "^0.5.4", "eslint-plugin-vitest-globals": "^1.5.0", "fast-safe-stringify": "2.1.1", "prettier": "^3.4.2", "redos-detector": "^6.1.2", "rimraf": "6.0.1", "safe-regex2": "^4.0.1", "semantic-release": "24.2.1", "tempy": "^3.1.0", "type-fest": "^4.32.0", "typedoc": "0.27.6", "typedoc-plugin-markdown": "4.4.1", "typedoc-plugin-rename-defaults": "0.7.2", "typescript": "5.7.3", "vitest": "^2.1.8" }, "engines": { "node": ">=18.* <=23.*" }, "os": [ "darwin", "linux", "win32" ], "publishConfig": { "access": "public", "provenance": true }, "anolilab": { "eslint-config": { "plugin": { "tsdoc": false }, "warn_on_unsupported_typescript_version": false, "info_on_disabling_jsx_react_rule": false, "info_on_disabling_prettier_conflict_rule": false, "info_on_disabling_jsonc_sort_keys_rule": false, "info_on_disabling_etc_no_deprecated": false } }, "sources": [ "src/index.ts", "src/error.ts", "src/utils.ts" ], "scripts": { "build": "cross-env NODE_ENV=development packem build", "build:prod": "cross-env NODE_ENV=production packem build", "clean": "rimraf node_modules dist .eslintcache", "dev": "pnpm run build --watch", "lint:attw": "attw --pack", "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs", "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix", "lint:package-json": "publint --strict", "lint:prettier": "prettier --config=.prettierrc.cjs --check .", "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .", "lint:types": "tsc --noEmit", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui --coverage.enabled=true", "test:watch": "vitest" } }