Skip to content

Commit 57f5493

Browse files
author
miaodian
committed
init
0 parents  commit 57f5493

File tree

208 files changed

+32319
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+32319
-0
lines changed

.babelrc

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": [
7+
"> 1%",
8+
"last 2 versions",
9+
"not ie <= 20",
10+
"not ie_mob <= 100",
11+
"not ff <= 100",
12+
"not and_ff <= 100",
13+
"not Edge <= 100",
14+
"Android >= 4.0"
15+
]
16+
}
17+
}],
18+
"stage-2"
19+
],
20+
"plugins": ["transform-runtime", "add-module-exports", "transform-es2015-modules-umd"],
21+
"comments": false,
22+
"env": {
23+
"test": {
24+
"presets": ["env", "stage-2"],
25+
"plugins": [ "istanbul" ]
26+
}
27+
}
28+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/*.js
2+
config/*.js

.eslintrc.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
root: true,
3+
parser: 'babel-eslint',
4+
parserOptions: {
5+
sourceType: 'module'
6+
},
7+
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
8+
extends: 'standard',
9+
// required to lint *.vue files
10+
plugins: [
11+
'html'
12+
],
13+
// add your custom rules here
14+
'rules': {
15+
// allow paren-less arrow functions
16+
'arrow-parens': 0,
17+
// allow async-await
18+
'generator-star-spacing': 0,
19+
// allow debugger during development
20+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
21+
'no-tabs': 0,
22+
'space-before-function-paren': 0
23+
}
24+
}

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea/
2+
.DS_Store
3+
node_modules/
4+
npm-debug.log
5+
deploy/
6+
test/unit/coverage
7+
test/e2e/reports
8+
selenium-debug.log
9+
yarn.lock

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

CONTRIBUTING.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Contribution Guideline
2+
3+
Thanks for considering to contribute this project. All issues and pull requests are highly appreciated.
4+
5+
## Pull Requests
6+
7+
Before sending pull request to this project, please read and follow guidelines below.
8+
9+
1. Branch: We only accept pull request on `dev` branch.
10+
2. Coding style: Follow the coding style used in cube-ui.
11+
3. Commit message: Use English and be aware of your spell.
12+
4. Test: Make sure to test your code.
13+
14+
Add device mode, API version, related log, screenshots and other related information in your pull request if possible.
15+
16+
NOTE: We assume all your contribution can be licensed under the [Apache License 2.0](https://github.com/didi/cube-ui/blob/master/LICENSE).
17+
18+
## Issues
19+
20+
We love clearly described issues. :)
21+
22+
Following information can help us to resolve the issue faster.
23+
24+
* Device mode and hardware information.
25+
* API version.
26+
* Logs.
27+
* Screenshots.
28+
* Steps to reproduce the issue.

0 commit comments

Comments
 (0)