-
-
Notifications
You must be signed in to change notification settings - Fork 601
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 883 Bytes
/
package.json
File metadata and controls
41 lines (41 loc) · 883 Bytes
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
{
"name": "node-addon-examples",
"version": "1.0.0",
"description": "Node.js Addon Examples",
"main": "test_all.js",
"scripts": {
"format": "clang-format -i --glob=*/**/*.{h,cpp,cc}",
"test": "node test_all.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{h,cpp,cc}": [
"npm run format",
"git add"
]
},
"dependencies": {
"chalk": "^5.4.1",
"semver": "^7.1.3"
},
"devDependencies": {
"clang-format": "^1.4.0",
"node-gyp": "^12.2.0",
"husky": "^4.3.0",
"lint-staged": "^16.1.0"
},
"workspaces": [
"src/1-getting-started/*/*",
"src/2-js-to-native/*/*",
"src/3-context-awareness/*",
"src/4-references-and-handle-scope/*",
"src/5-async-work/*/*",
"src/6-threadsafe-function/*/*",
"src/7-events/*/*",
"src/8-tooling/*/*"
]
}