|
8 | 8 | }, |
9 | 9 | "license": "MIT", |
10 | 10 | "devDependencies": { |
11 | | - "@babel/cli": "^7.10.1", |
12 | | - "@babel/core": "^7.10.1", |
13 | | - "@babel/plugin-proposal-numeric-separator": "^7.10.1", |
14 | | - "@babel/preset-react": "^7.10.1", |
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", |
| 11 | + "@babel/cli": "^7.12.17", |
| 12 | + "@babel/core": "^7.12.17", |
| 13 | + "@babel/preset-react": "^7.12.13", |
| 14 | + "@babel/preset-typescript": "^7.12.17", |
| 15 | + "@storybook/addon-actions": "^6.1.18", |
| 16 | + "@storybook/addon-essentials": "^6.1.18", |
| 17 | + "@storybook/addon-links": "^6.1.18", |
| 18 | + "@storybook/addon-storysource": "^6.1.18", |
| 19 | + "@storybook/preset-scss": "^1.0.3", |
| 20 | + "@storybook/react": "^6.1.18", |
| 21 | + "@storybook/storybook-deployer": "^2.8.7", |
21 | 22 | "@types/classnames": "^2.2.9", |
22 | 23 | "@types/enzyme": "^3.10.3", |
23 | 24 | "@types/enzyme-adapter-react-16": "^1.0.5", |
24 | 25 | "@types/jest": "^24.0.23", |
25 | 26 | "@types/jest-axe": "^3.2.2", |
26 | | - "@types/node": "^12.12.12", |
27 | 27 | "@types/react": "^16.9.3", |
28 | 28 | "@types/react-dom": "^16.9.3", |
29 | 29 | "@typescript-eslint/eslint-plugin": "^2.3.1", |
30 | 30 | "@typescript-eslint/parser": "^2.3.1", |
31 | 31 | "awesome-typescript-loader": "^5.2.1", |
32 | | - "babel-loader": "^8.0.6", |
| 32 | + "babel-loader": "^8.2.2", |
| 33 | + "css-loader": "^5.0.0", |
33 | 34 | "enzyme": "^3.10.3", |
34 | 35 | "enzyme-adapter-react-16": "^1.15.1", |
35 | 36 | "enzyme-to-json": "^3.4.3", |
|
43 | 44 | "eslint-plugin-prettier": "^3.1.1", |
44 | 45 | "eslint-plugin-react": "^7.14.3", |
45 | 46 | "eslint-plugin-react-hooks": "^1.7.0", |
46 | | - "jest": "^24.9.0", |
| 47 | + "jest": "^26.6.1", |
47 | 48 | "jest-axe": "^3.4.0", |
48 | 49 | "nhsuk-frontend": "^3.1.0", |
49 | 50 | "node-sass": "^4.14.1", |
50 | 51 | "prettier": "^1.18.2", |
51 | 52 | "react": "^16.9.3", |
52 | 53 | "react-docgen-typescript-loader": "^3.2.1", |
53 | 54 | "react-dom": "^16.9.3", |
| 55 | + "react-is": "^17.0.1", |
54 | 56 | "rollup": "^1.21.4", |
55 | 57 | "rollup-plugin-sass": "^1.2.2", |
56 | 58 | "rollup-plugin-scss": "^1.0.2", |
57 | 59 | "rollup-plugin-typescript2": "^0.24.2", |
58 | | - "sass-loader": "^8.0.2", |
59 | | - "ts-jest": "^24.2.0", |
| 60 | + "sass-loader": "^10.0.4", |
| 61 | + "style-loader": "^2.0.0", |
| 62 | + "ts-jest": "^26.4.3", |
60 | 63 | "ts-node": "^8.4.1", |
61 | 64 | "tslib": "^2.0.0", |
62 | 65 | "typescript": "^3.9.5" |
|
67 | 70 | "react-dom": "^16.9.0" |
68 | 71 | }, |
69 | 72 | "dependencies": { |
| 73 | + "@babel/plugin-proposal-class-properties": "7.10.1", |
70 | 74 | "classnames": "^2.2.6" |
71 | 75 | }, |
72 | 76 | "scripts": { |
73 | | - "storybook": "start-storybook", |
| 77 | + "storybook": "start-storybook -p 6006", |
74 | 78 | "cleanup": "bash scripts/cleanup.sh", |
75 | 79 | "build": "yarn cleanup && yarn build:dist && yarn build:lib", |
76 | 80 | "build:dist": "rollup -c", |
|
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 | 86 | "prebuild": "yarn lint && yarn test --coverage", |
| 87 | + "build-storybook": "build-storybook", |
83 | 88 | "prepare": "yarn build" |
84 | 89 | }, |
85 | 90 | "files": [ |
|
0 commit comments