-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
14,048 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "react-static/.babelrc" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{js,jsx,ts,tsx,css,json,sh,yml,html,md}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
react-static=./node_modules/react-static/bin/react-static | ||
serve=./node_modules/serve/bin/serve.js | ||
|
||
# Smart install: Only executes if package.json's | ||
# modification date is later than node_module's | ||
install: node_modules | ||
|
||
node_modules: package.json | ||
npm install | ||
@touch -m node_modules | ||
|
||
run: node_modules | ||
$(react-static) start | ||
|
||
build: node_modules public src .babelrc static.config.js | ||
$(react-static) build | ||
|
||
serve: | ||
$(react-static) build | ||
|
||
publish: build | ||
rm -rf gh-pages | ||
git clone -b gh-pages --single-branch --depth 1 git@github.com:eugenkiss/7guis.git gh-pages | ||
rm -rf gh-pages/* | ||
cp -r dist/* gh-pages/ | ||
cd gh-pages && git add . && git commit --amend -m "Update site" && git push -f | ||
rm -rf gh-pages |
Oops, something went wrong.