Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.
/ BITBusConfig Public archive

Campus bus schedule config for BITBus, a WeChat Mini Program

Notifications You must be signed in to change notification settings

phy25/BITBusConfig

Repository files navigation

BITBusConfig

Note: This repository is archived. No more data update will happen or be accepted. For more information and for historial data, visit the lite webapp or WeChat Mini Program 理工校车.

A hopefully small repo as an attempt to modernlize how (the legacy) BITBus WeChat Mini Program's config is maintained.

Built with NodeJS, TypeScript, Jest.

Believe it or not, previously it was a process of handcrafting JSON with some helper JavaScript snippet.

Commands

  • npm run build generate compliant JSON in build folder
  • npm run deploy deploy updated JSON to Tencent Cloud for WeChat Mini Program (BB_TOKEN environment variable required)
  • npm test run test suite of the scripts and snapshot tests
    • npm run test:nosnapshot to only run unit tests
    • npm run test:snapshot to only run snapshot tests

About

Campus bus schedule config for BITBus, a WeChat Mini Program

Topics

Resources

Stars

Watchers

Forks