Skip to content

Commit

Permalink
Added dotenv, fixing #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
pschfr committed Mar 1, 2019
1 parent 5bc42d9 commit 71675ab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
www
node_modules
public/repos/
.env
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Require dependencies
const dotenv = require('dotenv').config();
const fs = require('fs');
const timeago = require('timeago.js');
const repos = require('github-user-repos');
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "This is a list of my open-source software hosted here on GitHub! More to come soon.",
"main": "index.js",
"scripts": {
"serve": "node index.js; harp server --port $PORT",
"serve": "node index.js; harp server --port ${PORT:-9000}",
"build": "node index.js; harp compile",
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand All @@ -31,6 +31,7 @@
"homepage": "https://github.com/pschfr/labs#readme",
"dependencies": {
"capture-website": "^0.2.1",
"dotenv": "^6.2.0",
"github-user-repos": "^1.0.2",
"harp": "^0.29.0",
"tachyons-sass": "^4.9.5",
Expand Down

0 comments on commit 71675ab

Please sign in to comment.