mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* work so far * stuff * a * basics work * stuff * yoo * build lockfile * correct * f * a * install fixture havent tested * i made it worse * lol * be more reasonable * make the test easier to pass because bun install doesn't handle obscure lockfile edge cases :/ * a * works now * ok * a * a * cool * nah * fix stuff * l * a * idfk * LAME * prettier errors * does this fix tests? * Add more safety checks to Integrity * Add another check * More careful lifetime handling * Fix linux debugger issue * a * tmp dir and snapshot test --------- Co-authored-by: Jarred SUmner <jarred@jarredsumner.com>
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|