summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json19
1 files changed, 17 insertions, 2 deletions
diff --git a/package.json b/package.json

index 4a9795e6..3f6d8553 100644 --- a/package.json +++ b/package.json
@@ -3,13 +3,27 @@ "version": "1.0.0", "description": "This repository contains the HTTP API Server", "main": "dist/Server.js", + "bin": "dist/start.js", "types": "dist/Server.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watch", "start": "npm run build && node dist/start", "build": "tsc -b .", - "dev": "tsnd --respawn src/start.ts" + "dev": "tsnd --respawn src/start.ts", + "bundle": "pkg package.json" + }, + "pkg": { + "scripts": [ + "dist/**/*.js" + ], + "assets": [ + "locales", + "assets" + ], + "targets": [ + "latest-win-x64" + ] }, "repository": { "type": "git", @@ -29,7 +43,7 @@ }, "homepage": "https://github.com/fosscord/fosscord-api#readme", "dependencies": { - "@fosscord/server-util": "^1.3.25", + "@fosscord/server-util": "^1.3.26", "@types/jest": "^26.0.22", "@types/json-schema": "^7.0.7", "ajv": "^8.4.0", @@ -70,6 +84,7 @@ "@zerollup/ts-transform-paths": "^1.7.18", "0x": "^4.10.2", "jest": "^26.6.3", + "pkg": "^5.3.0", "ts-node": "^9.1.1", "ts-node-dev": "^1.1.6", "typescript": "^4.1.2"