From fe5b187c0ec7fa406692e50b90d9c45a0e815270 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Fri, 8 Sep 2017 10:16:08 -0600 Subject: [PATCH] Fixed build --- app/tsconfig.json | 5 ++++- common/tsconfig.json | 6 ++++++ package.json | 2 +- yarn.lock | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 common/tsconfig.json diff --git a/app/tsconfig.json b/app/tsconfig.json index 9f087ba..849a559 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -6,10 +6,13 @@ "target": "es5", "lib": [ "es6", - "dom" + "dom", + "scripthost" ], + "module": "commonjs", "types": [ "webpack-env", + "core-js", "node" ], "strict": true, diff --git a/common/tsconfig.json b/common/tsconfig.json new file mode 100644 index 0000000..aad4391 --- /dev/null +++ b/common/tsconfig.json @@ -0,0 +1,6 @@ +{ + "compilerOptions": { + "experimentalDecorators": true, + "target": "es5" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 720aedf..9a50077 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "homepage": "https://github.com/amikhalev/sprinklers3#readme", "dependencies": { "@types/classnames": "^2.2.0", - "@types/core-js": "^0.9.42", + "@types/core-js": "^0.9.43", "@types/express": "^4.0.37", "@types/node": "^8.0.6", "@types/object-assign": "^4.0.30", diff --git a/yarn.lock b/yarn.lock index 1d247b4..c4df397 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,7 +12,7 @@ dependencies: "@types/node" "*" -"@types/core-js@^0.9.42": +"@types/core-js@^0.9.43": version "0.9.43" resolved "https://registry.yarnpkg.com/@types/core-js/-/core-js-0.9.43.tgz#65d646c5e8c0cd1bdee37065799f9d3d48748253"