forked from Azure-Samples/contoso-real-estate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.3 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "stripe-api",
"version": "1.0.0",
"description": "Stripe service",
"private": true,
"type": "module",
"main": "app.ts",
"directories": {
"test": "test"
},
"scripts": {
"test": "npm run build:ts && tsc -p test/tsconfig.json && tap --ts \"test-dist/test/**/*.test.js\"",
"start": "fastify start -l info dist/app.js -a 0.0.0.0 -p 4242",
"build:ts": "tsc",
"watch:ts": "tsc -w",
"dev": "npm run build:ts && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch:ts\" \"npm:dev:start\"",
"dev:start": "fastify start --ignore-watch=.ts$ -w -l info -p 4242 -P dist/app.js",
"docker:build": "docker build --tag stripe --file ./Dockerfile ../..",
"docker:run": "docker run --rm --publish 4242:4242 --env-file ../../.env.docker stripe"
},
"dependencies": {
"@fastify/autoload": "^5.8.0",
"@fastify/sensible": "^5.5.0",
"fastify": "^4.24.3",
"fastify-cli": "^5.9.0",
"fastify-plugin": "^4.5.1",
"fastify-raw-body": "^4.3.0",
"fastify-tsconfig": "^2.0.0",
"node-fetch": "^3.3.0",
"stripe": "^14.7.0"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/tap": "^15.0.5",
"concurrently": "^7.0.0",
"tap": "^16.1.0",
"ts-node": "^10.4.0",
"typescript": "^5.3.2"
}
}