-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.87 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
{
"name": "@photostructure/fs-metadata",
"version": "0.0.1",
"description": "Cross-platform native filesystem metadata retrieval for Node.js",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"homepage": "https://photostructure.github.io/fs-metadata/",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/photostructure/fs-metadata.git"
},
"files": [
"dist",
"build/Release",
"binding.gyp",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"license": "MIT",
"scripts": {
"install": "npm run build:gyp",
"clean": "rm -rf dist build && node-gyp clean",
"prebuild": "npm run clean",
"build": "run-p build:*",
"prebuild:gyp": "node scripts/configure.js",
"build:gyp": "node-gyp rebuild",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"watch": "tsc -p tsconfig.watch.json --watch",
"docs": "typedoc --out docs src/index.ts",
"jest:coverage": "jest --coverage",
"jest:clear": "jest --clearCache",
"jest:watch": "jest --watch",
"pretest": "tsc -p tsconfig.test.json",
"test": "run-s test:*",
"test:jest": "jest",
"test:memory": "cross-env TEST_MEMORY=1 node --expose-gc node_modules/jest/bin/jest.js src/__tests__/memory.test.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"fmt": "run-p fmt:*",
"fmt:pkg": "npm pkg fix",
"fmt:ts": "prettier --write \"src/**/*.ts\"",
"fmt:js": "prettier --write \"scripts/**/*.js\"",
"// fmt:cpp": "on ubuntu: `sudo apt install clang-format`",
"fmt:cpp": "clang-format --style=LLVM -i src/*/*.cpp src/*/*.h",
"prepublishOnly": "npm run test && npm run build",
"prepack": "npm run build"
},
"gypfile": true,
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"keywords": [
"filesystem",
"metadata",
"native",
"node-addon",
"windows",
"linux",
"macos",
"cross-platform"
],
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.2.2"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"node-gyp": "^10.2.0",
"npm-run-all": "4.1.5",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "4.1.0",
"ts-jest": "^29.2.5",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
}
}