-
-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.79 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "sonicjs",
"version": "2.16.1",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"www",
"my-sonicjs-app"
],
"scripts": {
"predev": "test -d node_modules/@sonicjs-cms || npm install",
"dev": "npm run dev --workspace=my-sonicjs-app",
"dev:www": "npm run dev --workspace=www",
"build": "npm run build:core && npm run build --workspace=my-sonicjs-app",
"build:www": "npm run build --workspace=www",
"plugins:generate": "node packages/scripts/generate-plugin-registry.mjs",
"build:core": "npm run plugins:generate && npm run build --workspace=@sonicjs-cms/core",
"deploy": "npm run deploy --workspace=my-sonicjs-app",
"deploy:www": "npm run deploy --workspace=www",
"test": "npm run test --workspace=@sonicjs-cms/core",
"test:cov": "npm run test:cov --workspace=@sonicjs-cms/core",
"test:watch": "npm run test:watch --workspace=@sonicjs-cms/core",
"e2e": "playwright test --config=tests/playwright.config.ts",
"e2e:ui": "playwright test --config=tests/playwright.config.ts --ui",
"e2e:smoke": "playwright test --config=tests/playwright.smoke.config.ts",
"e2e:smoke:ui": "playwright test --config=tests/playwright.smoke.config.ts --ui",
"prepare": "husky",
"type-check": "npm run type-check --workspace=@sonicjs-cms/core",
"lint": "npm run type-check",
"version:patch": "npm version patch --workspace=@sonicjs-cms/core --no-git-tag-version && node scripts/sync-versions.js",
"version:minor": "npm version minor --workspace=@sonicjs-cms/core --no-git-tag-version && node scripts/sync-versions.js",
"version:major": "npm version major --workspace=@sonicjs-cms/core --no-git-tag-version && node scripts/sync-versions.js",
"publish:core": "npm run build:core && npm publish --workspace=@sonicjs-cms/core",
"publish:create-app": "npm publish --workspace=create-sonicjs",
"publish:all": "npm run publish:core && npm run publish:create-app",
"release:patch": "npm run version:patch && npm run publish:all && npm run release:announce",
"release:minor": "npm run version:minor && npm run publish:all && npm run release:announce",
"release:major": "npm run version:major && npm run publish:all && npm run release:announce",
"release:draft": "node scripts/release/generate-draft.js",
"release:announce": "node scripts/release/index.js",
"release:announce:dry": "node scripts/release/index.js --dry-run",
"notify:discord": "node scripts/notify-discord.js",
"social:discord": "node scripts/social/post-discord.js",
"social:twitter": "node scripts/social/post-twitter.js",
"social:post": "node scripts/social/post-both.js",
"social:promote-blog": "node scripts/social/promote-blog.js",
"db:reset": "npm run setup:db --workspace=my-sonicjs-app",
"workspace": "npm install && npm run db:reset",
"kill": "pkill workerd && npm run dev --workspace=my-sonicjs-app"
},
"dependencies": {
"@headlessui/react": "^2.2.9",
"@hono/zod-openapi": "^0.19.8",
"@hono/zod-validator": "^0.7.0",
"@libsql/client": "^0.15.9",
"@sonicjs-cms/core": "^2.0.1",
"clsx": "^2.1.1",
"drizzle-kit": "^0.31.2",
"drizzle-orm": "^0.45.2",
"drizzle-zod": "^0.8.3",
"highlight.js": "^11.11.1",
"hono": "^4.12.12",
"marked": "^16.4.1",
"motion": "^12.23.22",
"semver": "^7.7.3",
"zod": "^4.1.12"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20251014.0",
"@playwright/test": "^1.53.1",
"@types/node": "^24.9.2",
"@types/semver": "^7.7.0",
"@vitest/coverage-v8": "^4.0.5",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"playwright": "^1.53.1",
"tsx": "^4.20.3",
"typescript": "^5.9.3",
"vitest": "^4.0.5",
"wrangler": "^4.65.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"tsc --noEmit"
]
}
}