Es6 cmp migration (#113)

* migrate Alert component

* convert Mainlist component

* add webpack watch task

* update build script for different manifests

* add types for api responses

* convert changeExtensionIcon

* convert inArray, getDomainParts, contains to ts

* convert changeExtensionTooltip

* convert changeExtensionState to ts
This commit is contained in:
Vu Nguyen
2021-01-16 19:31:52 -06:00
committed by GitHub
parent 9ecc2144aa
commit d194bcfe60
21 changed files with 660 additions and 10 deletions

View File

@@ -38,7 +38,12 @@
"webextension-polyfill-ts": "^0.22.0"
},
"devDependencies": {
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.3",
"@testing-library/user-event": "^12.6.0",
"@types/chrome": "0.0.128",
"@types/classnames": "^2.2.11",
"@types/copy-webpack-plugin": "^6.4.0",
"@types/firefox-webext-browser": "^82.0.0",
"@types/jest": "^26.0.20",
@@ -60,9 +65,11 @@
"eslint-config-kentcdodds": "^17.3.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest-dom": "^3.6.5",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-sort-keys-fix": "^1.1.1",
"eslint-plugin-testing-library": "^3.10.1",
"eslint-plugin-typescript-sort-keys": "^1.5.0",
"gulp": "^3.9.1",
"husky": "^4.3.7",