more unit tests and corresponding refactoring (#174)

This commit is contained in:
eric sciple
2020-03-02 11:33:30 -05:00
committed by GitHub
parent 096e927750
commit f219062370
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",