🚧 pkg binary bundle

This commit is contained in:
Flam3rboy 2021-07-08 11:05:12 +02:00
parent 5150f07b57
commit 52ba4982be
2 changed files with 1429 additions and 19 deletions

1429
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,13 +3,27 @@
"version": "1.0.0", "version": "1.0.0",
"description": "This repository contains the HTTP API Server", "description": "This repository contains the HTTP API Server",
"main": "dist/Server.js", "main": "dist/Server.js",
"bin": "dist/start.js",
"types": "dist/Server.d.ts", "types": "dist/Server.d.ts",
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"start": "npm run build && node dist/start", "start": "npm run build && node dist/start",
"build": "tsc -b .", "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": { "repository": {
"type": "git", "type": "git",
@ -29,7 +43,7 @@
}, },
"homepage": "https://github.com/fosscord/fosscord-api#readme", "homepage": "https://github.com/fosscord/fosscord-api#readme",
"dependencies": { "dependencies": {
"@fosscord/server-util": "^1.3.25", "@fosscord/server-util": "^1.3.26",
"@types/jest": "^26.0.22", "@types/jest": "^26.0.22",
"@types/json-schema": "^7.0.7", "@types/json-schema": "^7.0.7",
"ajv": "^8.4.0", "ajv": "^8.4.0",
@ -70,6 +84,7 @@
"@zerollup/ts-transform-paths": "^1.7.18", "@zerollup/ts-transform-paths": "^1.7.18",
"0x": "^4.10.2", "0x": "^4.10.2",
"jest": "^26.6.3", "jest": "^26.6.3",
"pkg": "^5.3.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"ts-node-dev": "^1.1.6", "ts-node-dev": "^1.1.6",
"typescript": "^4.1.2" "typescript": "^4.1.2"