Skip to content

Commit

Permalink
Improve distribution of package (es & commonjs) (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rheaditi committed Apr 15, 2018
1 parent 7c85c47 commit 9a15ef4
Show file tree
Hide file tree
Showing 14 changed files with 8,654 additions and 5,760 deletions.
7 changes: 4 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
node_modules/
docs/
build
node_modules
docs
webpack.*.js
37 changes: 3 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Build

build

# Logs
Expand All @@ -9,51 +8,21 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# since we use npm
yarn.lock

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz
package

# Yarn Integrity file
.yarn-integrity
Expand Down
22 changes: 22 additions & 0 deletions docs/app.04f9c.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/app.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"
alt="Fork me on GitHub">
</a>
<script type="text/javascript" src="./app.js"></script></body>
<script type="text/javascript" src="./app.04f9c.js"></script></body>
</html>
Loading

0 comments on commit 9a15ef4

Please sign in to comment.