@luscii-healthtech/web-ui 2.71.7 → 2.71.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +13 -1
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.71.7",
2
+ "version": "2.71.8",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -8,6 +8,7 @@
8
8
  ],
9
9
  "scripts": {
10
10
  "start": "tsdx watch",
11
+ "dev": "yarn storybook:lazy",
11
12
  "build": "tsdx build && yarn build-tailwind",
12
13
  "test": "tsdx test --passWithNoTests",
13
14
  "test:watch": "tsdx test --watch",
@@ -16,8 +17,14 @@
16
17
  "lint:fix": "eslint src stories --ext .jsx --ext .js --ext .ts --ext .tsx --fix",
17
18
  "size": "size-limit",
18
19
  "analyze": "size-limit --why",
20
+ "storybook:lazy": "STORYBOOK_LAZY_COMPILATION=true yarn storybook",
19
21
  "storybook": "storybook dev -p 6006",
20
22
  "build-storybook": "storybook build",
23
+ "test-storybook": "test-storybook --coverage && yarn create-coverage-report",
24
+ "//_": "Open the coverage report and click through the component names and files to reveal visually which lines aren't covered.",
25
+ "open-coverage-report": "open coverage/storybook/lcov-report/index.html",
26
+ "create-coverage-report": "npx nyc report --reporter=lcov --report-dir coverage/storybook",
27
+ "test-storybook:ci": "yarn test-storybook --maxWorkers=2",
21
28
  "chromatic": "chromatic --exit-zero-on-changes",
22
29
  "build-tailwind": "NODE_ENV=production yarn run tailwindcss build tailwind.css -o ./dist/web-ui-tailwind.css",
23
30
  "copy-build": "cp -a ./dist/. ../cVitals-Web/node_modules/@luscii-healthtech/web-ui/dist",
@@ -64,14 +71,19 @@
64
71
  "@dnd-kit/sortable": "^7.0.2",
65
72
  "@dnd-kit/utilities": "^3.2.1",
66
73
  "@rollup/plugin-image": "^2.1.1",
74
+ "@storybook/addon-coverage": "^0.0.8",
67
75
  "@storybook/addon-docs": "^7.0.24",
68
76
  "@storybook/addon-essentials": "^7.0.24",
77
+ "@storybook/addon-interactions": "^7.0.26",
69
78
  "@storybook/addon-links": "^7.0.24",
70
79
  "@storybook/addon-postcss": "^2.0.0",
71
80
  "@storybook/addon-styling": "^1.3.2",
72
81
  "@storybook/addons": "^7.0.24",
82
+ "@storybook/jest": "^0.1.0",
73
83
  "@storybook/react": "^7.0.24",
74
84
  "@storybook/react-webpack5": "^7.0.24",
85
+ "@storybook/test-runner": "^0.11.0",
86
+ "@storybook/testing-library": "^0.2.0",
75
87
  "@svgr/cli": "^7.0.0",
76
88
  "@types/reach__router": "^1.3.10",
77
89
  "@types/react": "^18.0.27",