Create builder folder for docker + bootstrap combo

This commit is contained in:
Webber 2020-01-07 21:55:01 +01:00 committed by Webber Takken
parent f663254051
commit 2166833f11
5 changed files with 7 additions and 9 deletions

View File

@ -2,6 +2,4 @@
*
# Files required for the action
!entrypoint.sh
!action.yml
!default-build-script
!builder/

View File

@ -1,2 +1,2 @@
**/node_modules/**
**/dist/**
**/builder/**

View File

@ -34,4 +34,4 @@ branding:
color: 'gray-dark'
runs:
using: 'node12'
main: 'dist/index.js'
main: 'builder/index.js'

View File

@ -1,13 +1,13 @@
{
"name": "unity-builder",
"version": "0.2.0",
"version": "0.5.0",
"description": "Build Unity projects for different platforms.",
"main": "src/index.js",
"main": "builder/index.js",
"repository": "git@github.com:webbertakken/unity-builder.git",
"author": "Webber <webber@takken.io>",
"license": "MIT",
"scripts": {
"build": "ncc build --out dist --minify",
"build": "ncc build src --out builder --minify",
"lint": "prettier --check \"src/**/*.js\" && eslint src",
"test": "jest"
},
@ -39,7 +39,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn build && git add dist"
"pre-commit": "lint-staged && yarn build && git add builder/index.js"
}
},
"lint-staged": {