|
14 | 14 | "predeploy": "gulp build", |
15 | 15 | "deploy": "gh-pages -d build", |
16 | 16 | "build": "gulp build", |
17 | | - "test": "react-scripts test", |
| 17 | + "test": "jest --config jest.config.js", |
| 18 | + "test:ci": "jest --config jest.config.js --ci --watchAll=false", |
| 19 | + "test:watch": "jest --config jest.config.js --watch", |
18 | 20 | "eject": "react-scripts eject", |
19 | | - "update-components": "yarn upgrade-interactive --latest" |
| 21 | + "update-components": "npm update" |
20 | 22 | }, |
21 | 23 | "dependencies": { |
| 24 | + "@testing-library/jest-dom": "^5", |
| 25 | + "@testing-library/react": "^12", |
22 | 26 | "@visual-framework/embl-grid": "2.1.2", |
23 | 27 | "@visual-framework/vf-banner": "1.9.0", |
24 | 28 | "@visual-framework/vf-body": "1.2.0", |
|
62 | 66 | "@visual-framework/vf-text": "1.0.2", |
63 | 67 | "@visual-framework/vf-u-fullbleed": "1.2.2", |
64 | 68 | "@visual-framework/vf-utility-classes": "2.0.0", |
| 69 | + "babel-jest": "27.5.1", |
65 | 70 | "gh-pages": "3.2.3", |
66 | 71 | "gulp": "4.0.2", |
67 | 72 | "gulp-autoprefixer": "8.0.0", |
|
76 | 81 | "gulp-stylelint": "13.0.0", |
77 | 82 | "gulp-svgmin": "4.0.1", |
78 | 83 | "gulp-watch": "5.0.1", |
| 84 | + "jest": "27.5.1", |
| 85 | + "jest-environment-jsdom": "27.5.1", |
79 | 86 | "list-stream": "2.0.0", |
80 | 87 | "react": "17.0.2", |
81 | 88 | "react-dom": "17.0.2", |
|
97 | 104 | "last 1 firefox version", |
98 | 105 | "last 1 safari version" |
99 | 106 | ] |
| 107 | + }, |
| 108 | + "devDependencies": { |
| 109 | + "@babel/preset-env": "^7.26.9", |
| 110 | + "@babel/preset-react": "^7.26.3" |
100 | 111 | } |
101 | 112 | } |
0 commit comments