Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 3b35cbc9
authored
Sep 11, 2018
by
Sushant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: setup commit hooks with commitlint
1 parent
74197379
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
package.json
package.json
View file @
3b35cbc
...
@@ -36,15 +36,15 @@
...
@@ -36,15 +36,15 @@
"wkx"
:
"^0.4.5"
"wkx"
:
"^0.4.5"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@commitlint/cli"
:
"^7.1.2"
,
"@commitlint/config-angular"
:
"^7.1.2"
,
"chai"
:
"^4.x"
,
"chai"
:
"^4.x"
,
"chai-as-promised"
:
"^7.x"
,
"chai-as-promised"
:
"^7.x"
,
"chai-datetime"
:
"^1.x"
,
"chai-datetime"
:
"^1.x"
,
"chai-spies"
:
"^1.x"
,
"chai-spies"
:
"^1.x"
,
"cheerio"
:
"^1.0.0-rc.2"
,
"cheerio"
:
"^1.0.0-rc.2"
,
"commitizen"
:
"^2.x"
,
"continuation-local-storage"
:
"^3.x"
,
"continuation-local-storage"
:
"^3.x"
,
"cross-env"
:
"^5.2.0"
,
"cross-env"
:
"^5.2.0"
,
"cz-conventional-changelog"
:
"^2.x"
,
"docdash"
:
"^1.0.0"
,
"docdash"
:
"^1.0.0"
,
"env-cmd"
:
"^8.0.0"
,
"env-cmd"
:
"^8.0.0"
,
"esdoc"
:
"^0.5.2"
,
"esdoc"
:
"^0.5.2"
,
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
"eslint-plugin-jsdoc"
:
"^3.7.1"
,
"eslint-plugin-jsdoc"
:
"^3.7.1"
,
"eslint-plugin-mocha"
:
"^5.0.0"
,
"eslint-plugin-mocha"
:
"^5.0.0"
,
"hints"
:
"^1.x"
,
"hints"
:
"^1.x"
,
"husky"
:
"^0.
x
"
,
"husky"
:
"^0.
14.3
"
,
"istanbul"
:
"^0.x"
,
"istanbul"
:
"^0.x"
,
"jsdoc"
:
"^3.5.5"
,
"jsdoc"
:
"^3.5.5"
,
"lcov-result-merger"
:
"^3.0.0"
,
"lcov-result-merger"
:
"^3.0.0"
,
...
@@ -67,8 +67,7 @@
...
@@ -67,8 +67,7 @@
"sinon-chai"
:
"^3.2.0"
,
"sinon-chai"
:
"^3.2.0"
,
"sqlite3"
:
"^4.0.2"
,
"sqlite3"
:
"^4.0.2"
,
"tedious"
:
"^2.x"
,
"tedious"
:
"^2.x"
,
"uuid-validate"
:
"^0.0.3"
,
"uuid-validate"
:
"^0.0.3"
"validate-commit-msg"
:
"^2.12.2"
},
},
"keywords"
:
[
"keywords"
:
[
"mysql"
,
"mysql"
,
...
@@ -84,6 +83,11 @@
...
@@ -84,6 +83,11 @@
"options"
:
{
"options"
:
{
"env_cmd"
:
"./test/config/.docker.env"
"env_cmd"
:
"./test/config/.docker.env"
},
},
"commitlint"
:
{
"extends"
:
[
"@commitlint/config-angular"
]
},
"scripts"
:
{
"scripts"
:
{
"lint"
:
"eslint lib test --quiet"
,
"lint"
:
"eslint lib test --quiet"
,
"test"
:
"npm run teaser && npm run test-unit && npm run test-integration"
,
"test"
:
"npm run teaser && npm run test-unit && npm run test-integration"
,
...
@@ -123,15 +127,10 @@
...
@@ -123,15 +127,10 @@
"sscce-mysql"
:
"cross-env DIALECT=mysql npm run sscce"
,
"sscce-mysql"
:
"cross-env DIALECT=mysql npm run sscce"
,
"sscce-postgres"
:
"cross-env DIALECT=postgres npm run sscce"
,
"sscce-postgres"
:
"cross-env DIALECT=postgres npm run sscce"
,
"sscce-sqlite"
:
"cross-env DIALECT=sqlite npm run sscce"
,
"sscce-sqlite"
:
"cross-env DIALECT=sqlite npm run sscce"
,
"commitmsg"
:
"
validate-commit-msg
"
"commitmsg"
:
"
commitlint -E GIT_PARAMS
"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=6.0.0"
"node"
:
">=6.0.0"
},
},
"license"
:
"MIT"
,
"license"
:
"MIT"
"config"
:
{
"commitizen"
:
{
"path"
:
"./node_modules/cz-conventional-changelog"
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment