Skip to content

Commit

Permalink
feat(common-general): add cjs build as main and region field to RTDBI…
Browse files Browse the repository at this point in the history
…nstance model
  • Loading branch information
albertodigioacchino committed Jan 25, 2021
1 parent 74a2dec commit e3524f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.2.0",
"types": "build/index.d.ts",
"typings": "build/index.d.ts",
"main": "build/index.js",
"module": "",
"main": "build/cjs/index.js",
"module": "build/index.js",
"scripts": {
"build": "npm run build:es5 && npm run build:cjs",
"build:es5": "tsc --outDir build",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/rtdbInstance.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {CreatedAt} from "./CreatedAt";
import {ShortUser} from "./user";

export interface RTDBInstance extends CreatedAt {
onlineOnGameCount: number;
region: string;
}

0 comments on commit e3524f1

Please sign in to comment.