gitignore and vercel.json

This commit is contained in:
Lio Young 2021-04-12 23:33:43 +02:00
parent 7050486807
commit e67d8cf931
No known key found for this signature in database
GPG key ID: 789795A11879E169
4 changed files with 1028 additions and 7 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
.vercel .vercel
node_modules/ node_modules/
.env

1015
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,11 +4,18 @@
"version": "1.0.0", "version": "1.0.0",
"main": "build/index.js", "main": "build/index.js",
"dependencies": { "dependencies": {
"@supabase/supabase-js": "^1.10.0" "@supabase/supabase-js": "^1.10.0",
"express": "^4.17.1",
"helmet": "^4.4.1",
"nanoid": "^3.1.22"
},
"devDependencies": {
"@types/express": "^4.17.11",
"typescript": "^4.2.4"
}, },
"devDependencies": {},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "build": "tsc",
"run": "node build/index.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -1,5 +1,5 @@
{ {
"version": 2, "version": 2,
"builds": [{ "src": "app.js", "use": "@now/node" }], "builds": [{ "src": "build/index.js", "use": "@now/node" }],
"routes": [{ "src": "(.*)", "dest": "app.js" }] "routes": [{ "src": "(.*)", "dest": "build/index.js" }]
} }