more unit tests and corresponding refactoring

This commit is contained in:
eric sciple 2020-02-15 01:43:52 -05:00
parent f858c22e96
commit 7cd17f8a83
14 changed files with 1049 additions and 305 deletions

View file

@ -4,14 +4,11 @@
"description": "checkout action",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"build": "tsc && ncc build && node lib/misc/generate-docs.js",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "ncc build",
"gendocs": "node lib/misc/generate-docs.js",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run pack && npm run gendocs && npm test"
"test": "jest"
},
"repository": {
"type": "git",