Skip to content

Commit 1bd446e

Browse files
committed
init resp
0 parents  commit 1bd446e

File tree

1,799 files changed

+155834
-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.

1,799 files changed

+155834
-0
lines changed

Diff for: .babelrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"env": {
3+
"test": {
4+
"presets": [
5+
["env", { "targets": { "node": "current" } }]
6+
],
7+
"plugins": [
8+
"transform-vue-jsx",
9+
"transform-object-assign",
10+
"transform-object-rest-spread",
11+
"transform-class-properties",
12+
"transform-runtime"
13+
]
14+
}
15+
}
16+
}

Diff for: .codecov.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
codecov:
2+
branch: master

Diff for: .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

Diff for: .eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
**/*.spec.*

Diff for: .eslintrc

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true,
5+
"jasmine": true,
6+
"jest": true,
7+
"es6": true
8+
},
9+
"parser": "babel-eslint",
10+
"extends": ["plugin:vue-libs/recommended"],
11+
"rules": {
12+
"comma-dangle": [2, "always-multiline"],
13+
"no-var": "error",
14+
"no-unused-vars": "warn",
15+
"camelcase": "off"
16+
}
17+
}

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.jsx linguist-language=Vue

Diff for: .github/ISSUE_TEMPLATE.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
IMPORTANT: Please use the following link to create a new issue:
3+
4+
https://vuecomponent.github.io/vue-antd-issue-helper/
5+
6+
If your issue was not created using the app above, it will be closed immediately.
7+
-->
8+
9+
<!--
10+
注意:请使用下面的链接来新建 issue:
11+
12+
https://vuecomponent.github.io/vue-antd-issue-helper/
13+
国内镜像:http://tangjinzhou.gitee.io/vue-antd-issue-helper/
14+
15+
不是用上面的链接创建的 issue 会被立即关闭。
16+
-->

Diff for: .gitignore

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# Yarn Integrity file
55+
.yarn-integrity
56+
57+
# dotenv environment variables file
58+
.vscode
59+
.env
60+
.idea
61+
.DS_Store
62+
dist
63+
lib
64+
es
65+
site-dist
66+
yarn.lock
67+
package-lock.json
68+
/coverage
69+
70+
# 备份文件
71+
/components/test/*

Diff for: .jest.js

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
const libDir = process.env.LIB_DIR;
2+
3+
const transformIgnorePatterns = [
4+
'/dist/',
5+
'node_modules\/[^/]+?\/(?!(es|node_modules)\/)', // Ignore modules without es dir
6+
];
7+
8+
module.exports = {
9+
setupFiles: [
10+
'./tests/setup.js',
11+
],
12+
moduleFileExtensions: [
13+
"js",
14+
"jsx",
15+
"json",
16+
"vue",
17+
"md",
18+
"jpg"
19+
],
20+
modulePathIgnorePatterns: [
21+
'/_site/',
22+
],
23+
testPathIgnorePatterns: [
24+
'/node_modules/',
25+
'node',
26+
],
27+
transform: {
28+
".*\\.(vue|md)$": "<rootDir>/node_modules/vue-jest",
29+
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest"
30+
},
31+
testRegex: libDir === 'dist' ? 'demo\\.test\\.js$' : '.*\\.test\\.js$',
32+
moduleNameMapper: {
33+
"^@/(.*)$": "<rootDir>/$1",
34+
"vue-antd-ui": "<rootDir>/components/index.js",
35+
},
36+
snapshotSerializers: [
37+
"<rootDir>/node_modules/jest-serializer-vue"
38+
],
39+
collectCoverage: process.env.COVERAGE === 'true',
40+
collectCoverageFrom: [
41+
"components/**/*.{js,jsx,vue}",
42+
'!components/*/style/index.{js,jsx}',
43+
'!components/style/*.{js,jsx}',
44+
'!components/*/locale/*.{js,jsx}',
45+
'!components/*/__tests__/**/type.{js,jsx}',
46+
'!components/vc-*/**/*',
47+
'!components/*/demo/**/*',
48+
'!components/_util/**/*',
49+
'!components/align/**/*',
50+
'!components/trigger/**/*',
51+
'!components/style.js',
52+
"!**/node_modules/**"
53+
],
54+
transformIgnorePatterns,
55+
};

Diff for: .stylelintrc

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"ignoreFiles": "./components/**",
4+
"rules": {
5+
"comment-empty-line-before": null,
6+
"declaration-empty-line-before": null,
7+
"function-comma-newline-after": null,
8+
"function-name-case": null,
9+
"function-parentheses-newline-inside": null,
10+
"function-max-empty-lines": null,
11+
"function-whitespace-after": null,
12+
"indentation": null,
13+
"number-leading-zero": null,
14+
"number-no-trailing-zeros": null,
15+
"rule-empty-line-before": null,
16+
"selector-combinator-space-after": null,
17+
"selector-list-comma-newline-after": null,
18+
"selector-pseudo-element-colon-notation": null,
19+
"unit-no-unknown": null,
20+
"value-list-max-empty-lines": null,
21+
"font-family-no-missing-generic-family-keyword": null,
22+
"no-descending-specificity": null
23+
}
24+
}

Diff for: .travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
sudo: required
3+
node_js:
4+
- 8.2.1
5+
before_script:
6+
- npm install vue vue-template-compiler
7+
script:
8+
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then cp ./scripts/.npmrc.template $HOME/.npmrc; fi
9+
- COVERAGE=true npm run test
10+
- npm run codecov
11+
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then npm run pub-with-ci; fi
12+
- bash ./scripts/deploy-to-gh-pages.sh
13+
env:
14+
matrix:
15+
secure: PBbJaS48HA/mkj9PuGuRxs00DEJR77XfuPdSlTvCq0QxLIR6wIO+t3LLJdOQctZIX6KWBR/Zq3zSn5bRxgPIaRcoyuEU25ga4cexJMEh1ymE23uTiDcnWwWN0X1jZKGuHPvqVKjyToAv6XW24mTXNvEAqD2uL101JxBseoWJ/2VtyOjJFJwcGbw+MTLymWCZiAF10w+k0SyigawaxZLlYL9LZXv4w3oCjCwuiTD/T6rvyT3wGQzXx7/P7XQGL4el4lE7leuK5m2PhWvX2S3t2FRpoZPw0DINJu5XzuBr3DSMErQjCrP4Ep8iqW8pGGLkoXbcxK3/K+uSy0k+DdBN7jRgnnOeLpqeVUSMaM6LRnl2XyDWL3dKpVbEzZaFkRTmAwdbgYjI+7Enn3/GtseMASo/gK47m2k+kE/msoqwpTGLC5DBOBKxdNShdFnEbOxLUUiVNgoZRXbj6VhdueqK89LsMDsnxzmFtrU8Ytgv8wJsFd5IkIhCStmQ9bdTqER659hd1Qqdh6Qe36AfpZcetOLr86Z++CSwA/pZbLPeEVrfCHDh6V3DPQXG+Zlf/m60OAmhosJ+4dxZwRnR8LnaDFZ+uLYMz+vJGeOtFHvczz7TW4mznjguLE51crG+mkBGT2dx1UUg7zs41lz3GtH9WY8cSG4y5ryjDl6YkXwoiZI=

Diff for: .vcmrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"helpMessage": "\nPlease fix your commit message (and consider using https://www.npmjs.com/package/commitizen)\n",
3+
"types": [
4+
"feat",
5+
"fix",
6+
"docs",
7+
"style",
8+
"refactor",
9+
"perf",
10+
"test",
11+
"chore",
12+
"revert"
13+
],
14+
"warnOnFail": false,
15+
"autoFix": false
16+
}

Diff for: BACKERS.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h1 align="center">Sponsors &amp; Backers</h1>
2+
3+
<br><br>
4+
5+
<h2 align="center">Sponsors</h2>
6+
<p align="center">
7+
<a href="https://www.patreon.com/tangjinzhou" target="_blank">
8+
虚位以待...
9+
</a>
10+
</p>
11+
12+
<h2 align="center">Backers</h2>
13+
<p align="center">
14+
<a href="https://www.patreon.com/tangjinzhou" target="_blank">
15+
虚位以待...
16+
</a>
17+
</p>
18+
19+
<h2 align="center">支付宝/微信</h2>
20+
21+
### 使用支付宝/微信的赞助的用户,如需要添加名单,赞助后可发github账号到邮箱([email protected])
22+
23+
- [fastgoo](https://github.com/fastgoo)
24+
- [sendya](https://github.com/sendya)
25+
- [limichange](https://github.com/limichange)
26+

0 commit comments

Comments
 (0)