|
15 | 15 | "@atlaskit/modal-dialog": "^4.0.3",
|
16 | 16 | "@atlaskit/spinner": "^5.0.0",
|
17 | 17 | "@atlaskit/tooltip": "^9.1.4",
|
18 |
| - "@babel/cli": "^7.0.0", |
19 | 18 | "@babel/core": "^7.2.2",
|
20 | 19 | "@babel/plugin-proposal-class-properties": "^7.2.3",
|
| 20 | + "@babel/plugin-transform-runtime": "^7.8.3", |
21 | 21 | "@babel/polyfill": "^7.0.0",
|
22 | 22 | "@babel/preset-env": "^7.0.0",
|
23 | 23 | "@babel/preset-flow": "^7.0.0",
|
|
28 | 28 | "@emotion/cache": "^10.0.9",
|
29 | 29 | "@emotion/core": "^10.0.9",
|
30 | 30 | "@emotion/css": "^10.0.9",
|
| 31 | + "@preconstruct/cli": "^1.0.0", |
| 32 | + "@testing-library/dom": "7.0.4", |
| 33 | + "@testing-library/jest-dom": "5.1.1", |
| 34 | + "@testing-library/react": "10.0.1", |
| 35 | + "@testing-library/user-event": "^10.0.0", |
31 | 36 | "babel-core": "^7.0.0-bridge.0",
|
32 | 37 | "babel-eslint": "^9.0.0",
|
33 | 38 | "babel-jest": "^23.6.0",
|
34 | 39 | "babel-loader": "^8.0.0",
|
35 | 40 | "babel-plugin-emotion": "^10.0.9",
|
36 | 41 | "bolt-check": "^0.3.0",
|
37 |
| - "bundlesize": "^0.17.0", |
38 | 42 | "chroma-js": "^1.3.6",
|
39 | 43 | "chrono-node": "^1.3.5",
|
40 | 44 | "codesandboxer": "^0.1.1",
|
|
55 | 59 | "flow-bin": "^0.91.0",
|
56 | 60 | "gh-pages": "^1.1.0",
|
57 | 61 | "html-webpack-plugin": "^3.2.0",
|
58 |
| - "jest": "^24.8.0", |
| 62 | + "jest": "^25.1.0", |
59 | 63 | "jest-emotion": "^10.0.11",
|
60 | 64 | "jest-in-case": "^1.0.2",
|
61 | 65 | "memoize-one": "^5.0.0",
|
62 | 66 | "moment": "^2.20.1",
|
63 | 67 | "node-fetch": "^2.5.0",
|
64 |
| - "@preconstruct/cli": "^1.0.0", |
65 | 68 | "pretty-proptypes": "^0.5.0",
|
66 | 69 | "prop-types": "^15.6.0",
|
67 | 70 | "raf": "^3.4.0",
|
68 | 71 | "raf-schd": "^2.1.0",
|
69 | 72 | "raw-loader": "^2.0.0",
|
70 |
| - "react": "^16.8.0", |
| 73 | + "react": "^16.13.0", |
71 | 74 | "react-codesandboxer": "^2.0.1",
|
72 |
| - "react-dom": "^16.8.0", |
| 75 | + "react-dom": "^16.13.0", |
73 | 76 | "react-helmet": "^5.2.0",
|
74 | 77 | "react-input-autosize": "^2.2.2",
|
75 | 78 | "react-markings": "^1.3.0",
|
|
96 | 99 | "e2e": "concurrently --kill-others --success=first --names 'SERVER,E2E' 'yarn start --progress=false --no-info' 'yarn test:cypress'",
|
97 | 100 | "test:cypress": "cypress run --spec ./cypress/integration/select_spec.js",
|
98 | 101 | "test:cypress-watch": "node ./node_modules/.bin/cypress open",
|
99 |
| - "precommit": "flow check && lint-staged", |
100 |
| - "postinstall": "preconstruct dev && bolt-check", |
| 102 | + "precommit": "flow check", |
| 103 | + "postinstall": "preconstruct dev", |
101 | 104 | "changeset": "changeset",
|
102 | 105 | "version-packages": "changeset version",
|
103 | 106 | "release": "yarn build && changeset publish"
|
|
121 | 124 | "./node_modules"
|
122 | 125 | ],
|
123 | 126 | "testRegex": "src/*(/(__tests?__/)([^_].*/)*?[^_][^/]*?\\.(test|spec)?\\.(js?))$",
|
124 |
| - "setupFiles": [ |
125 |
| - "./enzymeAdapter.setup.js" |
| 127 | + "setupFilesAfterEnv": [ |
| 128 | + "./test-setup.js" |
126 | 129 | ],
|
127 | 130 | "snapshotSerializers": [
|
128 | 131 | "jest-emotion"
|
|
0 commit comments