Skip to content

Commit

Permalink
chore(release): update semantic release and linters
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Feb 13, 2020
1 parent 5af6ec4 commit a0fc8e6
Show file tree
Hide file tree
Showing 2 changed files with 3,216 additions and 1,269 deletions.
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,14 @@
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"build": "tsc",
"test": "jest",
"predocs": "rm -rf docs/",
"docs": "esdoc -c .esdoc.json",
"prepare": "yarn build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"prettier": "prettier",
"prettier-write": "yarn prettier -- --parser typescript --no-semi --trailing-comma es5 --write --print-width 120",
"prettier-project": "yarn prettier-write -- 'src/**/*.{ts,tsx}'",
"prettier-write": "prettier -- --parser typescript --no-semi --trailing-comma es5 --write --print-width 120",
"prettier": "yarn prettier-write -- 'src/**/*.{ts,tsx}'",
"lint": "tslint \"src/**/*.ts\""
},
"license": "MIT",
Expand All @@ -46,18 +42,18 @@
"@types/jest": "^19.2.4",
"@types/lodash": "^4.14.149",
"@types/node": "^12.7.12",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.1.0",
"danger": "*",
"husky": "^0.13.3",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^3.4.1",
"prettier": "^1.3.1",
"semantic-release": "^6.3.6",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"semantic-release": "^17.0.3",
"ts-jest": "^25.1.0",
"tslint": "^5.4.3",
"tslint": "^6.0.0",
"typescript": "^3.6.4",
"validate-commit-msg": "^2.12.1"
"validate-commit-msg": "^2.14.0"
},
"optionalDependencies": {
"esdoc": "^0.5.2"
Expand All @@ -70,8 +66,7 @@
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"yarn prettier-write --",
"git add"
"yarn prettier-write --"
]
},
"jest": {
Expand All @@ -91,5 +86,11 @@
},
"dependencies": {
"lodash": "^4.17.15"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged"
}
}
}
Loading

0 comments on commit a0fc8e6

Please sign in to comment.