Browse Source

initial commit

Kieran Gibb 2 years ago
commit
1261021d76
No known key found for this signature in database
4 changed files with 32 additions and 0 deletions
  1. 3
    0
      README.md
  2. 7
    0
      index.js
  3. 14
    0
      package.json
  4. 8
    0
      yarn.lock

+ 3
- 0
README.md View File

@@ -0,0 +1,3 @@
1
+# cobox-constants
2
+
3
+A stable package for storing cobox constants

+ 7
- 0
index.js View File

@@ -0,0 +1,7 @@
1
+const path = require('path')
2
+const os = require('os')
3
+
4
+module.exports = {
5
+  storage: path.join(os.homedir(), '.cobox'),
6
+  mountdir: path.join('/', 'cobox')
7
+}

+ 14
- 0
package.json View File

@@ -0,0 +1,14 @@
1
+{
2
+  "name": "cobox-constants",
3
+  "version": "1.0.0",
4
+  "description": "A stable set of constants for cobox",
5
+  "main": "index.js",
6
+  "scripts": {
7
+    "test": "echo \"Error: no test specified\" && exit 1"
8
+  },
9
+  "author": "magma-collective",
10
+  "license": "AGPL-3.0-or-later",
11
+  "dependencies": {
12
+    "os": "^0.1.1"
13
+  }
14
+}

+ 8
- 0
yarn.lock View File

@@ -0,0 +1,8 @@
1
+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+# yarn lockfile v1
3
+
4
+
5
+os@^0.1.1:
6
+  version "0.1.1"
7
+  resolved "https://registry.yarnpkg.com/os/-/os-0.1.1.tgz#208845e89e193ad4d971474b93947736a56d13f3"
8
+  integrity sha1-IIhF6J4ZOtTZcUdLk5R3NqVtE/M=