Skip to content

Commit

Permalink
sync dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Oct 22, 2018
1 parent 3f1b0d6 commit 68bce77
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 82 deletions.
18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"dependencies": {
"@draws/engine": "^0.0.4",
"async-manager-promise": "^0.0.5",
"bowser": "^2.0.0-beta.1",
"bowser": "^2.0.0-beta.3",
"delay.js": "^1.0.2",
"fast-delete": "^1.0.1",
"fast-levenshtein": "^2.0.6",
"fastclick": "^1.0.6",
"flag-icon-css": "^3.2.1",
"history": "^4.7.2",
"lodash": "^4.17.10",
"lodash": "^4.17.11",
"normalize.css": "^8.0.0",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-helmet": "^5.2.0",
"react-import": "^1.5.3",
"react-router-dom": "^4.3.1",
Expand All @@ -25,13 +25,12 @@
"timelimit": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/core": "^7.1.2",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@types/bowser": "^1.1.1",
"@babel/runtime": "^7.1.2",
"@types/fast-levenshtein": "0.0.1",
"@types/fastclick": "^1.0.28",
"@types/lodash": "^4.14.117",
Expand All @@ -43,7 +42,7 @@
"@types/shallowequal": "^0.2.3",
"awesome-typescript-loader": "^5.2.1",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-styled-components": "^1.6.3",
"babel-plugin-styled-components": "^1.8.0",
"copy-webpack-plugin": "^4.5.4",
"css-loader": "^1.0.0",
"file-loader": "^2.0.0",
Expand All @@ -62,7 +61,6 @@
"tslint": "^5.11.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.3",
"typescript-plugin-lodash": "^0.1.0",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.22.0",
"webpack-bundle-analyzer": "^3.0.3",
Expand Down
3 changes: 0 additions & 3 deletions webpack/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

// const styledComponentsTransformer = createStyledComponentsTransformer()

const { createLodashTransformer } = require('typescript-plugin-lodash')

const tsOptions = env => env === 'dev' ? {
// getCustomTransformers: () => ({ before: [styledComponentsTransformer] }),
useCache: true,
} : {
getCustomTransformers: () => ({ before: [createLodashTransformer()] }),
ignoreDiagnostics: [],
}

Expand Down
Loading

0 comments on commit 68bce77

Please sign in to comment.