diff --git a/game-starter/README.md b/game-starter/README.md index 74c5125d..8e5f2322 100644 --- a/game-starter/README.md +++ b/game-starter/README.md @@ -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/ @@ -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= +``` +`npm install && npm run build && npm start` diff --git a/game-starter/package.json b/game-starter/package.json index d03c5470..7617021f 100644 --- a/game-starter/package.json +++ b/game-starter/package.json @@ -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",