Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to be compatible with vue event modifiers
- Loading branch information
1 parent
bd60389
commit aeb3dee
Showing
20 changed files
with
9,436 additions
and
3,895 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"plugins": ["./index"] | ||
"presets": [["env", { "targets": { "node": 4 }, "modules": false }]], | ||
"env": { | ||
"test": { | ||
"plugins": ["istanbul"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": ["standard"] | ||
"extends": ["standard", "prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"prettier.printWidth": 120, | ||
"prettier.singleQuote": true, | ||
"prettier.trailingComma": "all", | ||
"prettier.bracketSpacing": true, | ||
"prettier.semi": false, | ||
"editor.formatOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import babel from 'rollup-plugin-babel' | ||
|
||
export default { | ||
entry: 'src/index.js', | ||
plugins: [ | ||
babel({ | ||
exclude: 'node_modules/**', | ||
}), | ||
], | ||
format: 'cjs', | ||
dest: `dist/bundle${process.env.NODE_ENV === 'test' ? '-test' : ''}.js`, | ||
} |
Oops, something went wrong.