Skip to content

Commit

Permalink
Move library to ES module (#48)
Browse files Browse the repository at this point in the history
* Move library to ES module

* Modernize library

* Collect coverage

* Bump grunt version

* Remove node-jsdom

* Add new key

* Run saucelab

* Switch coverage folder

* Include async

* Temp comment out ie8

* Enable full test

* Update AugmentedEvent.js

* Update Gruntfile.js

* Fix async file path

* Use chrome to debug

* Enable modern browser

* Polyfill old browser

* Push new file

* Update browser list

* Other platform doesnt really run

* Test IE 11

* Replace arrow function

* Support IE

* Replace arrow function

* debug IE 11

* Compile spec file

* Make IE 11 works

* Publish es module

* prettier

* Add Node 10
  • Loading branch information
roderickhsiao authored and redonkulus committed May 10, 2018
1 parent e92253f commit 78c72c9
Show file tree
Hide file tree
Showing 28 changed files with 7,762 additions and 1,347 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
extends: ['eslint-config-airbnb-base', 'eslint-config-airbnb-base/rules/strict'].map(
require.resolve
),
rules: {
'comma-dangle': 0,
'no-underscore-dangle': 0,
'no-param-reassign': 0,
'no-plusplus': 0,
'no-func-assign': 0,
'no-use-before-define': 0,
'func-names': 0
}
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ coverage/
node_modules/
tmp/
dist/
dist-es/
*.log
*.tap
tests/functional/css
tests/functional/bundle.js
tests/functional/subscribe-functional.js
tests/functional/subscribe.spec.js
.nyc_output
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
sudo: false
language: node_js
node_js:
- "0.12"
- "6"
- "8"
- "10"
after_success:
- "npm run func"
- "cat artifacts/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
- "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
Loading

0 comments on commit 78c72c9

Please sign in to comment.