aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/config/webpack.dev.js1
-rw-r--r--client/config/webpack.prod.js6
-rw-r--r--client/package.json6
-rw-r--r--client/tslint.json17
4 files changed, 11 insertions, 19 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js
index cea9d0306..054757748 100644
--- a/client/config/webpack.dev.js
+++ b/client/config/webpack.dev.js
@@ -1,7 +1,6 @@
1const helpers = require('./helpers') 1const helpers = require('./helpers')
2const webpackMerge = require('webpack-merge') // used to merge webpack configs 2const webpackMerge = require('webpack-merge') // used to merge webpack configs
3const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev 3const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev
4const path = require('path')
5 4
6/** 5/**
7 * Webpack Plugins 6 * Webpack Plugins
diff --git a/client/config/webpack.prod.js b/client/config/webpack.prod.js
index 64d776f24..51b8a8855 100644
--- a/client/config/webpack.prod.js
+++ b/client/config/webpack.prod.js
@@ -10,14 +10,10 @@ const commonConfig = require('./webpack.common.js') // the settings that are com
10 * Webpack Plugins 10 * Webpack Plugins
11 */ 11 */
12const DefinePlugin = require('webpack/lib/DefinePlugin') 12const DefinePlugin = require('webpack/lib/DefinePlugin')
13const ExtractTextPlugin = require('extract-text-webpack-plugin')
14const IgnorePlugin = require('webpack/lib/IgnorePlugin')
15const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') 13const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
16const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') 14const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
17const ProvidePlugin = require('webpack/lib/ProvidePlugin')
18const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin') 15const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin')
19const WebpackMd5Hash = require('webpack-md5-hash') 16const WebpackMd5Hash = require('webpack-md5-hash')
20const V8LazyParseWebpackPlugin = require('v8-lazy-parse-webpack-plugin')
21 17
22/** 18/**
23 * Webpack Constants 19 * Webpack Constants
@@ -274,7 +270,7 @@ module.exports = function (env) {
274 [/\*/, /(?:)/], 270 [/\*/, /(?:)/],
275 [/\[?\(?/, /(?:)/] 271 [/\[?\(?/, /(?:)/]
276 ], 272 ],
277 customAttrAssign: [/\)?\]?=/] 273 customAttrAssign: [/\)?]?=/]
278 }, 274 },
279 275
280 // FIXME: Remove 276 // FIXME: Remove
diff --git a/client/package.json b/client/package.json
index d03a1f8a2..3a28d5853 100644
--- a/client/package.json
+++ b/client/package.json
@@ -70,8 +70,8 @@
70 "string-replace-loader": "^1.0.3", 70 "string-replace-loader": "^1.0.3",
71 "style-loader": "^0.13.1", 71 "style-loader": "^0.13.1",
72 "ts-helpers": "^1.1.1", 72 "ts-helpers": "^1.1.1",
73 "tslint": "3.15.1", 73 "tslint": "~4.3.1",
74 "tslint-loader": "^2.1.4", 74 "tslint-loader": "^3.3.0",
75 "typescript": "~2.1.0", 75 "typescript": "~2.1.0",
76 "url-loader": "^0.5.7", 76 "url-loader": "^0.5.7",
77 "v8-lazy-parse-webpack-plugin": "^0.3.0", 77 "v8-lazy-parse-webpack-plugin": "^0.3.0",
@@ -85,7 +85,7 @@
85 "zone.js": "~0.7.2" 85 "zone.js": "~0.7.2"
86 }, 86 },
87 "devDependencies": { 87 "devDependencies": {
88 "codelyzer": "0.0.28", 88 "codelyzer": "2.0.0-beta.4",
89 "standard": "^8.0.0" 89 "standard": "^8.0.0"
90 } 90 }
91} 91}
diff --git a/client/tslint.json b/client/tslint.json
index 0cffea582..5b2c1c505 100644
--- a/client/tslint.json
+++ b/client/tslint.json
@@ -14,14 +14,11 @@
14 ], 14 ],
15 "no-arg": true, 15 "no-arg": true,
16 "no-construct": true, 16 "no-construct": true,
17 "no-duplicate-key": true,
18 "no-duplicate-variable": true, 17 "no-duplicate-variable": true,
19 "no-empty": true, 18 "no-empty": true,
20 "no-eval": true, 19 "no-eval": true,
21 "no-trailing-whitespace": true, 20 "no-trailing-whitespace": true,
22 "no-unused-expression": true, 21 "no-unused-expression": true,
23 "no-unused-variable": true,
24 "no-unreachable": true,
25 "no-use-before-declare": true, 22 "no-use-before-declare": true,
26 "one-line": [true, 23 "one-line": [true,
27 "check-open-brace", 24 "check-open-brace",
@@ -35,24 +32,24 @@
35 "triple-equals": true, 32 "triple-equals": true,
36 "variable-name": false, 33 "variable-name": false,
37 34
38 "directive-selector-name": [true, "camelCase"], 35 "directive-selector": [true, "attribute", "my", "camelCase"],
39 "component-selector-name": [true, "kebab-case"], 36 "component-selector": [true, "element", "my", "kebab-case"],
40 "directive-selector-type": [true, "attribute"],
41 "component-selector-type": [true, "element"],
42 "directive-selector-prefix": [true, "my"],
43 "component-selector-prefix": [true, "my"],
44 "use-input-property-decorator": true, 37 "use-input-property-decorator": true,
45 "use-output-property-decorator": true, 38 "use-output-property-decorator": true,
46 "use-host-property-decorator": true, 39 "use-host-property-decorator": true,
47 "no-attribute-parameter-decorator": true, 40 "no-attribute-parameter-decorator": true,
48 "no-input-rename": true, 41 "no-input-rename": true,
49 "no-output-rename": true, 42 "no-output-rename": true,
50 "no-forward-ref" :true, 43 "no-forward-ref": true,
51 "use-life-cycle-interface": true, 44 "use-life-cycle-interface": true,
52 "use-pipe-transform-interface": true, 45 "use-pipe-transform-interface": true,
53 "pipe-naming": [true, "camelCase", "my"], 46 "pipe-naming": [true, "camelCase", "my"],
54 "component-class-suffix": true, 47 "component-class-suffix": true,
55 "directive-class-suffix": true, 48 "directive-class-suffix": true,
49 "import-destructuring-spacing": true,
50 "templates-use-public": true,
51 "no-access-missing-member": true,
52 "invoke-injectable": true,
56 53
57 "typedef-whitespace": [ true, 54 "typedef-whitespace": [ true,
58 { 55 {