mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
storybook tests
This commit is contained in:
parent
42ae6e7308
commit
ff7a1c5484
@ -47,6 +47,7 @@ The following commands are available:
|
|||||||
| **Storybook** | |
|
| **Storybook** | |
|
||||||
| `npm run storybook` | Run Storybook |
|
| `npm run storybook` | Run Storybook |
|
||||||
| `npm run storybook:build` | Build static storybook |
|
| `npm run storybook:build` | Build static storybook |
|
||||||
|
| `npm run storybook:test` | Runs tests against all storybook stories |
|
||||||
| **Documentation** | |
|
| **Documentation** | |
|
||||||
| `npm run docs:dev` | Run Documentation in development mode |
|
| `npm run docs:dev` | Run Documentation in development mode |
|
||||||
| `npm run docs:build` | Build static documentation |
|
| `npm run docs:build` | Build static documentation |
|
||||||
|
|||||||
3763
package-lock.json
generated
3763
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -39,6 +39,7 @@
|
|||||||
"server:prod": "cross-env NODE_ENV=production npm run server",
|
"server:prod": "cross-env NODE_ENV=production npm run server",
|
||||||
"storybook": "storybook dev -p 6006",
|
"storybook": "storybook dev -p 6006",
|
||||||
"storybook:build": "storybook build -o build/storybook",
|
"storybook:build": "storybook build -o build/storybook",
|
||||||
|
"storybook:test": "test-storybook",
|
||||||
"test:lint": "npm run test:lint:eslint && npm run test:lint:remark",
|
"test:lint": "npm run test:lint:eslint && npm run test:lint:remark",
|
||||||
"test:lint:eslint": "eslint --ext .vue,.ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .",
|
"test:lint:eslint": "eslint --ext .vue,.ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .",
|
||||||
"test:lint:remark": "remark . --quiet --frail",
|
"test:lint:remark": "remark . --quiet --frail",
|
||||||
@ -78,6 +79,7 @@
|
|||||||
"@storybook/addon-interactions": "^7.5.3",
|
"@storybook/addon-interactions": "^7.5.3",
|
||||||
"@storybook/addon-links": "^7.5.3",
|
"@storybook/addon-links": "^7.5.3",
|
||||||
"@storybook/blocks": "^7.5.3",
|
"@storybook/blocks": "^7.5.3",
|
||||||
|
"@storybook/test-runner": "^0.15.1",
|
||||||
"@storybook/testing-library": "^0.2.2",
|
"@storybook/testing-library": "^0.2.2",
|
||||||
"@storybook/vue3": "^7.5.3",
|
"@storybook/vue3": "^7.5.3",
|
||||||
"@storybook/vue3-vite": "^7.5.3",
|
"@storybook/vue3-vite": "^7.5.3",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user