From 73d5730fe41f508d781c58df4171bab9ff98fd77 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 29 Apr 2021 12:27:43 +0000 Subject: chore(devops): setup commit-linting, commit-helper, and quality-of-life scripts --- package.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 8f0cff4..6b3a5bd 100644 --- a/package.json +++ b/package.json @@ -1 +1,24 @@ -{"devDependencies":{"husky":"6.0.0"},"scripts":{"prepare":"husky install"}} +{ + "name": "whirl", + "version": "0.1.0", + "description": "The Open-Source WorldServer", + "private": true, + "scripts": { + "prepare": "husky install", + "commit": "cz", + "commit:signed": "cz -S" + }, + "devDependencies": { + "@commitlint/cli": "^12.1.1", + "@commitlint/config-conventional": "^12.1.1", + "commitizen": "^4.2.3", + "cz-conventional-changelog": "^3.3.0", + "husky": "6.0.0" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog", + "defaultScope": "global" + } + } +} -- cgit v1.2.3