mirror of https://github.com/msgbyte/tailchat
chore: fix types package bundle problem
parent
a8bb744bfd
commit
95019a4f99
@ -1,12 +1,23 @@
|
|||||||
{
|
{
|
||||||
"name": "tailchat-types",
|
"name": "tailchat-types",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "",
|
"description": "Tailchat model types",
|
||||||
"main": "index.ts",
|
"main": "dist/cjs/index.js",
|
||||||
|
"module": "dist/esm/index.js",
|
||||||
|
"types": "dist/cjs/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepare": "pnpm build",
|
||||||
|
"build": "concurrently --kill-others npm:build-cjs npm:build-esm",
|
||||||
|
"build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs",
|
||||||
|
"build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT"
|
"license": "MIT",
|
||||||
|
"devDependencies": {
|
||||||
|
"concurrently": "^7.6.0",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"typescript": "4.9.4"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"declaration": true,
|
||||||
|
"target": "ES5",
|
||||||
|
"lib": ["ES2015"],
|
||||||
|
"module": "CommonJS"
|
||||||
|
},
|
||||||
|
"include": ["src"]
|
||||||
|
}
|
Loading…
Reference in New Issue