diff --git a/package.json b/package.json index f2f8dbc..0c113b5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint": "tslint \"{src,plugins,tasks}/**/*.ts\" --fix", "prepare": "npm run lint && npm run build && npm test", "prebuild": "rimraf lib", - "build": "tsc --declaration && tsc tasks/*.ts --noEmit --skipLibCheck && webpack", + "build": "tsc --declaration && tsc -p tasks && webpack", "postbuild": "ts-node tasks/post-build" }, "repository": { diff --git a/tasks/tsconfig.json b/tasks/tsconfig.json new file mode 100644 index 0000000..3f7e8aa --- /dev/null +++ b/tasks/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "noEmit": true + }, + "include":[ + "*.ts" + ] +} +