Created
April 16, 2017 21:28
-
-
Save oskosk/83fc80a48639b463a1f5a8639ee51166 to your computer and use it in GitHub Desktop.
next.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm init -y | |
npmAddScript -k dev -v "next dev" | |
npmAddScript -k build -v "next build" | |
npmAddScript -k start -v "next start" | |
npmAddScript -k deploy -v "now && now alias" | |
npmAddScript -k lint -v "estlint ." | |
wget https://gist.githubusercontent.com/oskosk/9257f15ade7701017bdfe3ad843efdf0/raw/2c52bfd53adbe8bef659fb472bcfdff84c273960/.eslintrc | |
npm install --save react react-dom next isomorphic-fetch | |
npm install --save-dev eslint babel-eslint eslint-plugin-react | |
mkdir pages components lib static && touch pages/index.js && touch static/styles.css | |
atom . | |
npm run dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment