add envsample and loading dep
This commit is contained in:
Родитель
9c68472161
Коммит
d5f2d7c5a1
|
@ -0,0 +1,2 @@
|
|||
SLACK_API_TOKEN=???
|
||||
SLACK_CHANNEL=???
|
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
.env
|
||||
|
|
2
index.js
2
index.js
|
@ -1,3 +1,5 @@
|
|||
require('dotenv').load();
|
||||
|
||||
const assert = require("assert");
|
||||
const bole = require("bole");
|
||||
const logstring = require("common-log-string");
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
"bole": "^2.0.0",
|
||||
"common-log-string": "^0.2.1"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"devDependencies": {
|
||||
"dotenv": "^2.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/npm/slack-hook-subscribe.git"
|
||||
|
|
Загрузка…
Ссылка в новой задаче