Skip to content

Commit 1e17ee3

Browse files
committed
chore: add deploy-docs script [skip ci]
1 parent 5d51b31 commit 1e17ee3

File tree

3 files changed

+126
-1
lines changed

3 files changed

+126
-1
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"type": "git",
1717
"url": "https://github.com/zeromq/zeromq.js.git"
1818
},
19+
"homepage": "http://zeromq.github.io/zeromq.js/",
1920
"dependencies": {
2021
"@aminya/node-gyp-build": "4.5.0-aminya.4",
2122
"cross-env": "^7.0.3",
@@ -40,6 +41,7 @@
4041
"eslint-config-atomic": "^1.18.1",
4142
"eslint-plugin-prettier": "^4.2.1",
4243
"fs-extra": "^10.1.0",
44+
"gh-pages": "^4.0.0",
4345
"minify-all-cli": "^1.0.13",
4446
"mocha": "^10.1.0",
4547
"node-gyp": "^9.3.0",
@@ -83,6 +85,7 @@
8385
"build.script": "tsc -p ./script/tsconfig.json",
8486
"build.js": "run-p build.script build.library",
8587
"build.doc": "typedoc --options ./typedoc.json --tsconfig ./tsconfig.docs.json && minify-all -s docs-raw -d docs --jsCompressor terser",
88+
"deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"",
8689
"prebuild": "run-s build.js && node ./script/prebuild.js",
8790
"build.native": "node-gyp configure --release && node-gyp build --release",
8891
"build.native.debug": "cross-env CMAKE_BUILD_TYPE=Debug node-gyp configure --debug && cross-env CMAKE_BUILD_TYPE=Debug node-gyp build --debug",

pnpm-lock.yaml

Lines changed: 122 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"src/errors.ts",
1818
"src/util.ts"
1919
],
20+
"cleanOutputDir": true,
2021
"pretty": false,
2122
"githubPages": true
2223
}

0 commit comments

Comments
 (0)