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:
Shohei Ueda 2019-09-18 07:32:17 +09:00 committed by GitHub
parent 25a3456032
commit 4d54b90c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ inputs:
default: 'false'
runs:
using: 'node12'
main: 'index.js'
main: 'lib/index.js'
branding:
icon: 'package'
color: 'yellow'

View File

@ -2,9 +2,9 @@
"name": "hugo-action",
"version": "2.1.0",
"description": "Hugo setup action",
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"lint": "eslint ./index.js ./get-latest-version.js",
"lint": "eslint ./lib/**/*",
"test": "jest",
"build": "npm prune --production"
},