Skip to content

Commit

Permalink
feat(c): enable gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 26, 2022
1 parent 0b934aa commit e94b8e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ storage

# Docs
docs
**/docs

# Bundles
**/bundle.js
Expand Down
8 changes: 7 additions & 1 deletion packages/c/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@
],
"exports": "./bundle.js",
"scripts": {
"build": "cp index.js bundle.js",
"build": "cp index.js bundle.js && mkdir -p docs && echo '# docs' $RANDOM > docs/readme.md",
"test": "node ./index.js"
},
"release": {
"buildCmd": "yarn build",
"testCmd": "yarn test",
"ghPages": "docs gh-pages c",
"fetch": true
},
"dependencies": {
"@semrel-extra/zxbr-test-a": "workspace:^",
"@semrel-extra/zxbr-test-d": "workspace:~"
Expand Down

0 comments on commit e94b8e0

Please sign in to comment.