Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
templates
/
mui-template
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0ad4801e
authored
2019-12-20 09:37:03 +0800
by
McLemore
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'release/eslintrule'
2 parents
f1590fc9
2a59d89e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
4 deletions
CHANGELOG.md
boilerplate/README.md
boilerplate/eslintrc
boilerplate/gulpfile.js
boilerplate/tsconfig.json
package-lock.json
package.json
CHANGELOG.md
View file @
0ad4801
...
...
@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. See
[
standard-version
](
https://github.com/conventional-changelog/standard-version
)
for commit guidelines.
### [1.3.1](https://gitlab.zb100.com/templates/mui-template/compare/v1.3.0...v1.3.1) (2019-12-20)
## [1.3.0](https://gitlab.zb100.com/templates/mui-template/compare/v1.2.2...v1.3.0) (2019-12-17)
...
...
boilerplate/README.md
View file @
0ad4801
### 组件简介
### 使用方法
### 开始开发
1.
本地执行
`npm run dev`
...
...
boilerplate/eslintrc
View file @
0ad4801
...
...
@@ -2,6 +2,25 @@
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"rules": {
"no-restricted-globals": "off",
"no-restricted-properties": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"globals": {
"window": true,
"document": true,
...
...
boilerplate/gulpfile.js
View file @
0ad4801
...
...
@@ -6,7 +6,7 @@ const ts = require('gulp-typescript')
const
dist
=
'miniprogram_dist'
const
demoDir
=
'demo'
const
lessFiles
=
[
'./src/index.less'
]
const
tsFiles
=
[
'./src/
index
.ts'
]
const
tsFiles
=
[
'./src/
*
.ts'
]
const
tsProject
=
ts
.
createProject
(
'tsconfig.json'
)
...
...
boilerplate/tsconfig.json
View file @
0ad4801
...
...
@@ -4,6 +4,7 @@
"./node_modules/miniprogram-api-typings"
],
"lib"
:
[
"ES6"
,
"ES7"
],
"target"
:
"es2017"
"target"
:
"es2017"
,
"module"
:
"CommonJS"
}
}
\ No newline at end of file
...
...
package-lock.json
View file @
0ad4801
{
"name"
:
"@zb100/mui-template"
,
"version"
:
"1.3.
0
"
,
"version"
:
"1.3.
1
"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
...
...
package.json
View file @
0ad4801
{
"name"
:
"@zb100/mui-template"
,
"version"
:
"1.3.
0
"
,
"version"
:
"1.3.
1
"
,
"description"
:
"小程序组件模版"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
Please
register
or
sign in
to post a comment