Skip to content

Commit 7bd0221

Browse files
authored
[CI] Add script to help update NPM pkgs, and update pkgs (#326)
1 parent 5bd94e4 commit 7bd0221

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Docsy Authors",
99
"license": "Apache-2.0",
1010
"bugs": "https://github.com/google/docsy-example/issues",
11-
"spelling": "cSpell:ignore docsy hugo htmltest precheck postbuild -",
11+
"spelling": "cSpell:ignore docsy hugo htmltest precheck postbuild rtlcss -",
1212
"scripts": {
1313
"_build": "npm run _hugo-dev --",
1414
"_check:links": "echo IMPLEMENTATION PENDING for check-links; echo",
@@ -31,15 +31,19 @@
3131
"serve": "npm run _serve",
3232
"test": "npm run check:links",
3333
"update:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest",
34-
"update:hugo": "npm install --save-dev --save-exact hugo-extended@latest"
34+
"update:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
35+
"update:pkgs": "npx npm-check-updates -u"
3536
},
3637
"devDependencies": {
37-
"autoprefixer": "^10.4.14",
38+
"autoprefixer": "^10.4.20",
3839
"cross-env": "^7.0.3",
39-
"hugo-extended": "0.135.0",
40+
"hugo-extended": "0.136.1",
4041
"postcss-cli": "^11.0.0",
4142
"rtlcss": "^4.3.0"
4243
},
44+
"optionalDependencies": {
45+
"npm-check-updates": "^17.1.4"
46+
},
4347
"private": true,
4448
"prettier": {
4549
"proseWrap": "always",

0 commit comments

Comments
 (0)