Commit 2710e0ce authored by 陈帅's avatar 陈帅

up umi package

parent babed93a
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-block-dev": "^1.0.0", "umi-plugin-block-dev": "^1.0.0",
"umi-plugin-react": "^1.3.0-beta.1" "umi-plugin-react": "^1.3.0-beta.1"
}, },
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
"numeral": "^2.0.6" "numeral": "^2.0.6"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.1.0" "umi-plugin-block-dev": "^1.1.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"umi-request": "^1.0.0-beta.1" "umi-request": "^1.0.0-beta.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "MIT" "license": "MIT"
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"umi-request": "^1.0.0-beta.1" "umi-request": "^1.0.0-beta.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "MIT" "license": "MIT"
......
{
"compilerOptions": {
"outDir": "build/dist",
"module": "esnext",
"target": "esnext",
"lib": ["esnext", "dom"],
"sourceMap": true,
"baseUrl": ".",
"jsx": "react",
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"rootDirs": ["/src", "/test", "/mock", "./typings"],
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"allowJs": true,
"experimentalDecorators": true,
"strict": true,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["."],
"exclude": [
"node_modules",
"_scripts",
"jest",
"tslint:latest",
"tslint-config-prettier"
]
}
defaultSeverity: error
extends:
- tslint-react
- tslint-eslint-rules
- tslint-config-prettier
jsRules:
rules:
class-name: true
eofline: true
forin: true
jsdoc-format: false
label-position: true
member-ordering:
- true
- order: statics-first
new-parens: true
no-arg: true
no-bitwise: true
no-conditional-assignment: true
no-consecutive-blank-lines: true
no-console:
- true
- debug
- info
- log
- time
- timeEnd
- trace
- warn
no-construct: true
no-debugger: true
no-duplicate-variable: true
no-eval: true
no-internal-module: true
no-multi-spaces: true
no-namespace: true
no-reference: true
no-shadowed-variable: true
no-string-literal: true
no-trailing-whitespace: true
no-unused-expression: true
no-var-keyword: true
one-variable-per-declaration:
- true
- ignore-for-loop
prefer-const:
- true
- destructuring: all
radix: true
space-in-parens: true
switch-default: true
trailing-comma:
- true
- singleline: never
multiline: always
esSpecCompliant: true
triple-equals:
- true
- allow-null-check
typedef-whitespace:
- true
- call-signature: nospace
index-signature: nospace
parameter: nospace
property-declaration: nospace
variable-declaration: nospace
- call-signature: onespace
index-signature: onespace
parameter: onespace
property-declaration: onespace
variable-declaration: onespace
use-isnan: true
variable-name:
- true
- allow-leading-underscore
- ban-keywords
- check-format
- allow-pascal-case
jsx-no-lambda: false
jsx-no-string-ref: false
jsx-boolean-value:
- true
- never
jsx-no-multiline-js: false
whitespace:
- true
- check-branch
- check-decl
- check-operator
- check-module
- check-separator
- check-rest-spread
- check-type
- check-type-operator
- check-preblock
declare module '*.css';
declare module '*.less';
declare module '*.scss';
declare module '*.sass';
declare module '*.svg';
declare module '*.png';
declare module '*.jpg';
declare module '*.jpeg';
declare module '*.gif';
declare module '*.bmp';
declare module '*.tiff';
declare var APP_TYPE: string;
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
}, },
"devDependencies": { "devDependencies": {
"mockjs": "^1.0.1-beta3", "mockjs": "^1.0.1-beta3",
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"ant-design-pro": "^2.1.1" "ant-design-pro": "^2.1.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"ant-design-pro": "^2.1.1" "ant-design-pro": "^2.1.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"nzh": "^1.0.3" "nzh": "^1.0.3"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "ISC" "license": "ISC"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-block-dev": "^1.0.0", "umi-plugin-block-dev": "^1.0.0",
"umi-plugin-react": "^1.3.0-beta.1" "umi-plugin-react": "^1.3.0-beta.1"
}, },
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "MIT" "license": "MIT"
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"ant-design-pro": "^2.1.1" "ant-design-pro": "^2.1.1"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-react": "^1.3.0-beta.1", "umi-plugin-react": "^1.7.2",
"umi-plugin-block-dev": "^1.0.0" "umi-plugin-block-dev": "^1.0.0"
}, },
"license": "MIT" "license": "MIT"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"umi-request": "^1.0.0" "umi-request": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"umi": "^2.3.0-beta.1", "umi": "^2.6.9",
"umi-plugin-block-dev": "^1.0.0", "umi-plugin-block-dev": "^1.0.0",
"umi-plugin-react": "^1.3.0-beta.1" "umi-plugin-react": "^1.3.0-beta.1"
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment