diff --git a/.npmignore b/.npmignore index 705cbd3..940ce63 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,6 @@ src +config +examples tsconfig.json tslint.json .travis.yml diff --git a/config/tsconfig-module.json b/config/tsconfig.module.json similarity index 100% rename from config/tsconfig-module.json rename to config/tsconfig.module.json diff --git a/package.json b/package.json index f3695be..950c50c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "license": "MIT", "scripts": { "info": "npm-scripts-info", - "build": "trash build && tsc -p tsconfig.json && tsc -p config/tsconfig-module.json", + "build": "trash build && tsc -p tsconfig.json && tsc -p config/tsconfig.module.json", "lint": "tslint src/**/*.ts", "unit": "yarn build && nyc ava", "check-coverage": "nyc check-coverage --lines 100 --functions 100 --branches 100", diff --git a/tsconfig.json b/tsconfig.json index b8798c8..cf89c9f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,14 +7,13 @@ "moduleResolution": "node", "module": "commonjs", "declaration": true, - "strictNullChecks": true, "importHelpers": true, "inlineSourceMap": true, "listFiles": false, "traceResolution": false, "pretty": true, "lib" : [ - "ES6" + "es6" ], "types" : [ "node"