Эх сурвалжийг харах

build: add `contributors` script for updating contributors list

Jonas Gloning 3 жил өмнө
parent
commit
732523af62
2 өөрчлөгдсөн 752 нэмэгдсэн , 20 устгасан
  1. 750 20
      package-lock.json
  2. 2 0
      package.json

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 750 - 20
package-lock.json


+ 2 - 0
package.json

@@ -150,6 +150,7 @@
 		}
 	},
 	"scripts": {
+		"contributors": "git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \"chore(contributors): update and sort contributors list\"",
 		"check": "tsc --noEmit",
 		"watch": "parcel watch",
 		"build": "rm -rf dist && parcel build && cp dist/peerjs.cjs dist/peerjs.js && cp dist/peerjs.min.cjs dist/peerjs.min.js",
@@ -169,6 +170,7 @@
 		"@types/mocha": "^9.1.0",
 		"@types/node": "^17.0.18",
 		"chai": "^4.3.6",
+		"git-authors-cli": "^1.0.40",
 		"jsdom": "^19.0.0",
 		"jsdom-global": "^3.0.2",
 		"mocha": "^9.2.0",

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно