| name | evo-commands |
| description | Quick reference for npm scripts and testing patterns in the evo-web monorepo. |
Evo-Web Development Commands
Quick reference for npm scripts and testing patterns in the evo-web monorepo.
Root-Level Commands
npm install
npm run build
npm run deploy
npm run lint
npm test
npm start
Package-Specific Commands
npm run build -w packages/skin
npm run build -w packages/ebayui-core
npm run build -w packages/evo-marko
npm run build -w packages/ebayui-core-react
npm run build -w packages/evo-react
npm test -w packages/ebayui-core
npm run update-snapshots -w packages/ebayui-core
npm run storybook -w packages/skin
npm run storybook -w packages/ebayui-core
npm run storybook -w packages/ebayui-core-react
Test File Locations & Patterns
Marko component test structure:
test/test.browser.js - Browser tests with Playwright (Vitest)
test/test.server.js - Server-side rendering tests (Vitest)
React component test structure:
__tests__/index.spec.tsx - Vitest with @testing-library/react (jsdom)
Run Individual Test Files
npx vitest run packages/ebayui-core/src/components/ebay-button/test/test.browser.js
npx vitest run packages/ebayui-core-react/src/ebay-button/__tests__/index.spec.tsx