File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 29
29
"main" : " ./dist/vue-advanced-chat.common.js" ,
30
30
"scripts" : {
31
31
"serve" : " vue-cli-service serve" ,
32
- "build" : " npm run clean:lib && npm run build:lib && npm run build:wc && npm run gen:types" ,
32
+ "build" : " npm run clean:lib && npm run build:lib && npm run gen:types" ,
33
33
"clean:lib" : " rimraf dist" ,
34
34
"build:lib" : " vue-cli-service build --target lib --no-clean --name vue-advanced-chat ./src/ChatWindow/index.js" ,
35
35
"build:wc" : " vue-cli-service build --target wc --no-clean --name vue-advanced-chat ./src/ChatWindow/ChatWindow.vue" ,
Original file line number Diff line number Diff line change 1
1
{
2
- // Change this to match your project
3
- "include" : [
4
- " dist/**/*"
5
- ],
6
-
7
- "compilerOptions" : {
8
- // Tells TypeScript to read JS files, as
9
- // normally they are ignored as source files
10
- "allowJs" : true ,
11
- // Generate d.ts files
12
- "declaration" : true ,
13
- // This compiler run should
14
- // only output d.ts files
15
- "emitDeclarationOnly" : true ,
16
- // Types should go into this directory.
17
- // Removing this would place the .d.ts files
18
- // next to the .js files
19
- "outDir" : " types" ,
20
- },
2
+ "compilerOptions" : {
3
+ "allowJs" : true ,
4
+ "declaration" : true ,
5
+ "emitDeclarationOnly" : true ,
6
+ "outDir" : " types"
7
+ },
8
+ "include" : [" dist/**/*" ]
21
9
}
You can’t perform that action at this time.
0 commit comments