Skip to content

Commit f0ab49c

Browse files
committed
init
1 parent 94b96fc commit f0ab49c

File tree

7 files changed

+1510
-0
lines changed

7 files changed

+1510
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Matches multiple files with brace expansion notation
12+
# Set default charset
13+
[*.{js,css,html,less,jade}]
14+
charset = utf-8
15+
16+
# 2 space indentation
17+
[*.{js,css,html,less,jade}]
18+
indent_style = space
19+
indent_size = 2

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,8 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
63+
64+
# project
65+
66+
dev.db

index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
3+
const zigbee = require('./src/zigbee');
4+
const core = require('./src/core');
5+
6+
7+
async function main() {
8+
await zigbee.init();
9+
await core.connect();
10+
}
11+
12+
main();

0 commit comments

Comments
 (0)