Skip to content

Commit

Permalink
[chore] update multilingual script
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrunlin committed Jan 31, 2024
1 parent e65627f commit eb6e0eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@
"preview": "npm run clean && cd preview/ && parcel --dist-dir=../docs/preview/ --open",
"pack-preview": "rimraf .parcel-cache/ docs/preview/ && cd preview/ && parcel build --public-url=. --dist-dir=../docs/preview/",
"pack-dist": "parcel build source/index.ts",
"pack-docs": "typedoc --readme ReadMe-zh.md && mv docs/index.html ReadMe-zh.html && typedoc source/ && npm run pack-docs-language",
"pack-docs-language": "mv ReadMe-zh.html docs/ && replace './ReadMe-zh.md' './ReadMe-zh.html' docs/index.html",
"pack-docs": "npm run pre-pack-docs-language && typedoc source/ && npm run pack-docs-language",
"pre-pack-docs-language": "for file in ReadMe-*.md; do new_file=\"${file%.md}.html\"; typedoc --readme $file && mv docs/index.html $new_file; done",
"pack-docs-language": "for file in ReadMe-*.html; do new_file=\"${file#ReadMe-}\"; mv $file docs/\"$new_file\"; replace \"./${file%.html}.md\" \"./$new_file\" docs/*.html; done",
"build": "npm run clean && npm run pack-dist && npm run pack-docs && npm run pack-preview",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
Expand Down

1 comment on commit eb6e0eb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for web-cell ready!

✅ Preview
https://web-cell-o3mfcduq6-techquery.vercel.app

Built with commit eb6e0eb.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.