Skip to content

Commit

Permalink
Merge pull request #13 from bk201-/git-root-fixes
Browse files Browse the repository at this point in the history
Finding git root fixes
  • Loading branch information
bk201- authored Jan 16, 2020
2 parents 593b866 + f552fe9 commit d760efe
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 107 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bin

### Node template
# Logs
logs
Expand Down Expand Up @@ -36,4 +38,4 @@ jspm_packages/
!.vscode/extensions.json

### JetBrains template
.idea
.idea
91 changes: 70 additions & 21 deletions package-lock.json

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

25 changes: 18 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,37 @@
"url": "https://github.com/bk201-/jira-prepare-commit-msg"
},
"license": "MIT",
"dependencies": {
"find-up": "^4.1.0"
},
"dependencies": {},
"devDependencies": {
"@types/node": "^13.1.7",
"ava": "^2.4.0",
"eslint": "^6.7.2",
"eslint": "^6.8.0",
"eslint-config-xo-space": "^0.22.0",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"ts-node": "^8.6.2",
"typescript": "^3.7.4"
},
"engines": {
"node": ">=8"
"node": ">=10.13"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"scripts": {
"compile": "tsc",
"lint": "eslint \"bin/*.js\"",
"prepare:husky:2": "cd ./test/husky2 && git init && git checkout -b JIRA-1234-test-husky2 && npm i",
"prepare:husky:3": "cd ./test/husky3 && git init && git checkout -b JIRA-4321-test-husky3 && npm i",
"cleanup:husky:2": "cd ./test/husky2 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:3": "cd ./test/husky3 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"pretest": "npm run prepare:husky:2 && npm run prepare:husky:3",
"test": "ava test/test.js",
"test": "ava test/test.ts",
"posttest": "npm run cleanup:husky:2 && npm run cleanup:husky:3"
},
"eslintConfig": {
Expand Down
Loading

0 comments on commit d760efe

Please sign in to comment.