forked from kimlimjustin/is-hidden-file
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.83 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
{
"name": "@freik/is-hidden-file",
"version": "1.13.1",
"description": "Check if a file/folder is hidden on node js that works on any platform.",
"author": "Kevin Frei <kevinfrei@hotmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/kevinfrei/is-hidden-file.git"
},
"os": ["darwin", "linux", "win32"],
"module": "./lib/esm/index.js",
"main": "./lib/cjs/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"scripts": {
"install": "run-script-os",
"install:win32": "cmake-js compile && yarn run cleanup",
"install:default": "echo No custom build step required",
"clean": "rimraf lib",
"cjscompat": "echo '{\"type\":\"commonjs\"}'> ./lib/cjs/package.json",
"esmcompat": "echo '{\"type\":\"module\"}'> ./lib/esm/package.json",
"compat": "yarn cjscompat && yarn esmcompat",
"build": "tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json && yarn compat",
"cleanbuild": "yarn clean && yarn build",
"prepare": "yarn build",
"prepublishOnly": "yarn test",
"test": "jest --config jestconfig.json",
"format": "er format",
"cleanup": "cmd /c rd /s /q build"
},
"keywords": ["file", "is", "hidden", "dot", "is-hidden", "windows", "linux"],
"license": "MIT",
"devDependencies": {
"@freik/build-tools": "^3.6.10",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "5.3.3"
},
"dependencies": {
"cmake-js": "^7.3.0",
"run-script-os": "^1.1.6"
},
"files": ["lib/esm/*", "lib/cjs/*", "src/module.cc", "CmakeLists.txt"],
"engines": {
"node": "^14.13.1 || >= 16.0.0"
},
"packageManager": "yarn@4.1.0"
}