aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/migration/contoso-test/stripe/package.json
blob: 6e8d7a36d5812957f6d48438cbdae34ff71c9a6c (plain) (blame)
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.0.0",
    "@fastify/sensible": "^5.0.0",
    "fastify": "^4.0.0",
    "fastify-cli": "^5.7.0",
    "fastify-plugin": "^4.0.0",
    "fastify-raw-body": "^4.2.0",
    "node-fetch": "^3.3.0",
    "stripe": "^13.7.0"
  },
  "devDependencies": {
    "@types/node": "^18.0.0",
    "@types/tap": "^15.0.5",
    "concurrently": "^7.0.0",
    "fastify-tsconfig": "^1.0.1",
    "tap": "^16.1.0",
    "ts-node": "^10.4.0",
    "typescript": "^4.5.4"
  }
}