-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
19 lines (19 loc) · 1.55 KB
/
package.json
File metadata and controls
19 lines (19 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name": "asterui",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"build": "pnpm -r build",
"dev": "pnpm --filter docs dev",
"preview": "pnpm --filter docs build && pnpm --filter docs preview",
"test": "pnpm -r test",
"publish": "pnpm --filter asterui publish --access public",
"publish:create": "pnpm --filter create-asterui publish --access public",
"publish:icons": "pnpm --filter @aster-ui/icons publish --access public",
"publish:icons-prefixed": "pnpm --filter @aster-ui/icons-prefixed publish --access public",
"publish:prefixed": "pnpm --filter @aster-ui/prefixed publish --access public",
"sync-prefixed": "rm -rf packages/prefixed/src && cp -r packages/asterui/src packages/prefixed/ && npx tsx scripts/daisyui-prefix.ts --prefix d- --dir packages/prefixed/src && jq --arg v $(jq -r .version packages/asterui/package.json) '.version = $v' packages/prefixed/package.json > tmp.json && mv tmp.json packages/prefixed/package.json && pnpm --filter @aster-ui/prefixed build",
"sync-icons-prefixed": "rm -rf packages/icons-prefixed/src packages/icons-prefixed/scripts && cp -r packages/icons/src packages/icons/scripts packages/icons-prefixed/ && npx tsx scripts/replace-in-files.ts \"'asterui'\" \"'@aster-ui/prefixed'\" packages/icons-prefixed/src/context.tsx packages/icons-prefixed/scripts/generate.ts && jq --arg v $(jq -r .version packages/icons/package.json) '.version = $v' packages/icons-prefixed/package.json > tmp.json && mv tmp.json packages/icons-prefixed/package.json"
}
}