UNPKG

dree

Version:

A nodejs module wich helps you handle a directory tree providing you its abstraction through tested functions and a custom configuration.

108 lines 3.55 kB
{ "name": "dree", "version": "5.1.5", "description": "A nodejs module wich helps you handle a directory tree providing you its abstraction through tested functions and a custom configuration.", "main": "bundled/lib/commonjs/index.js", "types": "bundled/lib/commonjs/index.d.ts", "module": "./bundled/lib/esm/index.esm.js", "bin": { "dree": "bundled/bin/index.js" }, "exports": { ".": { "require": { "types": "./bundled/lib/commonjs/index.d.ts", "default": "./bundled/lib/commonjs/index.js" }, "import": { "types": "./bundled/lib/esm/index.d.ts", "default": "./bundled/lib/esm/index.esm.js" } } }, "files": [ "package.json", "bundled", "README.md", "CHANGELOG.md", "LICENSE" ], "scripts": { "pretranspile": "shx rm -rf dist", "transpile": "tsc -p source", "bundle:esm": "node build.mjs", "bundle:dts": "dts-bundle-generator -o bundled/lib/commonjs/index.d.ts --project source/tsconfig.json source/lib/index.ts", "postbundle:dts": "cp bundled/lib/commonjs/index.d.ts bundled/lib/esm/index.d.ts", "prebundle": "shx rm -rf dist bundled", "bundle": "pnpm bundle:esm && pnpm bundle:dts", "prebundle:test": "pnpm bundle", "bundle:test": "node build.test.mjs", "script:getr:linux": "tsx scripts/generate-expected-tests-results linux", "script:getr:mac": "tsx scripts/generate-expected-tests-results mac", "script:getr:windows": "tsx scripts/generate-expected-tests-results windows", "pretest:source": "pnpm transpile", "test:source": "mocha --reporter spec test/test.js", "test:bundle:esm": "mocha --reporter spec bundled/test/esm/index.esm.js", "test:bundle:commonjs": "mocha --reporter spec bundled/test/commonjs/index.js", "pretest:bundle": "pnpm bundle:test", "test:bundle": "pnpm test:bundle:esm && pnpm test:bundle:commonjs", "test": "pnpm test:source && pnpm test:bundle", "test:source:cover": "c8 --reporter=html --reporter=text --reporter=lcov pnpm test:source", "test:cover": "pnpm test:source:cover && pnpm test:bundle", "docs:html": "typedoc", "docs:html-dev": "typedoc --options typedoc.dev.cjs", "predocs": "shx rm -rf docs/documentation", "docs": "pnpm docs:html && pnpm docs:html-dev", "prepublishOnly": "pnpm bundle", "release": "dotenv release-it" }, "repository": { "type": "git", "url": "git+https://github.com/euberdeveloper/dree.git" }, "bugs": { "url": "https://github.com/euberdeveloper/dree/issues" }, "homepage": "https://dree.euber.dev", "keywords": [ "dir", "directory", "tree", "folder", "structure", "directory-tree", "dir-tree", "folder-tree", "dir-structure" ], "author": "Eugenio Vinicio Berretta <euberdeveloper@gmail.com>", "license": "MIT", "pnpm": { "overrides": { "tough-cookie@<4.1.3": ">=4.1.3" } }, "dependencies": { "minimatch": "^10.0.1", "yargs": "^17.7.2" }, "devDependencies": { "@release-it/conventional-changelog": "^8.0.1", "@types/node": "^22.5.0", "@types/yargs": "^17.0.33", "c8": "^10.1.2", "chai": "^5.1.1", "chai-as-promised": "^8.0.0", "dotenv-cli": "^7.4.2", "dts-bundle-generator": "^9.5.1", "esbuild": "^0.23.1", "esbuild-plugin-import-map": "^2.1.0", "mocha": "^10.7.3", "release-it": "^17.6.0", "shx": "^0.3.4", "tsx": "^4.18.0", "typedoc": "^0.26.6", "typedoc-plugin-ga": "^1.0.3", "typescript": "^5.5.4" } }