UNPKG

@beetpx/create-beetpx-game

Version:
40 lines (25 loc) 911 B
# __PROJECT_NAME__ ## Quick Start ``` npm install npm start ``` ## Commands ### `npm start` Runs the project in dev mode, serves it, and opens it in a web browser. The watch mode is enabled, meaning any change to the source code or assets will make the webpage reload. ### `npm run prod` Creates a production build of the project, serves it, and opens it in a web browser. ### `npm run zip` Creates a production build fo the project, then creates a zip archive out of its files. Such package is ready to be used e.g. on https://itch.io . ### `npm run tsc` Checks the project in terms of its TypeScript types. #### `npm run tsc:watch` Similar to `npm run tsc`, but in a watch mode – helpful when you constantly change the code and want to constantly see whether your types usage is correct or not. Typically, you would run `npm run tsc:watch` in a separate terminal window, alongside `npm start.