diff --git a/package.json b/package.json index 8ba295feb..3c790a8a5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,9 @@ "name": "reactor-ts", "version": "0.1.0", "description": "Reactor runtime written in TypeScript", - "main": "lib/index.js", + "main": "lib/core/index.js", + "type": "commonjs", + "types": "src", "dependencies": { "@definitelytyped/header-parser": "0.0.29", "@definitelytyped/typescript-versions": "0.0.29", @@ -36,12 +38,9 @@ "typedoc": "^0.21.4", "typescript": "^4.3.5" }, - "files": [ - "lib" - ], "scripts": { "check-types": "tsc", - "build": "rm -rf dist lib && babel src --out-dir lib --extensions .ts", + "install": "rm -rf lib && babel src --out-dir lib --extensions .ts", "deploy": "npm run build && npm run doc", "doc": "typedoc --exclude \"**/+(example|benchmark|share)/**/*.ts\" --out docs src && touch docs/.nojekyll", "dtslint": "dtslint __tests__/types", diff --git a/src/core/README.md b/src/core/README.md deleted file mode 100644 index 97ca55a0f..000000000 --- a/src/core/README.md +++ /dev/null @@ -1 +0,0 @@ -This directory contains core reactor modules. \ No newline at end of file diff --git a/src/core/internal.ts b/src/core/internal.ts index 60564a36b..2be97ba03 100644 --- a/src/core/internal.ts +++ b/src/core/internal.ts @@ -13,4 +13,3 @@ export * from "./reactor" export * from "./bank" export * from "./event" export * from "./cli" -