-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
109 lines (109 loc) · 3.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"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"
],
"type": "module",
"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 <[email protected]>",
"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"
}
}