chore: update typescript build

This commit is contained in:
Eric Maciel 2022-02-17 16:26:38 -05:00
parent 3c9041c349
commit dc67eb5d79
2 changed files with 6 additions and 1 deletions

View File

@ -1,10 +1,13 @@
{ {
"name": "@hiveteams/collab", "name": "@hiveteams/collab",
"version": "1.0.0",
"main": "",
"private": true, "private": true,
"description": "Slate collaborative editing", "description": "Slate collaborative editing",
"scripts": { "scripts": {
"format": "prettier --write", "format": "prettier --write",
"test": "jest" "test": "jest",
"build": "./node_modules/typescript/bin/tsc -p ./tsconfig.json"
}, },
"author": "cudr", "author": "cudr",
"license": "MIT", "license": "MIT",
@ -37,6 +40,7 @@
"@commitlint/config-conventional": "^9.0.1", "@commitlint/config-conventional": "^9.0.1",
"@types/jest": "^24.9.0", "@types/jest": "^24.9.0",
"@types/lodash": "^4.14.178", "@types/lodash": "^4.14.178",
"@types/react": "^17.0.39",
"@types/socket.io": "^2.1.4", "@types/socket.io": "^2.1.4",
"@types/socket.io-client": "1.4.32", "@types/socket.io-client": "1.4.32",
"auto-changelog": "^2.1.0", "auto-changelog": "^2.1.0",

View File

@ -2,6 +2,7 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src", "rootDir": "./src",
"baseUrl": "./src", "baseUrl": "./src",
"outDir": "./build",
"lib": ["dom", "dom.iterable", "esnext"], "lib": ["dom", "dom.iterable", "esnext"],
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"declaration": true, "declaration": true,