mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2025-07-13 01:31:51 +02:00
fix: move main.js to root dir, fix ncc build error
ref: https://github.com/vercel/ncc/issues/791
This commit is contained in:
12
package.json
12
package.json
@ -2,11 +2,13 @@
|
||||
"name": "gitea-release-action",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "src/main.js",
|
||||
"type": "module",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"package": "ncc build src/main.js -o dist",
|
||||
"build": "ncc build src/main.js"
|
||||
"package": "ncc build main.js -o dist",
|
||||
"build": "ncc build main.js",
|
||||
"start": "node main.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
@ -14,7 +16,9 @@
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/github": "^6.0.0",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"gitea-api": "^1.17.3-1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.38.1"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user