-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.47 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
{
"name": "node-mac-userdefaults",
"version": "1.1.0",
"description": "A native Node.js module providing an interface to the user’s defaults database",
"main": "index.js",
"scripts": {
"build": "node-gyp rebuild",
"clean": "node-gyp clean",
"lint": "prettier --check index.js",
"format": "npm run format:js && npm run format:cpp",
"format:js": "prettier --write index.js",
"format:cpp": "find src -name '*.mm' -o -name '*.h' -o -name '*.cc'| xargs clang-format -i",
"test": "./node_modules/.bin/mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codebytere/node-mac-userdefaults.git"
},
"keywords": [
"nodejs",
"native",
"node",
"modules",
"objective-c",
"macos"
],
"author": "Shelley Vohr <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codebytere/node-mac-userdefaults/issues"
},
"homepage": "https://github.com/codebytere/node-mac-userdefaults#readme",
"devDependencies": {
"chai": "^4.2.0",
"clang-format": "^1.8.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"mocha": "^10.3.0",
"node-gyp": "^10.0.1",
"prettier": "^3.2.5"
},
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^7.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.{mm,h,cc}": [
"clang-format -i"
]
}
}