File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
* .js
2
2
doc-comps
3
- demo
3
+ components / ** / demo
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
+ "typings" : " types/index.d.ts" ,
6
7
"scripts" : {
7
8
"dev" : " docz dev" ,
8
9
"start" : " npm run dev" ,
9
10
"build:doc" : " rimraf doc-site && docz build" ,
10
11
"preview:doc" : " docz serve" ,
12
+ "build:types" : " tsc --emitDeclarationOnly" ,
11
13
"commit" : " git-cz" ,
12
14
"test" : " echo \" Error: no test specified\" && exit 1"
13
15
},
29
31
"devDependencies" : {
30
32
"@commitlint/cli" : " ^8.2.0" ,
31
33
"@commitlint/config-conventional" : " ^8.2.0" ,
34
+ "@types/vfile-message" : " ^2.0.0" ,
32
35
"@umijs/fabric" : " ^1.2.12" ,
33
36
"antd" : " ^3.26.3" ,
34
37
"babel-plugin-import" : " ^1.13.0" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "rootDir" : " components" ,
4
- "baseUrl" : " components" ,
3
+ "allowJs" : false ,
5
4
"target" : " esnext" ,
6
5
"module" : " commonjs" ,
7
6
"jsx" : " react" ,
12
11
"allowSyntheticDefaultImports" : true ,
13
12
"esModuleInterop" : true
14
13
},
15
- "exclude" : [" components/**/demo" , " doc-comps" ]
14
+ "include" : [" components" ],
15
+ "exclude" : [" components/**/demo" ]
16
16
}
Original file line number Diff line number Diff line change 1539
1539
resolved "https://registry.npm.taobao.org/@types/unist/download/@types/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
1540
1540
integrity sha1-nAiGeYdvN061mD8VDUeHqm+zLX4=
1541
1541
1542
- "@types/vfile-message@*":
1542
+ "@types/vfile-message@*", "@types/vfile-message@^2.0.0" :
1543
1543
version "2.0.0"
1544
1544
resolved "https://registry.npm.taobao.org/@types/vfile-message/download/@types/vfile-message-2.0.0.tgz#690e46af0fdfc1f9faae00cd049cc888957927d5"
1545
1545
integrity sha1-aQ5Grw/fwfn6rgDNBJzIiJV5J9U=
You can’t perform that action at this time.
0 commit comments