Skip to content

fix: incorrect build command and instructions #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions game-starter/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# game-starter

### This is a starter project using the core components of the G.A.M.E SDK

To get an API KEY https://console.game.virtuals.io/
Expand All @@ -9,13 +10,17 @@ Typescript: https://github.com/game-by-virtuals/game-node
NPM: https://www.npmjs.com/package/@virtuals-protocol/game

## Prerequisites

- nvm
- git
- node

## To run project
`npm install && npm run build && npm start`


Create a new `.env` file at root with content below:

```
API_KEY=<YOUR_API_KEY>
```

`npm install && npm run build && npm start`
2 changes: 1 addition & 1 deletion game-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"build": "tsc --build",
"start": "node dist/index.js",
"plugin": "node dist/plugins/example.js",
"dev": "ts-node src/index.ts",
Expand Down