build(yarn): Add build & test scripts for the workspaces

This commit is contained in:
Emil Ivanichkov 2024-01-22 16:13:00 +02:00
parent 3bd56aa3db
commit d824d4f638

View File

@ -9,13 +9,17 @@
"scripts": {
"dev": "NODE_ENV=development vite",
"build": "tsc -p . && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"build-lib": "yarn nx build",
"build-lib:all": "yarn nx run-many --targets=build --all",
"build-storybook": "storybook build",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"format:check": "yarn prettier --check src",
"format": "yarn prettier --write src"
"format": "yarn prettier --write src",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test-storybook": "test-storybook",
"test-lib": "yarn nx test",
"test-lib:all": "yarn nx run-many --targets=test"
},
"resolutions": {
"@tamagui/web": "1.36.4",