Set up commitizen (#221)

* chore: set up commitizen

* chore: set up commitlint

sfsdsdfsdfsd

Revert "sfsdsdfsdfsd"

This reverts commit 289fd99b1a1806aa1119e7a17a3acb7bdd745a5c.
This commit is contained in:
Daniel Kantor 2020-03-18 23:14:25 +01:00 committed by GitHub
parent 237ae13bca
commit d1b2a94394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 787 additions and 40 deletions

1
commitlint.config.js Normal file
View File

@ -0,0 +1 @@
module.exports = { extends: ["@commitlint/config-conventional"] }

View File

@ -3,6 +3,7 @@
"description": "TODO",
"version": "0.0.1",
"scripts": {
"commit": "git-cz",
"dev": "sapper dev",
"build": "sapper build",
"export": "sapper export",
@ -38,18 +39,21 @@
"remark-parse": "7.0.2",
"remark-rehype": "5.0.0",
"sirv": "0.4.2",
"svelte-i18n": "3.0.2",
"sortablejs": "1.10.2"
"sortablejs": "1.10.2",
"svelte-i18n": "3.0.2"
},
"devDependencies": {
"@babel/core": "7.8.7",
"@babel/preset-env": "7.8.7",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@cypress/code-coverage": "1.14.0",
"babel-jest": "25.1.0",
"babel-plugin-istanbul": "6.0.0",
"copy-webpack-plugin": "5.1.1",
"css-loader": "3.4.2",
"cypress": "4.2.0",
"cz-conventional-changelog": "3.1.0",
"eslint": "6.8.0",
"eslint-plugin-cypress": "2.10.3",
"eslint-plugin-jest": "23.8.2",
@ -57,6 +61,7 @@
"extract-text-webpack-plugin": "4.0.0-beta.0",
"file-loader": "6.0.0",
"gh-pages": "2.2.0",
"husky": "^4.2.3",
"istanbul-lib-coverage": "3.0.0",
"jest": "25.1.0",
"mini-css-extract-plugin": "0.9.0",
@ -83,5 +88,15 @@
],
"all": true,
"cache": false
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}

807
yarn.lock

File diff suppressed because it is too large Load Diff