-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
3,595 additions
and
6,555 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,12 +1,17 @@ | ||
{ | ||
"presets": [ | ||
["env", { "modules": false }] | ||
["@babel/env", { "modules": false }] | ||
], | ||
"env": { | ||
"test": { | ||
"presets": [ | ||
["env", { "targets": { "node": "current" }}] | ||
["@babel/env", { "targets": { "node": "current" }}] | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"plugins": [ | ||
["@babel/transform-runtime", { | ||
"regenerator": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false |
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,15 @@ | ||
module.exports = { | ||
"dataSource": "prs", | ||
"prefix": "", | ||
"ignoreLabels": ["duplicate", "help wanted", "invalid", "question", "wontfix"], | ||
"ignoreIssuesWith": ["duplicate", "help wanted", "invalid", "question", "wontfix"], | ||
"onlyMilestones": false, | ||
"changelogFilename": "CHANGELOG.md", | ||
"template": { | ||
"issue": "- {{name}} [{{text}}]({{url}})" | ||
}, | ||
"groupBy": { | ||
"✨ New Features:": ["enhancement"], | ||
"🐛 Bug Fixes:": ["bug"] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
language: node_js | ||
node_js: | ||
- lts/* | ||
git: | ||
depth: 3 | ||
install: | ||
- yarn --frozen-lockfile | ||
script: | ||
- yarn build | ||
cache: yarn | ||
deploy: | ||
- on: | ||
branch: master | ||
provider: pages | ||
skip-cleanup: true | ||
keep-history: true | ||
local-dir: docs | ||
github-token: $GITHUB_TOKEN | ||
- on: | ||
branch: master | ||
provider: npm | ||
email: [email protected] | ||
api_key: $NPM_TOKEN |
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 |
---|---|---|
@@ -1,29 +1,34 @@ | ||
// rollup.config.js | ||
import vue from 'rollup-plugin-vue'; | ||
import buble from 'rollup-plugin-buble'; | ||
import uglify from 'rollup-plugin-uglify-es'; | ||
import minimist from 'minimist'; | ||
import vue from 'rollup-plugin-vue' | ||
import babel from 'rollup-plugin-babel' | ||
import commonjs from 'rollup-plugin-commonjs' | ||
import { terser } from 'rollup-plugin-terser' | ||
import minimist from 'minimist' | ||
|
||
const argv = minimist(process.argv.slice(2)); | ||
const argv = minimist(process.argv.slice(2)) | ||
|
||
const config = { | ||
input: 'src/index.js', | ||
output: { | ||
name: 'ElDataTable', | ||
exports: 'named', | ||
}, | ||
plugins: [ | ||
vue({ | ||
css: true, | ||
compileTemplate: true, | ||
}), | ||
buble(), | ||
], | ||
}; | ||
input: 'src/index.js', | ||
output: { | ||
name: 'ElDataTable', | ||
exports: 'named' | ||
}, | ||
plugins: [ | ||
commonjs(), | ||
vue({ | ||
css: true, | ||
compileTemplate: true | ||
}), | ||
babel({ | ||
runtimeHelpers: true, | ||
exclude: 'node_modules/**' | ||
}) | ||
] | ||
} | ||
|
||
// Only minify browser (iife) version | ||
if (argv.format === 'iife') { | ||
config.plugins.push(uglify()); | ||
config.plugins.push(terser()) | ||
} | ||
|
||
export default config; | ||
export default config |
Oops, something went wrong.