-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 1.73 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
41
42
{
"name": "vulcan-express",
"version": "0.7.2-alpha.8",
"description": "Vulcan Express",
"main": "./dist/app.mjs",
"private": true,
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./dist/app.js",
"dev": "NODE_ENV=development nodemon",
"dev:esbuild": "node -r esbuild-register ./src/app.ts # Not working yet",
"transpile": "tsc # Beware, this won't resolve local dependencies (missing .js)",
"build:tsup": "tsup-node",
"build": "yarn run build:tsup",
"//build:vercel": "See https://vercel.com/guides/using-express-with-vercel#standalone-express",
"build:vercel": "yarn run build && mkdir -p api && cp dist/app.js api/index.js",
"mongo": "yarn run start:mogno",
"//start:mongo": "### Will start or create & start the image + store data locally in .mongo folder + remove the container when stopped.",
"start:mongo": "docker run --rm -p 27017:27017 -v \"$(pwd)/.mongo:/data/db\" --label vulcan-mongodb mongo:4.0.4 ",
"//start:mongo:windows": "### See https://stackoverflow.com/questions/46604827/pwd-in-npm-script/71214387",
"start:mongo:windows": "docker run --rm -p 27017:27017 -v \"%cd%\\.mongo:/data/db\" --label vulcan-mongodb mongo:4.0.4"
},
"author": "Eric Burel (LBKE)",
"license": "MIT",
"devDependencies": {
"nodemon": "^2.0.15",
"tsup": "^6.0.1",
"typescript": "^4.6.2"
},
"dependencies": {
"@graphql-tools/schema": "^8.3.2",
"@vulcanjs/graphql": "^0.7.2-alpha.8",
"@vulcanjs/mongo": "^0.7.2-alpha.8",
"@vulcanjs/mongo-apollo": "^0.7.2-alpha.8",
"apollo-server": "3.9",
"apollo-server-express": "3.9",
"express": "^4.17.3",
"mongodb-memory-server": "^8.9.1",
"mongoose": "^6.2.5"
}
}