Adding package and config
This commit is contained in:
15
config/default.json
Normal file
15
config/default.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"server": {
|
||||
"port": 3000,
|
||||
"host": "0.0.0.0"
|
||||
},
|
||||
"proxy": {
|
||||
"pathPrefix": "/ProxyScript/run/",
|
||||
"workspaceId": "67bca862210071627d32ef12",
|
||||
"branch": "current",
|
||||
"routeName": "myProxy"
|
||||
},
|
||||
"logging": {
|
||||
"level": "debug"
|
||||
}
|
||||
}
|
||||
30
package.json
Normal file
30
package.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "my proxy",
|
||||
"version": "1.0.0",
|
||||
"description": "Proxy Script",
|
||||
"type": "module",
|
||||
"main": "src/server.js",
|
||||
"scripts": {
|
||||
"dev": "node --watch src/server.js",
|
||||
"start": "node src/server.js | jq -R 'fromjson? | select(. != null)'",
|
||||
"test": "node --test tests/**/*.test.js",
|
||||
"test:unit": "node --test tests/unit/**/*.test.js",
|
||||
"test:integration": "node --test tests/integration/**/*.test.js",
|
||||
"test:contract": "node --test tests/contract/**/*.test.js",
|
||||
"clean": "rm -rvf dist/* & rm -rvf **/*.old & rm -rvf **/*.{backup,backup-new,backup-old,backup-regenerated} & rm -rvf **/*-old.js"
|
||||
},
|
||||
"keywords": [
|
||||
"proxy",
|
||||
],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.13.6",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"uuid": "^13.0.0",
|
||||
"xmlbuilder2": "^4.0.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user