support use typescript
Showing
... | @@ -15,6 +15,8 @@ | ... | @@ -15,6 +15,8 @@ |
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | ||
"lint-staged": "lint-staged", | "lint-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js", | "lint-staged:js": "eslint --ext .js", | ||
"tslint": "npm run tslint:fix", | |||
"tslint:fix": "tslint --fix 'src/**/*.ts*'", | |||
"test": "umi test", | "test": "umi test", | ||
"test:component": "umi test ./src/components", | "test:component": "umi test ./src/components", | ||
"test:all": "node ./tests/run-tests.js", | "test:all": "node ./tests/run-tests.js", | ||
... | @@ -71,6 +73,9 @@ | ... | @@ -71,6 +73,9 @@ |
"eslint-plugin-jsx-a11y": "^6.1.2", | "eslint-plugin-jsx-a11y": "^6.1.2", | ||
"eslint-plugin-markdown": "^1.0.0-beta.6", | "eslint-plugin-markdown": "^1.0.0-beta.6", | ||
"eslint-plugin-react": "^7.11.1", | "eslint-plugin-react": "^7.11.1", | ||
"tslint": "^5.10.0", | |||
"tslint-config-prettier": "^1.10.0", | |||
"tslint-react": "^3.6.0", | |||
"gh-pages": "^2.0.1", | "gh-pages": "^2.0.1", | ||
"husky": "^1.1.2", | "husky": "^1.1.2", | ||
"lint-staged": "^7.2.0", | "lint-staged": "^7.2.0", | ||
... | ... |
tsconfig.json
0 → 100644
tslint.json
0 → 100644
Please register or sign in to comment