mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 22:55:31 -04:00
fix netlify dev
https://cli.netlify.com/netlify-dev#project-detection [skip ci]
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
# https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlifytoml-dev-block
|
# https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlifytoml-dev-block
|
||||||
[dev]
|
[dev]
|
||||||
|
framework = "#custom"
|
||||||
command = "yarn start --baseURL / --appendPort=false"
|
command = "yarn start --baseURL / --appendPort=false"
|
||||||
port = 1338
|
port = 1338
|
||||||
targetPort = 1337
|
targetPort = 1337
|
||||||
|
@@ -30,7 +30,8 @@
|
|||||||
"lint:md": "markdownlint content/**/*.md content/**/**/*.md",
|
"lint:md": "markdownlint content/**/*.md content/**/**/*.md",
|
||||||
"lint:prettier": "prettier --check .",
|
"lint:prettier": "prettier --check .",
|
||||||
"index": "run-s clean hugo index:**",
|
"index": "run-s clean hugo index:**",
|
||||||
"index:algolia": "npx atomic-algolia"
|
"index:algolia": "npx atomic-algolia",
|
||||||
|
"live": "netlify dev --live"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Reference in New Issue
Block a user