Skip to content

Commit

Permalink
Merge pull request #24 from matheuspiment/development
Browse files Browse the repository at this point in the history
chore: change package configurations to rc files
  • Loading branch information
matheuspiment authored Oct 9, 2019
2 parents 5d0f1a1 + 3c8f409 commit 474a113
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .czrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "node_modules/cz-conventional-changelog"
}
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "test && lint-staged"
}
},
6 changes: 6 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"src/**/*.{ts}": [
"yarn run --silent lint:fix",
"git add"
]
}
22 changes: 4 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"version": "0.0.0-development",
"description": "An awesome post API",
"main": "dist/server.js",
"repository": "https://github.com/matheuspiment/postfy.git",
"repository": {
"type": "git",
"url": "https://github.com/matheuspiment/postfy.git"
},
"author": "Matheus Ribeiro Pimenta Nunes <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"commit": "git-cz",
"dev": "nodemon src/server.ts",
Expand All @@ -21,22 +23,6 @@
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts}": [
"yarn run --silent lint:fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"axios": "^0.19.0",
"bcryptjs": "^2.4.3",
Expand Down

0 comments on commit 474a113

Please sign in to comment.