diff --git a/packages/codebytes/.gitignore b/packages/codebytes/.gitignore new file mode 100644 index 000000000..139fb2807 --- /dev/null +++ b/packages/codebytes/.gitignore @@ -0,0 +1,2 @@ +# Dist +dist \ No newline at end of file diff --git a/packages/codebytes/package.json b/packages/codebytes/package.json index 4118ab7d3..367e9c4f1 100644 --- a/packages/codebytes/package.json +++ b/packages/codebytes/package.json @@ -37,7 +37,8 @@ "build:clean": "rm -rf dist", "build:types": "tsc --emitDeclarationOnly", "build": "yarn build:clean && yarn build:compile && yarn build:types", - "build:watch": "yarn build && onchange ./src -- yarn build:compile && yarn build:types" + "build:watch": "yarn build && onchange ./src -- yarn build:compile && yarn build:types", + "lernaBuildTask": "yarn build" }, "license": "MIT", "devDependencies": { diff --git a/packages/codebytes/tsconfig.json b/packages/codebytes/tsconfig.json index 3625d95a0..bbffd8877 100644 --- a/packages/codebytes/tsconfig.json +++ b/packages/codebytes/tsconfig.json @@ -1,4 +1,8 @@ { "extends": "../../tsconfig.json", - "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"] + "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"], + "compilerOptions": { + "allowJs": true, + "outDir": "./dist" + } }