kopia lustrzana https://github.com/badgen/badgen.net
Add index page to deployment
rodzic
e623699e6a
commit
cd265d3c53
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
target: 'serverless'
|
||||
}
|
3
now.json
3
now.json
|
@ -4,7 +4,8 @@
|
|||
"v2.badgen.net"
|
||||
],
|
||||
"builds": [
|
||||
{ "src": "endpoints/*.ts", "use": "@now/node" }
|
||||
{ "src": "endpoints/*.ts", "use": "@now/node" },
|
||||
{ "src": "next.config.js", "use": "@now/next" }
|
||||
],
|
||||
"routes": [
|
||||
{ "src": "/(?<name>\\w+)/.*", "dest": "/endpoints/$name.ts" }
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"lint": "standard",
|
||||
"dev": "micro-dev service.js -s -i .next",
|
||||
"dev:web": "next",
|
||||
"now-build": "tsc",
|
||||
"build": "tsc",
|
||||
"pretest": "npm run lint",
|
||||
"test": "tap test/*.js --reporter spec -j12",
|
||||
"start": "node service.js",
|
||||
|
|
Ładowanie…
Reference in New Issue