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 d55c8ea commit bf1eae6
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 @@ -4,9 +4,7 @@
"build:production": "cd userguide && npm run build:production",
"build": "cd userguide && npm run build",
"install": "cd userguide && npm install",
"serve": "cd userguide && npm run serve",
"submodule:get": "git submodule update --init --recursive --depth 1",
"submodule:update": "git submodule update --remote --recursive --depth 1"
"serve": "cd userguide && npm run 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 @@ -5,14 +5,7 @@
"build:preview": "hugo --cleanDestinationDir -e dev -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\" --themesDir ../..",
"build:production": "hugo --cleanDestinationDir --minify --themesDir ../..",
"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 bf1eae6

Please sign in to comment.