Skip to content

Commit

Permalink
Publishing ES and CJS (#218)
Browse files Browse the repository at this point in the history
* [3.0.0-alpha.0] Publishing ES and CJS module, remove deprecated props and mixins
  • Loading branch information
roderickhsiao committed Mar 28, 2019
1 parent 42d8d52 commit 725f520
Show file tree
Hide file tree
Showing 45 changed files with 5,633 additions and 5,057 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"env": {
"test": {
"plugins": [ "istanbul" ]
"presets": [
"env",
"react"
]
}
}
}
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
extends: [
'eslint-config-airbnb-base',
'eslint-config-airbnb-base/rules/strict'
].map(
require.resolve
),
rules: {
'comma-dangle': 0,
'func-names': 0,
'max-len': [2, 120, 4],
'no-func-assign': 0,
'no-param-reassign': 0,
'no-plusplus': 0,
'no-underscore-dangle': 0,
'no-unused-expressions': 0,
'no-use-before-define': 0
},
env: {
browser: true,
node: true,
jasmine: true
}
};
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
sudo: false
language: node_js
node_js:
- 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 725f520

Please sign in to comment.