Skip to content

Commit

Permalink
chore(build): build using webpack
Browse files Browse the repository at this point in the history
BREAKING CHANGE: we now distribute the library in two different ways:

* the npm "main" is now `lib/index.js`, which is ES5 with require statements, compatible with webpack and browserify
* the `dist/payment.js` is a pre-built JS file that can be included in <script> tags
  • Loading branch information
jessepollak committed Jun 26, 2016
1 parent 8c08e00 commit 9abbb20
Show file tree
Hide file tree
Showing 12 changed files with 1,044 additions and 918 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1 +1,4 @@
.tmp
coverage
node_modules
lib
52 changes: 52 additions & 0 deletions .npmignore
@@ -0,0 +1,52 @@
# Automatically ignored per:
# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
#
# .*.swp
# ._*
# .DS_Store
# .git
# .hg
# .lock-wscript
# .svn
# .wafpickle-*
# CVS
# npm-debug.log
# node_modules

*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.orig
*.jql.js

work
build
src
test
spec
pids
logs
results
coverage
lib-cov
html-report
xunit.xml

.project
.idea
.settings
.iml
*.sublime-workspace
*.sublime-project

ehthumbs.db
Icon?
Thumbs.db
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes

0 comments on commit 9abbb20

Please sign in to comment.