Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
add zip command for creating Twitch-ready zip bundle (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwojcik committed Sep 2, 2020
1 parent 0a6f2b6 commit 846f3f0
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# production
/build

# zipped bundles
/bundle

# misc
.DS_Store
.env
Expand Down
260 changes: 260 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@types/react-tabs": "2.3.2",
"@types/react-timeago": "4.1.1",
"@types/yup": "0.29.6",
"bestzip": "2.1.7",
"classnames": "2.2.6",
"formik": "2.1.5",
"jest-fetch-mock": "3.0.3",
Expand All @@ -44,10 +45,11 @@
"dev": "npm start",
"lint": "eslint src/**/*.{ts,tsx}",
"lint:fix": "eslint */**/*.{ts,tsx} --fix",
"build": "npm run lint && npm test && craco build",
"build": "npm run lint && npm test && craco build && npm run zip",
"test": "jest",
"test:watch": "craco test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"zip": "cd build; mkdir ../bundle; bestzip ../bundle/bundle.zip *"
},
"pre-commit": [
"lint",
Expand Down

0 comments on commit 846f3f0

Please sign in to comment.