aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-21 12:06:41 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-21 12:06:41 +0100
commitf0c8cf0e79f003514fd65a70def5820205955a77 (patch)
treecb66d325fb5d16d8b7fa0f14c91ad17dd4ff7c6c /package.json
parent569b2969d530f08e55798c5cb3079948c7c037cd (diff)
Move to typescript
Diffstat (limited to 'package.json')
-rw-r--r--package.json25
1 files changed, 23 insertions, 2 deletions
diff --git a/package.json b/package.json
index fdc7374..f8dd7a4 100644
--- a/package.json
+++ b/package.json
@@ -13,10 +13,26 @@
},
"jest": {
"transform": {
- "^.+\\.jsx?$": "babel-jest"
- }
+ "^.+\\.tsx?$": "ts-jest"
+ },
+ "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
+ "moduleFileExtensions": [
+ "ts",
+ "tsx",
+ "js",
+ "jsx",
+ "json",
+ "node"
+ ]
},
"dependencies": {
+ "@types/classnames": "^2.2.3",
+ "@types/react": "^16.0.30",
+ "@types/react-dom": "^16.0.3",
+ "@types/react-icons": "^2.2.4",
+ "@types/react-redux": "^5.0.14",
+ "@types/react-router-dom": "^4.2.3",
+ "@types/redux-logger": "^3.0.5",
"babel-loader": "^7.1.2",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
@@ -59,6 +75,8 @@
"webshot": "^0.18.0"
},
"devDependencies": {
+ "@types/jest": "^21.1.9",
+ "awesome-typescript-loader": "^3.4.1",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-preset-es2015": "^6.24.1",
@@ -72,6 +90,9 @@
"eslint-plugin-react": "^7.5.1",
"gulp": "^3.9.1",
"jest": "^21.2.1",
+ "source-map-loader": "^0.2.3",
+ "ts-jest": "^22.0.0",
+ "typescript": "^2.6.2",
"watchify": "^3.7.0",
"webpack": "^3.5.6"
},