Skip to content

Commit c72a077

Browse files
committed
feat: types
1 parent 6882db1 commit c72a077

File tree

5 files changed

+1177
-0
lines changed

5 files changed

+1177
-0
lines changed

packages/types/package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "@vue-hooks-plus/types",
3+
"version": "1.6.0-alpha.3",
4+
"description": "",
5+
"files": [
6+
"types",
7+
"package.json",
8+
"README.md"
9+
],
10+
"types": "./types/index.d.ts",
11+
"scripts": {
12+
"build": "vite build"
13+
},
14+
"keywords": [
15+
"vue3",
16+
"web worker"
17+
],
18+
"repository": "https://github.com/InhiblabCore/vue-hooks-plus",
19+
"homepage": "https://github.com/InhiblabCore/vue-hooks-plus",
20+
"author": "NelsonYong",
21+
"license": "MIT",
22+
"dependencies": {
23+
"js-cookie": "^3.0.1"
24+
}
25+
}

packages/types/tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./dist", //输出文件
5+
"lib": ["esnext", "dom"]
6+
// "baseUrl": "../hooks",
7+
// "rootDir": "../hooks"
8+
},
9+
"include": ["../hooks/src/**/*.ts"],
10+
"exclude": ["node_modules", "dist", "lib", "es", "example", "test-utils/*"]
11+
}

0 commit comments

Comments
 (0)