Skip to content

Commit

Permalink
Restore get:submodule script (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Mar 21, 2022
1 parent 8602479 commit 122ffd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"version": "0.2.0-dev",
"repository": "github:google/docsy",
"scripts": {
"_docs": "cd userguide && npm run",
"build:preview": "npm run _docs build:preview",
"build:production": "npm run _docs build:production",
"build": "npm run _docs build",
"docs-install": "cd userguide && npm install",
"serve": "npm run _docs serve"
"_cd:docs": "cd userguide &&",
"build:preview": "npm run cd:docs build:preview",
"build:production": "npm run cd:docs build:production",
"build": "npm run cd:docs build",
"cd:docs": "npm run _cd:docs -- npm run",
"docs-install": "npm run _cd:docs -- npm install",
"get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
"serve": "npm run cd:docs serve"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
Expand Down
2 changes: 2 additions & 0 deletions userguide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "npm run _hugo -- --minify",
"build": "npm run _build",
"clean": "rm -Rf public",
"make:public": "git init -b main public",
"prepare": "cd .. && npm install",
"serve": "npm run _serve"
},
Expand Down

0 comments on commit 122ffd2

Please sign in to comment.