소스 검색

build: add `contributors` script for updating contributors list

Jonas Gloning 3 년 전
부모
커밋
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": {
 	"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",
 		"check": "tsc --noEmit",
 		"watch": "parcel watch",
 		"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",
 		"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/mocha": "^9.1.0",
 		"@types/node": "^17.0.18",
 		"@types/node": "^17.0.18",
 		"chai": "^4.3.6",
 		"chai": "^4.3.6",
+		"git-authors-cli": "^1.0.40",
 		"jsdom": "^19.0.0",
 		"jsdom": "^19.0.0",
 		"jsdom-global": "^3.0.2",
 		"jsdom-global": "^3.0.2",
 		"mocha": "^9.2.0",
 		"mocha": "^9.2.0",

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.