npm.io
0.47.20 • Published 9 months ago

@hackforplay/common

Licence
MIT
Version
0.47.20
Deps
6
Size
3.6 MB
Vulns
0
Weekly
0
Stars
5

@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

Keywords