Skip to content

Commit e81763e

Browse files
committed
update npm scripts
1 parent 00ab40f commit e81763e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MyApp.Client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "vitest",
1313
"test:ui": "vitest --ui",
1414
"test:run": "vitest run",
15-
"postinstall": "node ./postinstall.mjs"
15+
"postinstall": "test -f ./postinstall.mjs && node ./postinstall.mjs || true"
1616
},
1717
"dependencies": {
1818
"@servicestack/client": "^2.1.13",

MyApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
33
"postinstall": "node postinstall.js",
4-
"dtos": "x mjs",
4+
"dtos": "npx get-dtos mjs",
55
"dev": "dotnet watch",
66
"ui:dev": "tailwindcss -i ./tailwind.input.css -o ./wwwroot/css/app.css --watch",
77
"ui:build": "tailwindcss -i ./tailwind.input.css -o ./wwwroot/css/app.css --minify",

0 commit comments

Comments
 (0)