pkg
Showing
| ... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
| "main": "dist/index.js", | "main": "dist/index.js", | ||
| "scripts": { | "scripts": { | ||
| "build": "tsc && rm -rf ./dist/plugin && cp -rf ./plugin/dist ./dist/plugin", | "build": "tsc && rm -rf ./dist/plugin && cp -rf ./plugin/dist ./dist/plugin", | ||
| "start": "node dist/index.js" | "start": "node dist/index.js", | ||
| "pack": "mkdir output ; pkg --out-path output ." | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -14,6 +15,13 @@ | ... | @@ -14,6 +15,13 @@ |
| "keywords": [ | "keywords": [ | ||
| "cqhttp" | "cqhttp" | ||
| ], | ], | ||
| "bin": "dist/index.js", | |||
| "pkg": { | |||
| "scripts": [ | |||
| "dist/**/*.js" | |||
| ], | |||
| "assets": [] | |||
| }, | |||
| "author": "Nanahira", | "author": "Nanahira", | ||
| "license": "MIT", | "license": "MIT", | ||
| "dependencies": { | "dependencies": { | ||
| ... | ... |
Please register or sign in to comment