Add scripts to develop/build gatby w/o global Gatsby install
npm run develop npm run build
This commit is contained in:
parent
fe529b5ee6
commit
7e36a90334
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@
|
||||||
"dev": "gatsby develop",
|
"dev": "gatsby develop",
|
||||||
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
|
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"develop": "gatsby develop",
|
||||||
|
"build": "gatsby build",
|
||||||
"deploy": "gatsby build --prefix-links && gh-pages -d public"
|
"deploy": "gatsby build --prefix-links && gh-pages -d public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue