1 Star 0 Fork 1

relyong/hand-react-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 4.22 KB
一键复制 编辑 原始数据 按行查看 历史
v_yonlai 提交于 2020-11-10 17:43 . webpack增加eslint规范
{
"name": "hand-react-ts",
"version": "1.0.0",
"description": "{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}",
"main": "index.js",
"scripts": {
"test": "cross-env NODE_ENV=unittest jest",
"lint": "eslint \"{client,portal,test,webpack}/**/*.{ts,tsx}\"",
"lint-fix": "eslint \"{client,portal,test,webpack}/**/*.{ts,tsx}\" --fix",
"start:dev": "concurrently -n client,server npm:start:client npm:start:server",
"start:client": "cross-env NODE_ENV=development webpack-dev-server --config webpack/webpack.dev.conf.ts",
"start:server": "cross-env NODE_ENV=development nodemon --config nodemon.json",
"client:build": "cross-env NODE_ENV=production webpack --config webpack/webpack.dev.conf.ts",
"server": "ts-node portal/index.ts"
},
"repository": {
"type": "git",
"url": "https://gitee.com/ly961123/hand-react-ts.git"
},
"keywords": [
"ly961123"
],
"author": "ly961123",
"license": "ISC",
"dependencies": {
"@amap/amap-jsapi-loader": "0.0.4",
"@hot-loader/react-dom": "^16.13.0",
"@types/cheerio": "^0.22.21",
"antd-mobile": "^2.3.3",
"axios": "^0.20.0",
"babel-polyfill": "^6.26.0",
"better-scroll": "^2.0.2",
"cheerio": "^1.0.0-rc.3",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"html-webpack-plugin": "^4.3.0",
"ip": "^1.1.5",
"koa": "^2.13.0",
"koa-body": "^4.2.0",
"koa-router": "^9.4.0",
"koa-static": "^5.0.0",
"koa-useragent": "^4.0.0",
"koa-views": "^6.3.0",
"mockjs": "^1.1.0",
"moment": "^2.28.0",
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.21",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.1",
"sass-loader": "^9.0.3",
"uuid": "^8.3.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@types/ip": "^1.1.0",
"@types/jest": "^26.0.10",
"@types/koa": "^2.11.4",
"@types/koa-router": "^7.4.1",
"@types/koa-views": "^2.0.4",
"@types/mini-css-extract-plugin": "^0.9.1",
"@types/mockjs": "^1.0.3",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5",
"@types/react-transition-group": "^4.4.0",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-env": "^2.4.1",
"babel-loader": "^7.1.5",
"babel-plugin-import": "^1.13.0",
"css-loader": "^4.2.1",
"eslint": "^7.7.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.1.0",
"file-loader": "^6.0.0",
"husky": "^4.3.0",
"jest": "^26.4.0",
"mini-css-extract-plugin": "^0.10.0",
"nodemon": "^2.0.4",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.2.3",
"style-loader": "^1.2.1",
"supertest": "^5.0.0",
"ts-jest": "^26.4.1",
"ts-loader": "^8.0.2",
"ts-node": "^8.10.2",
"tslint": "^6.1.3",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test"
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"collectCoverage": true,
"collectCoverageFrom": [
"portal/controller/*.ts",
"!portal/controller/home.ts"
],
"preset": "ts-jest/presets/js-with-ts",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transformIgnorePatterns": [
"/node_modules/(?!(popper.js|react-native)/)"
],
"testEnvironment": "node",
"testRegex": "(/test/.*|(\\.|/)(spec))\\.tsx?$",
"testPathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"/dist/"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/msq_cookie/hand-react-ts.git
[email protected]:msq_cookie/hand-react-ts.git
msq_cookie
hand-react-ts
hand-react-ts
master

搜索帮助