diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/package.json b/package.json index 98cdc60..a799554 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "start": "webpack --mode development -w --debug --devtool inline-source-map", "build": "NODE_ENV=production webpack --mode production --progress --display-error-details", "package": "npm run build && script/package", - "lint": "eslint --ext .jsx,.js src", + "lint": "eslint --ext .js,.jsx,.ts,.tsx src", + "type-checks": "tsc", "test": "karma start", "test:e2e": "mocha --timeout 8000 e2e" }, @@ -22,7 +23,17 @@ "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.4", + "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/preset-react": "^7.0.0", + "@babel/preset-typescript": "^7.3.3", + "@types/chai": "^4.1.7", + "@types/mocha": "^5.2.6", + "@types/prop-types": "^15.7.1", + "@types/react": "^16.8.15", + "@types/react-dom": "^16.8.4", + "@types/react-redux": "^7.0.8", + "@types/redux-promise": "^0.5.28", + "@typescript-eslint/eslint-plugin": "^1.7.0", "babel-eslint": "^10.0.1", "babel-loader": "^8.0.5", "chai": "^4.2.0", @@ -32,6 +43,7 @@ "html-webpack-plugin": "^3.2.0", "jszip": "^3.2.1", "karma": "^4.1.0", + "karma-babel-preprocessor": "^8.0.0-beta.0", "karma-firefox-launcher": "^1.1.0", "karma-html2js-preprocessor": "^1.1.0", "karma-mocha": "^1.3.0", @@ -51,6 +63,8 @@ "sass-loader": "^7.1.0", "sinon-chrome": "^3.0.1", "style-loader": "^0.23.1", + "typescript": "^3.4.5", + "web-ext-types": "^3.1.0", "webextensions-api-fake": "^0.7.4", "webpack": "^4.30.0", "webpack-cli": "^3.3.1" |