Add basic typescript integration
This commit is contained in:
parent
a937b82cd2
commit
a817ed17a2
8 changed files with 46 additions and 12 deletions
|
|
@ -8,14 +8,18 @@
|
|||
"scripts": {
|
||||
"watch": "webpack --watch --progress",
|
||||
"build": "webpack",
|
||||
"eslint": "eslint --ext .js --ext .jsx src/",
|
||||
"eslint:fix": "eslint --fix --ext .js --ext .jsx src/"
|
||||
"eslint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx src/",
|
||||
"eslint:fix": "eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx src/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.5.4",
|
||||
"@babel/eslint-parser": "^7.17.0",
|
||||
"@babel/preset-env": "^7.5.4",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"@types/react": "^17.0.44",
|
||||
"@types/react-dom": "^17.0.15",
|
||||
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"chrome-remote-interface": "^0.31.0",
|
||||
"compression-webpack-plugin": "^9.0.0",
|
||||
|
|
@ -33,6 +37,7 @@
|
|||
"eslint-plugin-react": "^7.29.4",
|
||||
"eslint-plugin-react-hooks": "^4.4.0",
|
||||
"eslint-webpack-plugin": "^3.1.1",
|
||||
"fork-ts-checker-webpack-plugin": "^7.2.6",
|
||||
"htmlparser": "^1.7.7",
|
||||
"jed": "^1.1.1",
|
||||
"mini-css-extract-plugin": "^2.5.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue