Refactor: directory structure (#31)
* config: update version * refactor: move source codes to lib directory, Close #30 * refactor: move test code
This commit is contained in:
parent
25a3456032
commit
4d54b90c0e
5 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ inputs:
|
||||||
default: 'false'
|
default: 'false'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'index.js'
|
main: 'lib/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: 'package'
|
icon: 'package'
|
||||||
color: 'yellow'
|
color: 'yellow'
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
"name": "hugo-action",
|
"name": "hugo-action",
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"description": "Hugo setup action",
|
"description": "Hugo setup action",
|
||||||
"main": "index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ./index.js ./get-latest-version.js",
|
"lint": "eslint ./lib/**/*",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"build": "npm prune --production"
|
"build": "npm prune --production"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue