-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
56 lines (56 loc) · 1.34 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
{
"name": "node-mac-displays",
"version": "1.0.0",
"description": "A native Node.js module for enumerating over system display information",
"main": "index.js",
"scripts": {
"build": "node-gyp rebuild",
"clean": "node-gyp clean",
"lint": "clang-format --dry-run --Werror displays.mm && prettier --check index.js",
"format": "clang-format -i displays.mm && prettier --write index.js",
"test": "./node_modules/.bin/mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codebytere/node-mac-displays.git"
},
"keywords": [
"nodejs",
"macos",
"display",
"screen",
"napi"
],
"author": "Shelley Vohr <shelley.vohr@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codebytere/node-mac-displays/issues"
},
"homepage": "https://github.com/codebytere/node-mac-displays#readme",
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^3.0.2"
},
"devDependencies": {
"chai": "^4.2.0",
"clang-format": "^1.4.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"node-gyp": "^7.1.2",
"prettier": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.mm": [
"clang-format -i"
]
}
}