Skip to content

Commit c080309

Browse files
committed
Add copy npm scripts
1 parent 420f88b commit c080309

File tree

4 files changed

+6688
-1
lines changed

4 files changed

+6688
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"build": "run-p type-check build-only build-style && run-p build-minify",
1818
"build-minify": "uglifyjs dist/servicestack-vue.mjs --compress --mangle -o dist/servicestack-vue.min.mjs",
1919
"build-style": "postcss src/tailwind.css -o dist/styles.css",
20-
"build-copy": "npm run build && copy dist\\servicestack-vue.min.mjs ..\\ServiceStack\\ServiceStack\\src\\ServiceStack\\js\\servicestack-vue.mjs && copy dist\\servicestack-vue.mjs ..\\ServiceStack\\ServiceStack\\tests\\NorthwindAuto\\wwwroot\\lib\\mjs\\servicestack-vue.mjs",
20+
"build-copy": "npm run build && npm run copy-src && npm run copy-diffusion",
21+
"copy-src": "copy dist\\servicestack-vue.min.mjs ..\\ServiceStack\\ServiceStack\\src\\ServiceStack\\js\\servicestack-vue.mjs && copy dist\\servicestack-vue.mjs ..\\ServiceStack\\ServiceStack\\tests\\NorthwindAuto\\wwwroot\\lib\\mjs\\",
22+
"copy-diffusion": "copy dist\\servicestack-vue.m* ..\\..\\netcore\\VueDiffusion\\MyApp\\wwwroot\\lib\\mjs\\ && copy dist\\index.d.ts ..\\..\\netcore\\VueDiffusion\\MyApp\\wwwroot\\lib\\typings\\@servicestack\\vue\\",
2123
"preview": "vite preview",
2224
"build-only": "vite build",
2325
"type-check": "vue-tsc --noEmit",

servicestack-vue.min.mjs

+2
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)