forked from restatedev/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
24 lines (24 loc) · 810 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
{
"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"
},
"dependencies": {
"@restatedev/restate-sdk": "^1.1.2"
},
"devDependencies": {
"@types/node": "^20.14.2",
"esbuild": "^0.21.5",
"ts-node-dev": "^2.0.0",
"typescript": "^5.4.5"
}
}