Commit f69b6177 authored by nanahira's avatar nanahira

pkg

parent c829040a
Pipeline #5299 canceled with stages
...@@ -109,3 +109,4 @@ dist ...@@ -109,3 +109,4 @@ dist
/config.yaml /config.yaml
.idea .idea
/plugin /plugin
/output
...@@ -12,3 +12,4 @@ Dockerfile ...@@ -12,3 +12,4 @@ Dockerfile
webpack.config.js webpack.config.js
tsconfig.json tsconfig.json
/plugin /plugin
/output
...@@ -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": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment