|
6 | 6 | "repository": "https://github.com/JSREI/userscript-template.git",
|
7 | 7 | "namespace": "https://github.com/JSREI/userscript-template.git",
|
8 | 8 | "document": "https://github.com/JSREI/userscript-template.git",
|
| 9 | + "homepage": "https://jsrei.github.io/typescript-userscript-template", |
9 | 10 | "scripts": {
|
10 |
| - "build": "webpack --config webpack.prod.js", |
11 |
| - "watch": "webpack --watch --config webpack.dev.js", |
12 |
| - "dev": "webpack --watch --config webpack.dev.js", |
| 11 | + "start": "react-scripts start", |
| 12 | + "build": "react-scripts build", |
| 13 | + "test": "react-scripts test", |
| 14 | + "eject": "react-scripts eject", |
13 | 15 | "gen-dev-header": "node scripts/generate-dev-header.js"
|
14 | 16 | },
|
15 | 17 | "author": "CC11001100 <[email protected]>",
|
16 | 18 | "license": "MIT",
|
| 19 | + "dependencies": { |
| 20 | + "@types/react": "^18.2.48", |
| 21 | + "@types/react-dom": "^18.2.18", |
| 22 | + "@types/react-router-dom": "^5.3.3", |
| 23 | + "@types/styled-components": "^5.1.34", |
| 24 | + "react": "^18.2.0", |
| 25 | + "react-dom": "^18.2.0", |
| 26 | + "react-router-dom": "^7.6.0", |
| 27 | + "react-scripts": "^5.0.1", |
| 28 | + "styled-components": "^6.1.8" |
| 29 | + }, |
17 | 30 | "devDependencies": {
|
18 | 31 | "@types/node": "^22.13.1",
|
19 | 32 | "@types/tampermonkey": "^5.0.4",
|
|
24 | 37 | "webpack-cli": "^5.1.4",
|
25 | 38 | "webpack-merge": "^5.9.0"
|
26 | 39 | },
|
27 |
| - "dependencies": { |
28 |
| - "@types/react-router-dom": "^5.3.3", |
29 |
| - "react-router-dom": "^7.6.0" |
| 40 | + "browserslist": { |
| 41 | + "production": [ |
| 42 | + ">0.2%", |
| 43 | + "not dead", |
| 44 | + "not op_mini all" |
| 45 | + ], |
| 46 | + "development": [ |
| 47 | + "last 1 chrome version", |
| 48 | + "last 1 firefox version", |
| 49 | + "last 1 safari version" |
| 50 | + ] |
30 | 51 | }
|
31 | 52 | }
|
0 commit comments