Skip to content

Commit

Permalink
[CI] UG NPM script tweaks (#2007)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 16, 2024
1 parent dd6a394 commit 16979af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions userguide/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "docsy-user-guide",
"scripts": {
"_build": "npm run _hugo-dev",
"_build": "npm run _hugo-dev --",
"_check:format": "npx prettier --check .",
"_check:links": "make check-links",
"_hugo": "hugo --cleanDestinationDir --themesDir ../..",
"_hugo-dev": "npm run _hugo -- -e dev -DFE",
"_serve": "npm run _hugo-dev -- --minify serve",
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"",
"build:production": "npm run _hugo -- --minify",
"build": "npm run _build",
"build": "npm run _build --",
"check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
"check:links:all": "HTMLTEST_ARGS= npm run _check:links",
"check:links": "npm run _check:links",
Expand All @@ -23,7 +23,7 @@
"prepare": "cd .. && npm install",
"serve": "npm run _serve",
"test": "npm run check:links",
"update:pkg:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest"
"update:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
Expand Down

0 comments on commit 16979af

Please sign in to comment.