ryugi-artifacts 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ryugi-artifacts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prebuilt viewer for the Ryugi artifacts app, served from jsDelivr",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
"access": "public",
|
|
17
17
|
"provenance": true
|
|
18
18
|
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "pnpm run build:server && pnpm run build:viewer",
|
|
21
|
+
"build:server": "esbuild src/server/main.ts --bundle --platform=node --target=node18 --format=cjs --outfile=../skills/artifacts/app/server.cjs",
|
|
22
|
+
"prepublishOnly": "pnpm build:viewer",
|
|
23
|
+
"build:viewer": "NODE_ENV=production vite build && node -e \"const fs=require('node:fs');const to='../skills/artifacts/app/viewer';fs.rmSync(to,{recursive:true,force:true});fs.cpSync('dist/viewer',to,{recursive:true})\"",
|
|
24
|
+
"dev": "vite",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
27
|
+
},
|
|
19
28
|
"dependencies": {
|
|
20
29
|
"@lobehub/ui": "6.5.1",
|
|
21
30
|
"@stylexjs/stylex": "0.19.1",
|
|
@@ -34,13 +43,5 @@
|
|
|
34
43
|
"typescript": "~5.9.3",
|
|
35
44
|
"vite": "^8.3.4",
|
|
36
45
|
"vitest": "^5.0.5"
|
|
37
|
-
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "pnpm run build:server && pnpm run build:viewer",
|
|
40
|
-
"build:server": "esbuild src/server/main.ts --bundle --platform=node --target=node18 --format=cjs --outfile=../skills/artifacts/app/server.cjs",
|
|
41
|
-
"build:viewer": "NODE_ENV=production vite build && node -e \"const fs=require('node:fs');const to='../skills/artifacts/app/viewer';fs.rmSync(to,{recursive:true,force:true});fs.cpSync('dist/viewer',to,{recursive:true})\"",
|
|
42
|
-
"dev": "vite",
|
|
43
|
-
"test": "vitest run",
|
|
44
|
-
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
45
46
|
}
|
|
46
|
-
}
|
|
47
|
+
}
|