show dist

This commit is contained in:
AlfandiMario
2024-11-20 14:16:13 +07:00
parent 962059f32d
commit 557cac861d
4 changed files with 13 additions and 5 deletions

1
.gitignore vendored
View File

@@ -2,5 +2,4 @@ build
node_modules
config-meshbio.json
xbuild
dist
xtmp

View File

@@ -35,5 +35,5 @@ npm run start
Run Script
```
node .\dist\one-result-gw.js
node .\dist\gw-wa.js
```

9
dist/gw-wa.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -5,8 +5,8 @@
"main": "index.js",
"scripts": {
"build": "rimraf build/ && prettier --write source/ && tsc",
"compile": "cross-env NODE_OPTIONS=--openssl-legacy-provider ncc build build/server.js -m -o dist && move dist\\index.js dist\\one-point-member-gw.js",
"start": "node ./dist/one-point-member-gw.js",
"compile": "cross-env NODE_OPTIONS=--openssl-legacy-provider ncc build build/server.js -m -o dist && move dist\\index.js dist\\gw-wa.js",
"start": "node ./dist/gw-wa.js",
"bcs": "rimraf build/ && prettier --write source/ && tsc && cross-env NODE_OPTIONS=--openssl-legacy-provider ncc build build/server.js -m -o dist && move dist\\index.js dist\\one-point-member-gw.js && node ./dist/one-point-member-gw.js"
},
"keywords": [],
@@ -30,4 +30,4 @@
"moment-timezone": "^0.5.34",
"node-cron": "^3.0.0"
}
}
}