|  | 
| 1 | 1 | { | 
| 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", | 
|  | 2 | +  "name": "typescript-userscript-template-jsrei", | 
|  | 3 | +  "version": "1.0.0", | 
|  | 4 | +  "description": "A TypeScript template for developing userscripts with modern tooling and modular development experience", | 
|  | 5 | +  "main": "dist/index.js", | 
|  | 6 | +  "repository": { | 
|  | 7 | +    "type": "git", | 
|  | 8 | +    "url": "https://github.com/JSREI/typescript-userscript-template.git" | 
|  | 9 | +  }, | 
|  | 10 | +  "homepage": "https://github.com/JSREI/typescript-userscript-template#readme", | 
|  | 11 | +  "bugs": { | 
|  | 12 | +    "url": "https://github.com/JSREI/typescript-userscript-template/issues" | 
|  | 13 | +  }, | 
| 9 | 14 |   "scripts": { | 
| 10 | 15 |     "build": "webpack --config webpack.prod.js", | 
| 11 | 16 |     "watch": "webpack --watch --config webpack.dev.js", | 
| 12 | 17 |     "dev": "webpack --watch --config webpack.dev.js", | 
| 13 |  | -    "gen-dev-header": "node scripts/generate-dev-header.js" | 
|  | 18 | +    "gen-dev-header": "node scripts/generate-dev-header.js", | 
|  | 19 | +    "prepublishOnly": "npm run build", | 
|  | 20 | +    "prepack": "npm run build", | 
|  | 21 | +    "publish:npm": "node scripts/publish-npm.js", | 
|  | 22 | +    "deploy:pages": "node scripts/deploy-pages.js", | 
|  | 23 | +    "version:patch": "npm version patch", | 
|  | 24 | +    "version:minor": "npm version minor", | 
|  | 25 | +    "version:major": "npm version major" | 
| 14 | 26 |   }, | 
|  | 27 | +  "keywords": [ | 
|  | 28 | +    "userscript", | 
|  | 29 | +    "typescript", | 
|  | 30 | +    "template", | 
|  | 31 | +    "tampermonkey", | 
|  | 32 | +    "greasemonkey", | 
|  | 33 | +    "webpack", | 
|  | 34 | +    "modular-development" | 
|  | 35 | +  ], | 
| 15 | 36 |   "author": "CC11001100 <CC11001100@qq.com>", | 
| 16 | 37 |   "license": "MIT", | 
|  | 38 | +  "files": [ | 
|  | 39 | +    "dist/", | 
|  | 40 | +    "src/", | 
|  | 41 | +    "scripts/", | 
|  | 42 | +    "webpack.*.js", | 
|  | 43 | +    "tsconfig.json", | 
|  | 44 | +    "userscript-headers.js", | 
|  | 45 | +    "README.md", | 
|  | 46 | +    "README_en.md" | 
|  | 47 | +  ], | 
|  | 48 | +  "engines": { | 
|  | 49 | +    "node": ">=14.0.0" | 
|  | 50 | +  }, | 
| 17 | 51 |   "devDependencies": { | 
| 18 | 52 |     "@types/node": "^22.13.1", | 
| 19 | 53 |     "@types/tampermonkey": "^5.0.4", | 
|  | 
0 commit comments