File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-email-editor" ,
3
3
"version" : " 2.1.0" ,
4
- "main" : " vue-email-editor.es" ,
5
- "types" : " vue-email-editor.d.ts" ,
4
+ "main" : " dist/ vue-email-editor.es" ,
5
+ "types" : " dist/ vue-email-editor.d.ts" ,
6
6
"scripts" : {
7
7
"serve" : " vue-cli-service serve" ,
8
8
"build" : " vue-cli-service build" ,
9
9
"lint" : " vue-cli-service lint" ,
10
- "build-dts" : " touch ./dist/vue-email-editor.d.ts && cat ./dist/**/*.d.ts > ./dist/vue-email-editor.d.ts" ,
11
- "copy-types" : " cp ./src/components/types.ts ./dist/components/types.d.ts" ,
12
- "build-bundle" : " vite build && cd ./src/components && vue-tsc --emitDeclarationOnly && npm run copy-types" ,
10
+ "adjust-types" : " sed -i '' '1s/^/\\ /\\ /\\ / <reference types=\\\" unlayer-types\\ /embed.d.ts\\\" \\ />\\ n/' ./dist/components/types.d.ts" ,
11
+ "build-bundle" : " vite build && cd ./src/components && vue-tsc --emitDeclarationOnly && npm run adjust-types" ,
13
12
"release" : " npm run build-bundle && npm publish"
14
13
},
15
14
"dependencies" : {
You can’t perform that action at this time.
0 commit comments