Skip to content

Commit

Permalink
🥾 add export, prod, zip, deploy scripts
Browse files Browse the repository at this point in the history
remove Makefile
  • Loading branch information
desandro committed Dec 30, 2020
1 parent ec2fd4d commit 6bbf9aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
20 changes: 0 additions & 20 deletions Makefile

This file was deleted.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@
"test": "npm run lint",
"build": "npx gulp",
"dev": "npx gulp dev",
"export": "rm -rf build/ && npx gulp export && npm run zip",
"prod": "npm run export && npm run build && npm run deploy",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "npx eslint .",
"lint:css": "npx stylelint '**/*.css'"
"lint:css": "npx stylelint '**/*.css'",
"zip": "rm -rf build/infinite-scroll-docs.zip && cp -r build infinite-scroll-docs && zip -rq build/infinite-scroll-docs.zip infinite-scroll-docs/ && rm -rf infinite-scroll-docs",
"deploy": "netlify deploy --dir=build"
},
"keywords": [
"documentation",
Expand Down

0 comments on commit 6bbf9aa

Please sign in to comment.