|
13 | 13 | "@babel/plugin-proposal-numeric-separator": "^7.10.1", |
14 | 14 | "@babel/preset-react": "^7.10.1", |
15 | 15 | "@babel/preset-typescript": "^7.10.1", |
16 | | - "@storybook/addon-centered": "^5.3.19", |
17 | | - "@storybook/addon-info": "^5.3.19", |
18 | | - "@storybook/addon-storysource": "^5.3.19", |
19 | | - "@storybook/react": "^5.3.19", |
20 | | - "@storybook/storybook-deployer": "^2.8.6", |
| 16 | + "@storybook/addon-actions": "^6.0.28", |
| 17 | + "@storybook/addon-essentials": "^6.0.28", |
| 18 | + "@storybook/addon-links": "^6.0.28", |
| 19 | + "@storybook/addon-storysource": "^6.0.28", |
| 20 | + "@storybook/preset-scss": "^1.0.3", |
| 21 | + "@storybook/react": "^6.0.28", |
| 22 | + "@storybook/storybook-deployer": "^2.8.7", |
21 | 23 | "@types/classnames": "^2.2.9", |
22 | 24 | "@types/enzyme": "^3.10.3", |
23 | 25 | "@types/enzyme-adapter-react-16": "^1.0.5", |
24 | 26 | "@types/jest": "^24.0.23", |
25 | 27 | "@types/jest-axe": "^3.2.2", |
26 | | - "@types/node": "^12.12.12", |
27 | 28 | "@types/react": "^16.9.3", |
28 | 29 | "@types/react-dom": "^16.9.3", |
29 | 30 | "@typescript-eslint/eslint-plugin": "^2.3.1", |
30 | 31 | "@typescript-eslint/parser": "^2.3.1", |
31 | 32 | "awesome-typescript-loader": "^5.2.1", |
32 | 33 | "babel-loader": "^8.0.6", |
| 34 | + "css-loader": "^5.0.0", |
33 | 35 | "enzyme": "^3.10.3", |
34 | 36 | "enzyme-adapter-react-16": "^1.15.1", |
35 | 37 | "enzyme-to-json": "^3.4.3", |
|
43 | 45 | "eslint-plugin-prettier": "^3.1.1", |
44 | 46 | "eslint-plugin-react": "^7.14.3", |
45 | 47 | "eslint-plugin-react-hooks": "^1.7.0", |
46 | | - "jest": "^24.9.0", |
| 48 | + "jest": "^26.6.1", |
47 | 49 | "jest-axe": "^3.4.0", |
48 | 50 | "nhsuk-frontend": "^3.1.0", |
49 | 51 | "node-sass": "^4.14.1", |
50 | 52 | "prettier": "^1.18.2", |
51 | 53 | "react": "^16.9.3", |
52 | 54 | "react-docgen-typescript-loader": "^3.2.1", |
53 | 55 | "react-dom": "^16.9.3", |
| 56 | + "react-is": "^17.0.1", |
54 | 57 | "rollup": "^1.21.4", |
55 | 58 | "rollup-plugin-sass": "^1.2.2", |
56 | 59 | "rollup-plugin-scss": "^1.0.2", |
57 | 60 | "rollup-plugin-typescript2": "^0.24.2", |
58 | | - "sass-loader": "^8.0.2", |
59 | | - "ts-jest": "^24.2.0", |
| 61 | + "sass-loader": "^10.0.4", |
| 62 | + "style-loader": "^2.0.0", |
| 63 | + "ts-jest": "^26.4.3", |
60 | 64 | "ts-node": "^8.4.1", |
61 | 65 | "tslib": "^2.0.0", |
62 | 66 | "typescript": "^3.9.5" |
|
70 | 74 | "classnames": "^2.2.6" |
71 | 75 | }, |
72 | 76 | "scripts": { |
73 | | - "storybook": "start-storybook", |
| 77 | + "storybook": "start-storybook -p 6006 --no-dll", |
74 | 78 | "cleanup": "bash scripts/cleanup.sh", |
75 | 79 | "build": "yarn cleanup && yarn build:dist && yarn build:lib", |
76 | 80 | "build:dist": "rollup -c", |
|
79 | 83 | "test:ci": "jest --coverage", |
80 | 84 | "test:watch": "jest --watch", |
81 | 85 | "lint": "eslint --fix -c .eslintrc.js --ext .ts --ext .tsx src/*.ts src/components/**/*.ts src/util/*.ts", |
82 | | - "prebuild": "yarn lint && yarn test --coverage" |
| 86 | + "prebuild": "yarn lint && yarn test --coverage", |
| 87 | + "build-storybook": "build-storybook --no-dll" |
83 | 88 | }, |
84 | 89 | "files": [ |
85 | 90 | "dist", |
|
0 commit comments