Skip to content

Commit

Permalink
re-arrange files in order make a npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakDev committed Oct 27, 2017
1 parent 901ac1b commit c459b20
Show file tree
Hide file tree
Showing 20 changed files with 24,750 additions and 75 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
/coverage

# production
/build
/build/lib/*
!/build/lib/.gitkeep

# misc
.DS_Store
Expand Down
21 changes: 21 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build/lib/.gitkeep

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
REACT PWA PAGE
==============
REACT PWA SCREEN MANAGER
========================

UI component to handle PWA pages display.
Almost each time I make a progressive web app, it has to look'n'feel as a "native app".

Page should change with an animation (either comming from left or right, pushing or coming over the previous one).
One of the main feature that make your (web)app feels like "native" is the screen change transition : each screen change should completely reload the page and re-render everything ? or the old screen should smoothly go away from the viewport in a nice translation animation while the next one is coming from the other side ?

Page change should be associated with a change in the router system (shipped in router is "react router").
This repository brings a set of React component in order to help you manage those screens transitions

Note : And because, we are on the web, each page change should be associated with a change in the page url, so be aware that this component set is shipped with "react router" (built-in).
14 changes: 14 additions & 0 deletions build/examples/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>React PWA Screen Manager</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
Loading

0 comments on commit c459b20

Please sign in to comment.