mirror of
https://github.com/actions/javascript-action.git
synced 2026-01-12 00:50:59 +08:00
Fixes up issues with the template (#36)
* #27 remove console.log * #16 change author to empty * #30 maintain this repo 😄 * #8 jest update for eslint * update dependencies * #22 generate source maps * #21 use prepare instead of package * add `npm run all` to run everything
This commit is contained in:
13
package.json
13
package.json
@@ -5,8 +5,9 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint index.js",
|
||||
"package": "ncc build index.js -o dist",
|
||||
"test": "eslint index.js && jest"
|
||||
"prepare": "ncc build index.js -o dist --source-map",
|
||||
"test": "jest",
|
||||
"all": "npm run lint && npm run prepare && npm run test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -17,7 +18,7 @@
|
||||
"Actions",
|
||||
"JavaScript"
|
||||
],
|
||||
"author": "GitHub",
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/actions/javascript-action/issues"
|
||||
@@ -27,8 +28,8 @@
|
||||
"@actions/core": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@zeit/ncc": "^0.20.5",
|
||||
"eslint": "^6.3.0",
|
||||
"jest": "^24.9.0"
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"eslint": "^7.4.0",
|
||||
"jest": "^26.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user