-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.97 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
{
"name": "@discoveryjs/scan-fs",
"version": "4.0.0",
"description": "An utility for seeking files by file system scanning and optionally populating file info with processing their content",
"author": "Roman Dvornov <rdvornov@gmail.com>",
"license": "MIT",
"repository": "discoveryjs/scan-fs",
"keywords": [
"fs",
"readdir",
"scan",
"files",
"rules"
],
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.cjs"
}
},
"files": [
"lib"
],
"engines": {
"node": "^12.20.0 || ^14.13.0 || >=15.0.0"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"c8": "^7.11.3",
"esbuild": "^0.14.42",
"eslint": "^8.12.0",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^10.0.0",
"prettier": "^2.6.2",
"rollup": "^2.71.1",
"typescript": "^4.7.2"
},
"scripts": {
"lint": "eslint src test scripts/*.cjs && prettier -c src test scripts README.md",
"ts-check": "tsc --noEmit",
"ts-emit-types": "tsc --emitDeclarationOnly",
"test": "npm run test:esm && npm run test:cjs",
"test:esm": "mocha lib-test/*.js",
"test:cjs": "mocha lib-test/*.cjs",
"build": "npm run build:transpile",
"build:transpile": "node scripts/transpile.cjs",
"coverage": "c8 --exclude lib-test --reporter=lcovonly npm run test:esm",
"watch": "npm run build:transpile -- --watch --types",
"prepublishOnly": "npm run lint && npm run ts-emit-types && npm run build && npm run test"
}
}