-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
26 lines (26 loc) · 1012 Bytes
/
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
{
"name": "this-repo-has-x-stars-y-forks-action",
"main": "src/main.js",
"license": "MIT",
"version": "3.0.0",
"scripts": {
"build": "ncc build -m",
"lint": "eslint src --ext js --fix",
"publish:pre": "git switch v3 && git merge master && yarn && yarn build && git diff-index --quiet @ || git commit -am 'build: update dist'",
"publish:after": "git push && git push --tags && git switch master && git cherry-pick v3 && git push",
"publish:patch": "yarn publish:pre && yarn version --patch && yarn publish:after",
"publish:minor": "yarn publish:pre && yarn version --minor && yarn publish:after",
"publish:major": "yarn publish:pre && yarn version --major && yarn publish:after",
"publish": "yarn publish:patch"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@octokit/rest": "^20.1.0"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1",
"eslint": "^8.27.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1"
}
}