Skip to content

Commit

Permalink
fix(ci): upgrade husky config
Browse files Browse the repository at this point in the history
  • Loading branch information
galenwarren committed Jul 7, 2018
1 parent c3a8d09 commit a22cc64
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 70 deletions.
6 changes: 6 additions & 0 deletions husky.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
};
138 changes: 68 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,70 @@
{
"name": "awilix-groa",
"version": "0.0.0-development",
"description": "Awilix helpers/middleware for Groa",
"main": "dist/index.js",
"scripts": {
"precommit": "lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS",
"lint": "npm run lint:specific \"$npm_package_directories_src/**/*.js\"",
"lint:specific": "prettier-eslint \"$@\" --write",
"test": "jest",
"cz": "git-cz",
"test:watch": "jest --watch",
"coverage": "jest --coverage --no-cache",
"coverage:watch": "jest --coverage --no-cache --watch",
"build": "BABEL_ENV=build babel $npm_package_directories_src -d $npm_package_directories_dist",
"semantic-release": "semantic-release",
"docs": "jsdoc -d $npm_package_directories_docs \"$npm_package_directories_src\""
},
"repository": {
"type": "git",
"url": "https://github.com/galenwarren/awilix-groa.git"
},
"files": [
"dist",
"LICENSE.md",
"README.md"
],
"directories": {
"src": "./src",
"dist": "./dist",
"docs": "./docs"
},
"keywords": [
"awilix",
"groa",
"grpc"
],
"author": "Galen Warren <galenwarren@users.noreply.github.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/galenwarren/awilix-groa/issues"
},
"homepage": "https://github.com/galenwarren/awilix-groa#readme",
"dependencies": {
"awilix": "^3.0.8",
"awilix-router-core": "^1.3.2",
"groa-router": "0.0.2",
"koa-compose": "^4.1.0"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"babel-cli": "^6.26.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.0.0-rc.12",
"jest": "^23.3.0",
"jsdoc": "^3.5.5",
"lint-staged": "^7.2.0",
"prettier-eslint-cli": "^4.7.1",
"semantic-release": "^15.6.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
"name": "awilix-groa",
"version": "0.0.0-development",
"description": "Awilix helpers/middleware for Groa",
"main": "dist/index.js",
"scripts": {
"lint": "npm run lint:specific \"$npm_package_directories_src/**/*.js\"",
"lint:specific": "prettier-eslint \"$@\" --write",
"test": "jest",
"cz": "git-cz",
"test:watch": "jest --watch",
"coverage": "jest --coverage --no-cache",
"coverage:watch": "jest --coverage --no-cache --watch",
"build": "BABEL_ENV=build babel $npm_package_directories_src -d $npm_package_directories_dist",
"semantic-release": "semantic-release",
"docs": "jsdoc -d $npm_package_directories_docs \"$npm_package_directories_src\""
},
"repository": {
"type": "git",
"url": "https://github.com/galenwarren/awilix-groa.git"
},
"files": [
"dist",
"LICENSE.md",
"README.md"
],
"directories": {
"src": "./src",
"dist": "./dist",
"docs": "./docs"
},
"keywords": [
"awilix",
"groa",
"grpc"
],
"author": "Galen Warren <galenwarren@users.noreply.github.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/galenwarren/awilix-groa/issues"
},
"homepage": "https://github.com/galenwarren/awilix-groa#readme",
"dependencies": {
"awilix": "^3.0.8",
"awilix-router-core": "^1.3.2",
"groa-router": "0.0.2",
"koa-compose": "^4.1.0"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"babel-cli": "^6.26.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.0.0-rc.12",
"jest": "^23.3.0",
"jsdoc": "^3.5.5",
"lint-staged": "^7.2.0",
"prettier-eslint-cli": "^4.7.1",
"semantic-release": "^15.6.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit a22cc64

Please sign in to comment.