From 71d0986d7aa9e6af6b6e3e4e46cdb57e786e06d6 Mon Sep 17 00:00:00 2001 From: Eric Maciel Date: Thu, 17 Feb 2022 19:09:57 -0500 Subject: [PATCH] chore: final alpha release --- package.json | 19 ++++++++++++------- tsconfig.json | 5 +---- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 55bdfa4..8d79c4d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,12 @@ { "name": "@hiveteams/collab", - "version": "1.0.0-alpha.5", - "main": "", + "version": "1.0.0-alpha.7", + "exports": { + "bridge": "./build/bridge", + "client": "./build/client", + "backend": "./build/backend" + }, + "type": "module", "description": "Slate collaborative editing", "scripts": { "format": "prettier --write", @@ -39,11 +44,6 @@ "@babel/preset-typescript": "^7.6.0", "@commitlint/cli": "^9.0.1", "@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", "husky": "^3.0.5", "jest": "^24.9.0", @@ -53,6 +53,11 @@ "typescript": "^4.5.5" }, "dependencies": { + "@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", "@types/debug": "^4.1.7", "automerge": "0.14.0", "debug": "^4.3.3", diff --git a/tsconfig.json b/tsconfig.json index a1d6533..3d6f5d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,19 +3,16 @@ "rootDir": "./src", "baseUrl": "./src", "outDir": "./build", - "lib": ["dom", "dom.iterable", "esnext"], "allowSyntheticDefaultImports": true, "declaration": true, "skipLibCheck": true, "declarationMap": true, "esModuleInterop": true, "jsx": "react", - "module": "esnext", "moduleResolution": "node", "sourceMap": true, "strict": true, - "suppressImplicitAnyIndexErrors": true, - "target": "es2019" + "suppressImplicitAnyIndexErrors": true }, "exclude": ["node_modules"], "include": ["**/*.ts", "**/*.tsx"]