|
|
@ -27,8 +27,6 @@ |
|
|
"start:no-mock": "cross-env MOCK=none UMI_ENV=dev max dev", |
|
|
"start:no-mock": "cross-env MOCK=none UMI_ENV=dev max dev", |
|
|
"start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev", |
|
|
"start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev", |
|
|
"start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev", |
|
|
"start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev", |
|
|
"test": "max test", |
|
|
|
|
|
"test:component": "max test ./src/components", |
|
|
|
|
|
"test:e2e": "node ./tests/run-tests.js", |
|
|
"test:e2e": "node ./tests/run-tests.js", |
|
|
"tsc": "tsc --noEmit" |
|
|
"tsc": "tsc --noEmit" |
|
|
}, |
|
|
}, |
|
|
@ -65,7 +63,6 @@ |
|
|
"@types/classnames": "^2.3.1", |
|
|
"@types/classnames": "^2.3.1", |
|
|
"@types/express": "^4.17.0", |
|
|
"@types/express": "^4.17.0", |
|
|
"@types/history": "^4.7.0", |
|
|
"@types/history": "^4.7.0", |
|
|
"@types/jest": "^26.0.0", |
|
|
|
|
|
"@types/lodash": "^4.14.0", |
|
|
"@types/lodash": "^4.14.0", |
|
|
"@types/react": "^17.0.0", |
|
|
"@types/react": "^17.0.0", |
|
|
"@types/react-dom": "^17.0.0", |
|
|
"@types/react-dom": "^17.0.0", |
|
|
@ -79,7 +76,6 @@ |
|
|
"eslint": "^7.32.0", |
|
|
"eslint": "^7.32.0", |
|
|
"gh-pages": "^3.2.0", |
|
|
"gh-pages": "^3.2.0", |
|
|
"husky": "^7.0.4", |
|
|
"husky": "^7.0.4", |
|
|
"jsdom-global": "^3.0.0", |
|
|
|
|
|
"lint-staged": "^10.0.0", |
|
|
"lint-staged": "^10.0.0", |
|
|
"mockjs": "^1.1.0", |
|
|
"mockjs": "^1.1.0", |
|
|
"prettier": "^2.5.0", |
|
|
"prettier": "^2.5.0", |
|
|
|