-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1009 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "restate-ts-template",
"version": "0.0.1",
"description": "Template for JavaScript/TypeScript services running with Restate (https://github.com/restatedev/) ",
"main": "app.js",
"type": "commonjs",
"scripts": {
"build": "tsc --noEmitOnError",
"prebundle": "rm -rf dist",
"bundle": "esbuild src/app.ts --bundle --minify --sourcemap --platform=node --target=es2020 --outfile=dist/index.js",
"postbundle": "cd dist && zip -r index.zip index.js*",
"app": "node ./dist/app.js",
"app-dev": "ts-node-dev --watch ./src --respawn --transpile-only ./src/app.ts & restate dp reg localhost:9080",
"start-server": "restate-server",
"pm2-start-server": "pm2 start npm -- start-server"
},
"dependencies": {
"@restatedev/restate-sdk": "^0.8.1"
},
"devDependencies": {
"esbuild": "^0.18.12",
"ts-node-dev": "^1.1.1",
"typescript": "^5.0.2",
"pm2": "^4.5.0",
"@restatedev/restate-server": "^0.8.1",
"@restatedev/restate": "^0.8.1"
}
}