Skip to content

Commit 9a15ef4

Browse files
authored
Improve distribution of package (es & commonjs) (#3)
1 parent 7c85c47 commit 9a15ef4

File tree

14 files changed

+8654
-5760
lines changed

14 files changed

+8654
-5760
lines changed

.eslintignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
build/
2-
node_modules/
3-
docs/
1+
build
2+
node_modules
3+
docs
4+
webpack.*.js

.gitignore

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Build
2-
32
build
43

54
# Logs
@@ -9,51 +8,21 @@ npm-debug.log*
98
yarn-debug.log*
109
yarn-error.log*
1110

12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
17-
18-
# Directory for instrumented libs generated by jscoverage/JSCover
19-
lib-cov
20-
21-
# Coverage directory used by tools like istanbul
22-
coverage
23-
24-
# nyc test coverage
25-
.nyc_output
26-
27-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
28-
.grunt
29-
30-
# Bower dependency directory (https://bower.io/)
31-
bower_components
32-
33-
# node-waf configuration
34-
.lock-wscript
35-
36-
# Compiled binary addons (http://nodejs.org/api/addons.html)
37-
build/Release
11+
# since we use npm
12+
yarn.lock
3813

3914
# Dependency directories
4015
node_modules/
41-
jspm_packages/
42-
43-
# Typescript v1 declaration files
44-
typings/
4516

4617
# Optional npm cache directory
4718
.npm
4819

4920
# Optional eslint cache
5021
.eslintcache
5122

52-
# Optional REPL history
53-
.node_repl_history
54-
5523
# Output of 'npm pack'
5624
*.tgz
25+
package
5726

5827
# Yarn Integrity file
5928
.yarn-integrity

docs/app.04f9c.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/app.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@
7373
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"
7474
alt="Fork me on GitHub">
7575
</a>
76-
<script type="text/javascript" src="./app.js"></script></body>
76+
<script type="text/javascript" src="./app.04f9c.js"></script></body>
7777
</html>

0 commit comments

Comments
 (0)