Skip to content

Common package for building stages in hackforplay

License

Notifications You must be signed in to change notification settings

hackforplay/common

Repository files navigation

@hackforplay/monorepo

Monorepo for HackforPlay packages

semantic-release npm latest version

Packages

Development

  • npm install - Install dependencies for all packages
  • npm run build - Build all packages
  • npm run test - Test all packages

Working on a specific package

  • cd packages/game - Navigate to the package directory
  • npm start - Start the development server for the package
  • Then use library from http://localhost:8080/register.js

Adding a new package

  1. Create a new directory in the packages directory
  2. Initialize the package with npm init
  3. Add the necessary configuration files (tsconfig.json, webpack.config.js, etc.)
  4. Add the package to the workspace by updating the root package.json

Deploy

or manual deploy

  • npx np
  • Then start interactive shell via np