add ci script and workflow

This commit is contained in:
MapleLeaf
2021-12-08 01:05:55 -06:00
parent abdf88fdc9
commit 759d94f12f
3 changed files with 237 additions and 1 deletions

View File

@@ -15,7 +15,9 @@
"test": "ava",
"lint": "eslint --ext js,ts,tsx .",
"lint-fix": "npm run lint -- --fix",
"format": "prettier --write ."
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"ci": "npm-run-all --parallel --print-label --race build lint test typecheck"
},
"keywords": [],
"author": "itsMapleLeaf",
@@ -36,6 +38,7 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"tsup": "^5.10.3",
"typescript": "^4.5.2"