add testing script

This commit is contained in:
2020-07-25 14:05:13 +03:00
parent f51bd0df46
commit c93a1b8ddb

View File

@ -10,7 +10,8 @@
"docs": "rm -rf out && documentation build src/** -f html -o out", "docs": "rm -rf out && documentation build src/** -f html -o out",
"show:docs": "lite-server --baseDir=\"out\"", "show:docs": "lite-server --baseDir=\"out\"",
"lint": "eslint -c .eslintrc.json src --fix", "lint": "eslint -c .eslintrc.json src --fix",
"test": "jest" "test": "jest",
"master:test": "git fetch && git reset --hard master && git checkout master && git pull && npm i && npm start"
}, },
"repository": { "repository": {
"type": "git", "type": "git",