|
105 | 105 | "@babel/plugin-transform-flow-strip-types": "^7.14.5",
|
106 | 106 | "@babel/preset-env": "^7.14.7",
|
107 | 107 | "@babel/preset-react": "^7.14.5",
|
| 108 | + "@babel/preset-typescript": "^7.15.0", |
108 | 109 | "@cypress/skip-test": "^2.6.0",
|
109 | 110 | "@cypress/webpack-preprocessor": "^5.9.1",
|
110 | 111 | "@percy/cli": "^1.0.0-beta.48",
|
|
114 | 115 | "@testing-library/jest-dom": "^4.0.0",
|
115 | 116 | "@testing-library/react": "^11.0.2",
|
116 | 117 | "@testing-library/user-event": "^12.6.0",
|
| 118 | + "@types/styled-components": "^3.0.4", |
| 119 | + "@typescript-eslint/eslint-plugin": "^4.33.0", |
| 120 | + "@typescript-eslint/parser": "^4.33.0", |
117 | 121 | "babel-eslint": "10.1.0",
|
118 | 122 | "babel-jest": "^27.0.6",
|
119 | 123 | "babel-loader": "^8.2.2",
|
|
154 | 158 | "raf": "^3.4.0",
|
155 | 159 | "shadow-cljs": "2.11.20",
|
156 | 160 | "style-loader": "^0.19.0",
|
| 161 | + "typescript": "^4.4.3", |
157 | 162 | "webpack": "^5.37.0",
|
158 | 163 | "webpack-cli": "^4.7.0",
|
159 | 164 | "webpack-dev-server": "^3.11.2",
|
|
167 | 172 | "concurrently": "yarn && concurrently --kill-others -p name",
|
168 | 173 | "dev": "yarn concurrently -n 'backend,frontend,cljs,docs' -c 'blue,green,yellow,magenta' 'clojure -M:run' 'yarn build-hot:js' 'yarn build-hot:cljs' 'yarn docs'",
|
169 | 174 | "dev-ee": "yarn concurrently -n 'backend,frontend,cljs,docs' -c 'blue,green,yellow,magenta' 'clojure -M:run:ee' 'MB_EDITION=ee yarn build-hot:js' 'MB_EDITION=ee yarn build-hot:cljs' 'yarn docs'",
|
170 |
| - "lint": "yarn lint-eslint && yarn lint-prettier && yarn lint-docs-links && yarn lint-yaml", |
| 175 | + "type-check": "yarn && tsc --noEmit", |
| 176 | + "lint": "yarn lint-eslint && yarn lint-prettier && yarn lint-docs-links && yarn lint-yaml && yarn type-check", |
171 | 177 | "lint-eslint": "yarn build-quick:cljs && eslint --ext .js --ext .jsx --rulesdir frontend/lint/eslint-rules --max-warnings 0 enterprise/frontend/src frontend/src frontend/test",
|
172 | 178 | "lint-prettier": "yarn && prettier -l '{enterprise/,}frontend/**/*.{js,jsx,css}' || (echo '\nThese files are not formatted correctly. Did you forget to \"yarn prettier\"?' && false)",
|
173 | 179 | "lint-docs-links": "yarn && ./bin/verify-doc-links",
|
|
0 commit comments