forked from JaimeChavarriaga/gitbook-template-es
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
10 lines (10 loc) · 823 Bytes
/
Copy pathpackage.json
File metadata and controls
10 lines (10 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
{
"scripts": {
"book:prepare": "gitbook install",
"book:watch": "npm run book:prepare && gitbook serve",
"book:build": "npm run book:prepare && del /S /Q _book && gitbook build",
"book:publish": "npm run book:build && cd _book && git init && git commit --allow-empty -m \"Update site [ci skip]\" && git checkout -b gh-pages && git add . && git commit -am \"Update site\" && git push https://github.com/noname/noname.git gh-pages --force",
"book:build-linux": "npm run book:prepare && rm -rf _book && gitbook build",
"book:publish-linux": "npm run book:build-linux && cd _book && git init && git commit --allow-empty -m \"Update site [ci skip]\" && git checkout -b gh-pages && git add . && git commit -am \"Update site\" && git push https://github.com/noname/noname.git gh-pages --force"
}
}