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",
"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",

View File

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