mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-05 14:00:41 -05:00
* chore: compile TS into /dist Having the output co-located with the source meant that the js would be imported by default. Given that we don't recompile on source changes, this means the server got 'stuck' at the point of compilation and would only register changes on build. Also, compiling to a dist directory should make it easier to build when we want to deploy. That said, the motivation is mostly DX. * fix: put schema.prisma in the default location
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"author": "freeCodeCamp <team@freecodecamp.org>",
|
|
"bugs": {
|
|
"url": "https://github.com/freeCodeCamp/freeCodeCamp/issues"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^8.3.0",
|
|
"@fastify/middie": "8.1",
|
|
"@fastify/session": "^10.1.1",
|
|
"@fastify/swagger": "^8.3.1",
|
|
"@fastify/swagger-ui": "^1.5.0",
|
|
"@prisma/client": "4.11.0",
|
|
"@sinclair/typebox": "0.25.24",
|
|
"connect-mongo": "4.6.0",
|
|
"fastify": "4.15.0",
|
|
"fastify-auth0-verify": "^1.0.0",
|
|
"fastify-plugin": "^4.3.0",
|
|
"nodemon": "2.0.22"
|
|
},
|
|
"description": "The freeCodeCamp.org open-source codebase and curriculum",
|
|
"devDependencies": {
|
|
"@fastify/type-provider-typebox": "2.4.0",
|
|
"@types/express-session": "1.17.7",
|
|
"@types/supertest": "2.0.12",
|
|
"jest": "29.5.0",
|
|
"pino-pretty": "10.0.0",
|
|
"prisma": "4.11.0",
|
|
"supertest": "6.3.3",
|
|
"ts-jest": "29.0.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18",
|
|
"npm": ">=8"
|
|
},
|
|
"homepage": "https://github.com/freeCodeCamp/freeCodeCamp#readme",
|
|
"license": "BSD-3-Clause",
|
|
"main": "none",
|
|
"name": "@freecodecamp/api",
|
|
"nodemonConfig": {
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"ignore": [
|
|
"**/*.js"
|
|
]
|
|
},
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/freeCodeCamp/freeCodeCamp.git"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"clean": "rm -rf dist",
|
|
"develop": "nodemon src/server.ts",
|
|
"start": "NODE_ENV=production node dist/server.js",
|
|
"test": "jest --force-exit",
|
|
"prisma": "MONGOHQ_URL=mongodb://localhost:27017/freecodecamp?directConnection=true prisma",
|
|
"postinstall": "prisma generate"
|
|
},
|
|
"version": "0.0.1"
|
|
}
|