|
54 | 54 | "@emotion/react": "^11.11.0", |
55 | 55 | "@emotion/styled": "^11.11.0", |
56 | 56 | "chakra-react-select": "^4.6.0", |
57 | | - "chakra-ui-steps": "^2.1.0", |
| 57 | + "chakra-ui-steps": "2.0.4", |
58 | 58 | "framer-motion": "^7.0.0", |
59 | 59 | "js-levenshtein": "1.1.6", |
60 | 60 | "lodash": "4.17.21", |
|
70 | 70 | "@babel/preset-react": "7.18.6", |
71 | 71 | "@babel/preset-typescript": "7.21.5", |
72 | 72 | "@emotion/jest": "11.11.0", |
73 | | - "@jest/types": "29.5.0", |
| 73 | + "@jest/types": "27.5.1", |
74 | 74 | "@storybook/addon-essentials": "7.0.14", |
75 | 75 | "@storybook/addon-interactions": "7.0.14", |
76 | 76 | "@storybook/addon-links": "7.0.14", |
|
83 | 83 | "@testing-library/jest-dom": "5.16.5", |
84 | 84 | "@testing-library/react": "14.0.0", |
85 | 85 | "@testing-library/user-event": "14.4.3", |
86 | | - "@types/jest": "29.5.1", |
| 86 | + "@types/jest": "27.4.1", |
87 | 87 | "@types/js-levenshtein": "1.1.1", |
88 | 88 | "@types/react": "18.2.6", |
89 | 89 | "@types/react-dom": "18.2.4", |
90 | 90 | "@types/styled-system": "5.1.16", |
91 | | - "@types/uuid": "^9.0.1", |
| 91 | + "@types/uuid": "9.0.1", |
92 | 92 | "@typescript-eslint/eslint-plugin": "5.59.7", |
93 | 93 | "@typescript-eslint/parser": "5.59.7", |
94 | 94 | "babel-loader": "9.1.2", |
|
97 | 97 | "eslint-plugin-prettier": "4.2.1", |
98 | 98 | "eslint-plugin-react": "7.32.2", |
99 | 99 | "eslint-plugin-react-hooks": "4.6.0", |
100 | | - "jest": "29.5.0", |
101 | | - "jest-watch-typeahead": "2.2.2", |
| 100 | + "jest": "27.5.1", |
| 101 | + "jest-watch-typeahead": "1.0.0", |
102 | 102 | "lint-staged": "13.2.2", |
103 | 103 | "prettier": "2.8.8", |
104 | 104 | "prop-types": "15.8.1", |
105 | 105 | "react": "18.2.0", |
106 | 106 | "react-dom": "18.2.0", |
107 | 107 | "react-select-event": "5.5.1", |
108 | | - "rollup": "3.23.0", |
109 | | - "rollup-plugin-typescript2": "0.34.1", |
| 108 | + "rollup": "2.70.1", |
| 109 | + "rollup-plugin-typescript2": "0.31.2", |
110 | 110 | "storybook": "7.0.14", |
111 | 111 | "ts-essentials": "9.3.2", |
112 | | - "ts-jest": "29.1.0", |
| 112 | + "ts-jest": "27.1.4", |
113 | 113 | "ttypescript": "1.5.15", |
114 | | - "typescript": "5.0.4", |
115 | | - "typescript-transform-paths": "^3.4.6" |
| 114 | + "typescript": "4.9.5", |
| 115 | + "typescript-transform-paths": "3.4.6" |
| 116 | + }, |
| 117 | + "overrides": { |
| 118 | + "nwsapi": "2.2.2" |
116 | 119 | }, |
117 | 120 | "lint-staged": { |
118 | 121 | "*.{ts,tsx}": "eslint", |
|
131 | 134 | "ts", |
132 | 135 | "tsx", |
133 | 136 | "js", |
134 | | - "jsx" |
| 137 | + "jsx", |
| 138 | + "mjs" |
135 | 139 | ], |
136 | 140 | "transform": { |
137 | | - "^.+\\.(ts|tsx)?$": "ts-jest/dist" |
| 141 | + "^.+\\.(ts|tsx)?$": "ts-jest/dist", |
| 142 | + "^.+\\.mjs$": "ts-jest/dist" |
138 | 143 | }, |
139 | 144 | "moduleNameMapper": { |
140 | 145 | "~/(.*)": "<rootDir>/src/$1" |
141 | 146 | }, |
142 | 147 | "transformIgnorePatterns": [ |
143 | | - "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" |
| 148 | + "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$" |
144 | 149 | ], |
145 | 150 | "setupFiles": [ |
146 | 151 | "./src/tests/setup.ts" |
147 | 152 | ], |
148 | 153 | "setupFilesAfterEnv": [ |
149 | 154 | "@testing-library/jest-dom/extend-expect" |
150 | 155 | ], |
| 156 | + "globals": { |
| 157 | + "ts-jest": { |
| 158 | + "tsconfig": "tsconfig.json" |
| 159 | + } |
| 160 | + }, |
151 | 161 | "watchPlugins": [ |
152 | 162 | "jest-watch-typeahead/filename", |
153 | 163 | "jest-watch-typeahead/testname" |
154 | | - ], |
155 | | - "browserslist": { |
156 | | - "production": [ |
157 | | - ">0.2%", |
158 | | - "not dead", |
159 | | - "not op_mini all" |
160 | | - ], |
161 | | - "development": [ |
162 | | - ">0.2%", |
163 | | - "not dead", |
164 | | - "not op_mini all" |
165 | | - ] |
166 | | - } |
| 164 | + ] |
167 | 165 | } |
168 | 166 | } |
0 commit comments