mirror of
https://github.com/actions/create-release.git
synced 2025-06-13 04:10:38 +00:00
Update dev dependencies, add ESLint
This commit is contained in:
parent
d0222fc862
commit
af260870f7
24
.eslintrc
Normal file
24
.eslintrc
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"prettier"
|
||||
],
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"jest": true
|
||||
},
|
||||
"rules": {
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"trailingComma": "none",
|
||||
"singleQuote": true,
|
||||
"printWidth": 120
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugins": [
|
||||
"prettier"
|
||||
]
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# GitHub Action -- Releases API
|
||||
# GitHub Action - Releases API
|
||||
This GitHub Action (written in JavaScript) wraps the [GitHub Release API](https://developer.github.com/v3/repos/releases/), specifically the [Create a Release](https://developer.github.com/v3/repos/releases/#create-a-release) endpoint, to allow you to leverage GitHub Actions to create releases.
|
||||
|
||||
<a href="https://github.com/actions/create-release"><img alt="GitHub Actions status" src="https://github.com/actions/create-release/workflows/Create%20Release/badge.svg"></a>
|
||||
|
6198
package-lock.json
generated
6198
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -5,8 +5,10 @@
|
||||
"description": "Generate a release and upload build artifacts",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint 'src/**.js' 'test/**.js' --fix",
|
||||
"test": "eslint 'src/**.js' 'test/**.js' --fix && jest",
|
||||
"build": "ncc build src/main.js",
|
||||
"test": "jest"
|
||||
"precommit": "npm run build && git add dist/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -24,8 +26,16 @@
|
||||
"@actions/github": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^12.0.4",
|
||||
"@zeit/ncc": "^0.20.4",
|
||||
"typescript": "^3.5.1"
|
||||
"eslint": "^5.13.0",
|
||||
"eslint-config-airbnb": "^17.1.0",
|
||||
"eslint-config-prettier": "^3.6.0",
|
||||
"eslint-plugin-import": "^2.16.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.1",
|
||||
"eslint-plugin-prettier": "^2.7.0",
|
||||
"eslint-plugin-react": "^7.12.4",
|
||||
"jest": "^24.8.0",
|
||||
"prettier": "^1.16.4",
|
||||
"husky": "^3.0.5"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user