|
1 | 1 | {
|
2 |
| - "homepage": "https://jsrei.github.io/typescript-userscript-template", |
| 2 | + "name": "userscript-foo", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "this is userscript's description", |
| 5 | + "main": "index.js", |
| 6 | + "repository": "https://github.com/JSREI/userscript-template.git", |
| 7 | + "namespace": "https://github.com/JSREI/userscript-template.git", |
| 8 | + "document": "https://github.com/JSREI/userscript-template.git", |
3 | 9 | "scripts": {
|
4 |
| - "start": "react-scripts start", |
5 |
| - "build": "react-scripts build", |
6 |
| - "test": "react-scripts test", |
7 |
| - "eject": "react-scripts eject" |
8 |
| - }, |
9 |
| - "dependencies": { |
10 |
| - "@types/react": "^18.2.48", |
11 |
| - "@types/react-dom": "^18.2.18", |
12 |
| - "@types/react-syntax-highlighter": "^15.5.13", |
13 |
| - "@types/styled-components": "^5.1.34", |
14 |
| - "axios": "^1.9.0", |
15 |
| - "prismjs": "^1.30.0", |
16 |
| - "react": "^18.2.0", |
17 |
| - "react-dom": "^18.2.0", |
18 |
| - "react-scripts": "^5.0.1", |
19 |
| - "react-syntax-highlighter": "^15.6.1", |
20 |
| - "reactflow": "^11.11.4", |
21 |
| - "styled-components": "^6.1.18", |
22 |
| - "web-vitals": "^5.0.1", |
23 |
| - "yet-another-react-lightbox": "^3.23.2" |
24 |
| - }, |
25 |
| - "browserslist": { |
26 |
| - "production": [ |
27 |
| - ">0.2%", |
28 |
| - "not dead", |
29 |
| - "not op_mini all" |
30 |
| - ], |
31 |
| - "development": [ |
32 |
| - "last 1 chrome version", |
33 |
| - "last 1 firefox version", |
34 |
| - "last 1 safari version" |
35 |
| - ] |
| 10 | + "build": "webpack --config webpack.prod.js", |
| 11 | + "watch": "webpack --watch --config webpack.dev.js", |
| 12 | + "dev": "webpack --watch --config webpack.dev.js", |
| 13 | + "gen-dev-header": "node scripts/generate-dev-header.js" |
36 | 14 | },
|
| 15 | + "author": "CC11001100 <[email protected]>", |
| 16 | + "license": "MIT", |
37 | 17 | "devDependencies": {
|
38 |
| - "@types/prismjs": "^1.26.5" |
| 18 | + "@types/node": "^22.13.1", |
| 19 | + "@types/tampermonkey": "^5.0.4", |
| 20 | + "@types/webpack": "^5.28.5", |
| 21 | + "ts-loader": "^9.5.2", |
| 22 | + "typescript": "^5.7.3", |
| 23 | + "webpack": "^5.88.2", |
| 24 | + "webpack-cli": "^5.1.4", |
| 25 | + "webpack-merge": "^5.9.0" |
| 26 | + }, |
| 27 | + "dependencies": { |
| 28 | + "@types/react-router-dom": "^5.3.3", |
| 29 | + "react-router-dom": "^7.6.0" |
39 | 30 | }
|
40 | 31 | }
|
0 commit comments