Skip to content

Commit 922d82e

Browse files
committed
NPM scripts: drop submodule scripts
1 parent 0b3a735 commit 922d82e

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"build:preview": "npm run _docs build:preview",
66
"build:production": "npm run _docs build:production",
77
"build": "npm run _docs build",
8-
"serve": "npm run _docs serve",
9-
"submodule:get": "git submodule update --init --recursive --depth 1",
10-
"submodule:update": "git submodule update --remote --recursive --depth 1"
8+
"serve": "npm run _docs serve"
119
},
1210
"devDependencies": {
1311
"@fortawesome/fontawesome-free": "^5.15.4",

userguide/package.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@
77
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
88
"build:production": "npm run _hugo -- --minify",
99
"build": "npm run _build",
10-
"prebuild:preview": "npm run submodule:get",
11-
"prebuild:production": "npm run submodule:get",
12-
"prebuild": "npm run submodule:get",
13-
"preinstall": "npm run submodule:get",
14-
"preserve": "npm run submodule:get",
15-
"serve": "npm run _serve",
16-
"submodule:get": "cd .. && npm run submodule:get",
17-
"submodule:update": "cd .. && npm run submodule:update"
10+
"serve": "npm run _serve"
1811
},
1912
"devDependencies": {
2013
"autoprefixer": "^9.5.0",

0 commit comments

Comments
 (0)