Browse Source

chore(manifest): add commit script with conventional commit adapter

Josh Habdas 6 months ago
parent
commit
c230847685
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      package.json

+ 9
- 1
package.json View File

@@ -31,10 +31,13 @@
31 31
     "update:hackcss": "npm up hackcss && cp -ir node_modules/hack/dist/ assets/css/vendor/hack/",
32 32
     "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
33 33
     "integrity": "npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" '",
34
-    "release": "standard-version"
34
+    "release": "standard-version",
35
+    "commit": "npx git-cz"
35 36
   },
36 37
   "devDependencies": {
37 38
     "atom-one-chroma": "^2.0.0",
39
+    "commitizen": "^3.1.1",
40
+    "cz-conventional-changelog": "^2.1.0",
38 41
     "fetch-inject": "^2.0.2",
39 42
     "fuse.js": "^3.3.0",
40 43
     "hack": "^0.8.1",
@@ -44,5 +47,10 @@
44 47
     "standard-version": "^4.4.0",
45 48
     "vue": "^2.5.16"
46 49
   },
50
+  "config": {
51
+    "commitizen": {
52
+      "path": "./node_modules/cz-conventional-changelog"
53
+    }
54
+  },
47 55
   "license": "WTFPL"
48 56
 }

Loading…
Cancel
Save