Skip to content

Commit

Permalink
NPM scripts: drop submodule scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 14, 2022
1 parent 0b3a735 commit 922d82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"build:preview": "npm run _docs build:preview",
"build:production": "npm run _docs build:production",
"build": "npm run _docs build",
"serve": "npm run _docs serve",
"submodule:get": "git submodule update --init --recursive --depth 1",
"submodule:update": "git submodule update --remote --recursive --depth 1"
"serve": "npm run _docs serve"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
Expand Down
9 changes: 1 addition & 8 deletions userguide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "npm run _hugo -- --minify",
"build": "npm run _build",
"prebuild:preview": "npm run submodule:get",
"prebuild:production": "npm run submodule:get",
"prebuild": "npm run submodule:get",
"preinstall": "npm run submodule:get",
"preserve": "npm run submodule:get",
"serve": "npm run _serve",
"submodule:get": "cd .. && npm run submodule:get",
"submodule:update": "cd .. && npm run submodule:update"
"serve": "npm run _serve"
},
"devDependencies": {
"autoprefixer": "^9.5.0",
Expand Down

0 comments on commit 922d82e

Please sign in to comment.