Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.35 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
{
"name": "styled-cva",
"version": "0.0.0",
"private": true,
"license": "Unlicense",
"packageManager": "bun@1.3.8",
"workspaces": [
"packages/*",
"examples/*",
"docs"
],
"scripts": {
"build": "bun run --filter './packages/*' build && bun run --filter './docs' build",
"build:examples": "bun run --filter './examples/*' build",
"check": "bun run build && bun run lint && bun run test",
"dev": "bun run --filter @styled-cva/docs dev",
"test": "bun run --filter @styled-cva/* test",
"lint": "bun run --filter @styled-cva/* lint",
"clean": "bun run --filter './packages/*' clean",
"format": "bun run --filter @styled-cva/* format",
"prepare": "lefthook install",
"release:react": "bun run build && bun publish --cwd packages/react",
"release:solid": "bun run build && bun publish --cwd packages/solid",
"release:vue": "bun run build && bun publish --cwd packages/vue",
"release:rescript": "bun run build && bun publish --cwd packages/rescript",
"release:eslint-plugin": "bun run build && bun publish --cwd packages/eslint-plugin",
"release:prettier-plugin": "bun run build && bun publish --cwd packages/prettier-plugin",
"release:biome-plugin": "bun publish --cwd packages/biome-plugin",
"skill:build": "bun run scripts/build-skill.ts",
"bump:patch": "bun run scripts/bump-patch.ts",
"changeset": "changeset",
"version": "changeset version",
"release": "bun run build && changeset publish",
"release:preflight": "test \"$(git branch --show-current)\" = main || { echo 'release: not on main' >&2; exit 1; }; test -z \"$(git status --porcelain)\" || { echo 'release: working tree not clean' >&2; exit 1; }; git pull --ff-only && npm whoami >/dev/null || { echo 'release: run npm login' >&2; exit 1; }",
"release:all": "bun run release:preflight && bun run version && bun install && git add -A && git commit -m 'chore(release): version packages' && bun run release && bunx changeset git-tag && git push && git push --tags"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@changesets/cli": "^3.0.3",
"@commitlint/cli": "^21.2.4",
"@commitlint/config-conventional": "^21.2.4",
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
"@types/bun": "^1.4.4",
"lefthook": "^2.2.2",
"prettier": "^3.9.10",
"prettier-plugin-tailwindcss": "^0.8.1"
}
}