Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chuangker committed Sep 1, 2017
0 parents commit f57b324
Show file tree
Hide file tree
Showing 149 changed files with 19,536 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": ["env", "stage-0"],
"plugins": [
"syntax-dynamic-import",
"transform-vue-jsx"
]
}
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: http://EditorConfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
"root": true,
"extends": "standard",
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true
},
"plugins": [
"html"
]
};
24 changes: 24 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Easy Mock 贡献指南

Hi,感谢你使用 Easy Mock。

如果你愿意为 Easy Mock 贡献代码或提供建议,请阅读以下内容。

### Issue

- issue 仅用于提交 Bug 或 Feature 相关的内容,其它内容可能会被直接关闭。
- 在提交 issue 之前,请搜索相关内容是否已被提出。

### Pull Request

- 请先 fork 一份到自己的项目下。
- commit 提交规范参考 [angular](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines)
- 创建一个新的分支来让你完成 **修复/改进**
- 添加相关测试用例,并通过测试。
- 提交 PR 前请 rebase,确保 commit 记录的整洁。
- 确保 PR 是提交到 dev 分支,而不是 master 分支。
- 在 PR 中给出相关的描述信息。

### 代码规范

遵循 Standard [ESLint](http://standardjs.com) 即可。
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- 问题可能已经存在!请在创建之前搜索相关问题。 -->

## 出现什么问题?

## 如何能重现这个问题?

## 期望的结果?

## 操作系统版本 / 浏览器版本?

<!-- 如果是部署出现问题,还应提供 Node、MongoDB、服务器 的版本信息与错误日志。 -->
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**这个 PR 中做了哪方面的改变?** (至少选一个)

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] 其它, 请描述:

**这个 PR 是否有突破性改变:** (选一个)

- [ ]
- [ ]

如果是,请描述出对现在的应用程序的影响以及迁移方案或兼容方案:

**这个 PR 应该满足以下条件:**

- [ ] 提交到 dev 分支,而不是 master 分支
- [ ] 遵循 Standard [ESLint](http://standardjs.com)
- [ ] 提交前已完成 rebase,确保 commit 记录的整洁
- [ ] 解决具体问题时,应该在 PR 的标题中体现出来。(例如:fix #xxx: 描述,xxx 指具体 issue 的编号)
- [ ] 通过所有测试用例

**其它信息:**
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.idea
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.vscode
.AppleDB
.AppleDesktop
.apdisk
.DS_Store
.AppleDouble
.LSOverride
.yarn-integrity
.npm
node_modules
coverage
logs
*.log
desktop.ini
npm-debug.log
yarn-debug.log*
yarn-error.log*
dist
config
views/config.json
23 changes: 23 additions & 0 deletions .postcssrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
plugins: [
require('postcss-partial-import'),
require('postcss-url'),
require('saladcss-bem')({
defaultNamespace: 'em',
separators: {
descendent: '__'
},
shortcuts: {
modifier: 'm',
descendent: 'd',
component: 'c'
}
}),
require('precss'),
require('postcss-css-reset'),
require('postcss-utils'),
require('postcss-cssnext')({
browsers: ['ie > 8', 'last 2 versions']
})
]
};
Loading

0 comments on commit f57b324

Please sign in to comment.