Skip to content

Commit 77862d1

Browse files
committed
Move source to src folder. Add minimum Node.js version to package.json. Add yarn error log to gitignore.
1 parent 0dc0cd1 commit 77862d1

36 files changed

+44
-36
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/node_modules
33
.gtt.yml
44
.DS_STORE
5+
yarn-error.log

package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@
99
"type": "git",
1010
"url": "https://github.com/kriskbx/gitlab-time-tracker.git"
1111
},
12-
"main": "gtt.js",
13-
"scripts": {},
12+
"main": "src/gtt.js",
13+
"scripts": {
14+
"test": "NODE_ENV=test mocha 'spec/**/*.spec.js'"
15+
},
1416
"bin": {
15-
"gtt": "gtt.js"
17+
"gtt": "src/gtt.js"
18+
},
19+
"engines": {
20+
"node": ">=6.11"
1621
},
1722
"author": "kriskbx",
1823
"license": "GPL-2.0",
@@ -38,5 +43,10 @@
3843
"request": "^2.81.0",
3944
"request-promise-native": "^1.0.4",
4045
"underscore": "^1.8.3"
46+
},
47+
"devDependencies": {
48+
"chai": "^4.1.2",
49+
"mocha": "^3.5.0",
50+
"sinon": "^3.2.1"
4151
}
4252
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)