diff --git a/package.json b/package.json index 566b527..89221a4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,13 @@ { "name": "@hiveteams/collab", + "version": "1.0.0", + "main": "", "private": true, "description": "Slate collaborative editing", "scripts": { "format": "prettier --write", - "test": "jest" + "test": "jest", + "build": "./node_modules/typescript/bin/tsc -p ./tsconfig.json" }, "author": "cudr", "license": "MIT", @@ -37,6 +40,7 @@ "@commitlint/config-conventional": "^9.0.1", "@types/jest": "^24.9.0", "@types/lodash": "^4.14.178", + "@types/react": "^17.0.39", "@types/socket.io": "^2.1.4", "@types/socket.io-client": "1.4.32", "auto-changelog": "^2.1.0", diff --git a/tsconfig.json b/tsconfig.json index 47adf3a..27a01a1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "rootDir": "./src", "baseUrl": "./src", + "outDir": "./build", "lib": ["dom", "dom.iterable", "esnext"], "allowSyntheticDefaultImports": true, "declaration": true,