try body as file, use as string otherwise

This commit is contained in:
Jacob Bolda
2020-02-03 22:37:38 -06:00
parent 4d1b6075ce
commit bfe866faf6
4 changed files with 46 additions and 6 deletions

View File

@@ -4,8 +4,8 @@
"description": "Create a release",
"main": "dist/index.js",
"scripts": {
"lint": "eslint 'src/**.js' 'tests/**.js' --fix",
"test": "eslint 'src/**.js' 'tests/**.js' && jest --coverage",
"lint": "eslint src/**.js tests/**.js --fix",
"test": "eslint src/**.js tests/**.js && jest --coverage",
"build": "ncc build src/main.js",
"precommit": "npm run build && git add dist/"
},