Skip to content

Commit 474a113

Browse files
Merge pull request #24 from matheuspiment/development
chore: change package configurations to rc files
2 parents 5d0f1a1 + 3c8f409 commit 474a113

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "node_modules/cz-conventional-changelog"
3+
}

.huskyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "test && lint-staged"
4+
}
5+
},

.lintstagedrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"src/**/*.{ts}": [
3+
"yarn run --silent lint:fix",
4+
"git add"
5+
]
6+
}

package.json

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
"version": "0.0.0-development",
44
"description": "An awesome post API",
55
"main": "dist/server.js",
6-
"repository": "https://github.com/matheuspiment/postfy.git",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/matheuspiment/postfy.git"
9+
},
710
"author": "Matheus Ribeiro Pimenta Nunes <matheuspiment@hotmail.com>",
811
"license": "MIT",
9-
"private": true,
1012
"scripts": {
1113
"commit": "git-cz",
1214
"dev": "nodemon src/server.ts",
@@ -21,22 +23,6 @@
2123
"semantic-release": "semantic-release",
2224
"travis-deploy-once": "travis-deploy-once"
2325
},
24-
"husky": {
25-
"hooks": {
26-
"pre-commit": "lint-staged"
27-
}
28-
},
29-
"lint-staged": {
30-
"src/**/*.{ts}": [
31-
"yarn run --silent lint:fix",
32-
"git add"
33-
]
34-
},
35-
"config": {
36-
"commitizen": {
37-
"path": "./node_modules/cz-conventional-changelog"
38-
}
39-
},
4026
"dependencies": {
4127
"axios": "^0.19.0",
4228
"bcryptjs": "^2.4.3",

0 commit comments

Comments
 (0)