|
1 | 1 | { |
2 | 2 | "name": "safe-airdrop", |
3 | | - "version": "2.2.0", |
| 3 | + "version": "2.3.0", |
4 | 4 | "license": "MIT", |
5 | 5 | "private": true, |
6 | 6 | "scripts": { |
7 | | - "start": "react-app-rewired start", |
8 | | - "build": "react-app-rewired build", |
9 | | - "test": "react-app-rewired test --watchAll=false --verbose", |
| 7 | + "start": "craco start", |
| 8 | + "build": "craco build", |
| 9 | + "test": "craco test --watchAll=false", |
10 | 10 | "lint": "eslint --max-warnings 0 .", |
| 11 | + "lint:fix": "eslint --fix .", |
11 | 12 | "coverage": "yarn test --coverage", |
12 | | - "eject": "react-scripts eject", |
| 13 | + "eject": "craco eject", |
13 | 14 | "fmt": "prettier --check '**/*.ts'", |
14 | 15 | "fmt:write": "prettier --write '**/*.ts'", |
15 | 16 | "prepare": "husky install", |
16 | 17 | "generate-types": "typechain --target=ethers-v5 --out-dir src/contracts './node_modules/@openzeppelin/contracts/build/contracts/ERC20.json' './customabis/ERC721.json' './node_modules/@openzeppelin/contracts/build/contracts/ERC1155.json' './node_modules/@openzeppelin/contracts/build/contracts/ERC165.json'", |
17 | | - "postinstall": "yarn generate-types" |
| 18 | + "postinstall": "yarn generate-types", |
| 19 | + "serve": "npx -y serve build -p 3001" |
18 | 20 | }, |
19 | 21 | "dependencies": { |
20 | 22 | "@emotion/cache": "^11.10.1", |
|
38 | 40 | "lodash.debounce": "^4.0.8", |
39 | 41 | "react": "^17.0.2", |
40 | 42 | "react-ace": "^10.1.0", |
41 | | - "react-app-rewired": "^2.2.1", |
42 | 43 | "react-csv-reader": "^4.0.0", |
43 | 44 | "react-dom": "^17.0.2", |
44 | 45 | "react-dropzone": "^14.2.3", |
|
51 | 52 | "typescript": "~5.0.4" |
52 | 53 | }, |
53 | 54 | "devDependencies": { |
| 55 | + "@craco/craco": "^7.0.0", |
54 | 56 | "@simbathesailor/use-what-changed": "^2.0.0", |
55 | 57 | "@svgr/webpack": "^8.0.1", |
56 | 58 | "@testing-library/react": "^12.1.3", |
|
71 | 73 | "eslint-plugin-react": "^7.32.2", |
72 | 74 | "eslint-plugin-react-hooks": "^4.6.0", |
73 | 75 | "husky": "^8.0.3", |
| 76 | + "node-polyfill-webpack-plugin": "^2.0.1", |
74 | 77 | "postcss-normalize": "^10.0.1", |
75 | 78 | "prettier": "^2.8.4", |
76 | 79 | "pretty-quick": "^3.1.3", |
|
80 | 83 | "browserslist": { |
81 | 84 | "production": [ |
82 | 85 | ">0.2%", |
| 86 | + "not ie <= 99", |
| 87 | + "not android <= 4.4.4", |
83 | 88 | "not dead", |
84 | 89 | "not op_mini all" |
85 | 90 | ], |
|
0 commit comments