From 4800ca35aebd930acec57c7986bd7f20ac0f191c Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Sun, 20 May 2018 00:28:03 +0530 Subject: [PATCH] [misc] gitignore, constants --- .gitignore | 1 + constants.js | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100644 constants.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/constants.js b/constants.js new file mode 100644 index 0000000..9a5b111 --- /dev/null +++ b/constants.js @@ -0,0 +1,7 @@ +const path = require('path'); +const home = require('os').homedir(); + +module.exports = { + MARK_DIR: path.join(home, '/.mark'), + MARK_RC: path.join(home, '/.markrc'), +} \ No newline at end of file