main
json 21 lines 784 Bytes
Raw
1 {
2 "dependencies": {
3 "@babel/plugin-transform-modules-commonjs": "^7.10.4",
4 "@babel/preset-react": "^7.10.4",
5 "jest": "^29.4.1"
6 },
7 "jest": {
8 "setupFilesAfterEnv": [
9 "./setupTests.js"
10 ]
11 },
12 "scripts": {
13 "install-all": "cd react-14 && yarn && cd ../react-15 && yarn && cd ../react-16 && yarn && cd ../react-17 && yarn && cd ..",
14 "lint": "node lint-runtimes.js",
15 "pretest": "yarn install-all && yarn lint",
16 "test-jsxdev-dev": "BABEL_ENV=development NODE_ENV=development jest --env=jsdom",
17 "test-jsx-dev": "BABEL_ENV=production NODE_ENV=development jest --env=jsdom",
18 "test-jsx-prod": "BABEL_ENV=production NODE_ENV=production jest --env=jsdom",
19 "test": "yarn test-jsxdev-dev && yarn test-jsx-dev && yarn test-jsx-prod"
20 }
21 }