forked from c-fu/arah2
chore(01-design-tokens-rams-foundation-01): scaffold npm workspace + theme package
- Root package.json: araharah, private, type module, workspaces [theme], scripts delegating to theme (build/sheet/gallery/audit/capture) - theme/package.json: @araharah/theme with tailwindcss v4 + @tailwindcss/cli v4 devDeps, playwright dep (plan 03/04 captures), build + send scripts (D-15, D-17 local-only)
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "araharah",
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"workspaces": [
|
||||||
|
"theme"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"build": "npm run build --workspace theme",
|
||||||
|
"sheet": "npm run sheet --workspace theme",
|
||||||
|
"gallery": "npm run gallery --workspace theme",
|
||||||
|
"audit": "npm run audit --workspace theme",
|
||||||
|
"capture": "npm run capture --workspace theme"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "@araharah/theme",
|
||||||
|
"type": "module",
|
||||||
|
"devDependencies": {
|
||||||
|
"@tailwindcss/cli": "^4.0.0",
|
||||||
|
"tailwindcss": "^4.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"playwright": "^1.50.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "tailwindcss -i ./src/theme.css -o ./dist/rams.css --minify",
|
||||||
|
"send": "mkdir -p dist/fonts && cp -r fonts/geist fonts/space-grotesk dist/fonts/"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user