-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
34 lines (34 loc) · 1.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "sw-repo-manager",
"version": "0.1.4",
"description": "연습문제repo와 정답repo 관리하기",
"main": "index.js",
"scripts": {
"verify": "node ./src/verify.js",
"init": "git branch assign && git branch ref && npm run deploy:ref:init && npm run deploy:assign:init",
"deploy:ref:init": "mkdir ./im-repo-manager-ref && cd ./im-repo-manager-ref && git init && touch README.md && git add . && git commit -m 'init' && cd .. ",
"deploy:assign:init": "mkdir ./im-repo-manager && cd ./im-repo-manager && git init && touch README.md && git add . && git commit -m 'init' && cd .. ",
"version": "git status && echo \"수강생에게 필요없는 코드는 ./.sw-repo-ignore 에 넣어주세요. \n코드가 모두 커밋되었나요.\" && node ./src/yesno.js && standard-version",
"deploy:assign": "git checkout assign && cd ./im-repo-manager && git reset --hard HEAD~1 && cp ../sw-repo-manager-main/* ./ && git add . && git commit -m 'ref' && cd .. && git checkout main",
"deploy:ref": "git checkout ref && cd ./im-repo-manager && git reset --hard HEAD~1 && cp ../sw-repo-manager-main/* ./ && git add . && git commit -m 'ref' && cd .. && git checkout main",
"deploy:ref:fix": "cd ./im-repo-manager-ref && touch fix.md && git add . && git commit -m 'fix: Keep at least 2 commits' && cd .. ",
"deploy:assign:fix": "cd ./im-repo-manager && touch fix.md && git add . && git commit -m 'fix: Keep at least 2 commits' && cd .. ",
"help:git:reinit": "false && rm -rf ./.git && git init && git add . && git commit -m 'config: package.json'",
"help": "node ./src/index.js"
},
"author": "Seungwoo, Hong",
"license": "MIT",
"devDependencies": {
"standard-version": "^9.3.2",
"yesno": "^0.3.1",
"fs-extra": "^10.0.1",
"nodegit": "^0.27.0",
"signal-exit": "^3.0.7"
},
"dependencies": {},
"swRepoManager": {
"assignRepoName": "im-repo-manager",
"refRepoName": "im-repo-manager-ref",
"masterRepoName": "sw-repo-manager-main"
}
}