UNPKG

2.52 kBJSONView Raw
1{
2 "name": "readdirp",
3 "description": "Recursive version of fs.readdir with streaming API.",
4 "version": "3.6.0",
5 "homepage": "https://github.com/paulmillr/readdirp",
6 "repository": {
7 "type": "git",
8 "url": "git://github.com/paulmillr/readdirp.git"
9 },
10 "license": "MIT",
11 "bugs": {
12 "url": "https://github.com/paulmillr/readdirp/issues"
13 },
14 "author": "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
15 "contributors": [
16 "Thorsten Lorenz <thlorenz@gmx.de> (thlorenz.com)",
17 "Paul Miller (https://paulmillr.com)"
18 ],
19 "main": "index.js",
20 "engines": {
21 "node": ">=8.10.0"
22 },
23 "files": [
24 "index.js",
25 "index.d.ts"
26 ],
27 "keywords": [
28 "recursive",
29 "fs",
30 "stream",
31 "streams",
32 "readdir",
33 "filesystem",
34 "find",
35 "filter"
36 ],
37 "scripts": {
38 "dtslint": "dtslint",
39 "nyc": "nyc",
40 "mocha": "mocha --exit",
41 "lint": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
42 "test": "npm run lint && nyc npm run mocha"
43 },
44 "dependencies": {
45 "picomatch": "^2.2.1"
46 },
47 "devDependencies": {
48 "@types/node": "^14",
49 "chai": "^4.2",
50 "chai-subset": "^1.6",
51 "dtslint": "^3.3.0",
52 "eslint": "^7.0.0",
53 "mocha": "^7.1.1",
54 "nyc": "^15.0.0",
55 "rimraf": "^3.0.0",
56 "typescript": "^4.0.3"
57 },
58 "nyc": {
59 "reporter": [
60 "html",
61 "text"
62 ]
63 },
64 "eslintConfig": {
65 "root": true,
66 "extends": "eslint:recommended",
67 "parserOptions": {
68 "ecmaVersion": 9,
69 "sourceType": "script"
70 },
71 "env": {
72 "node": true,
73 "es6": true
74 },
75 "rules": {
76 "array-callback-return": "error",
77 "no-empty": [
78 "error",
79 {
80 "allowEmptyCatch": true
81 }
82 ],
83 "no-else-return": [
84 "error",
85 {
86 "allowElseIf": false
87 }
88 ],
89 "no-lonely-if": "error",
90 "no-var": "error",
91 "object-shorthand": "error",
92 "prefer-arrow-callback": [
93 "error",
94 {
95 "allowNamedFunctions": true
96 }
97 ],
98 "prefer-const": [
99 "error",
100 {
101 "ignoreReadBeforeAssign": true
102 }
103 ],
104 "prefer-destructuring": [
105 "error",
106 {
107 "object": true,
108 "array": false
109 }
110 ],
111 "prefer-spread": "error",
112 "prefer-template": "error",
113 "radix": "error",
114 "semi": "error",
115 "strict": "error",
116 "quotes": [
117 "error",
118 "single"
119 ]
120 }
121 }
122}