Skip to content

Commit

Permalink
fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkolos committed Mar 28, 2021
1 parent ae19e9b commit 3db0532
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 82 deletions.
138 changes: 62 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "index.js",
"scripts": {
"test": "jest --verbose",
"start": "npm run build && parcel src/index.html",
"build": "tsc --noEmit && cp -ru src/assets dist",
"dev": "npm run build && parcel —no-minify src/index.html"
"start": "http-server ./dist -g",
"build": "tsc --noEmit && parcel build --no-source-maps src/index.html && cp -ru src/assets/. dist",
"dev": "tsc --noEmit && parcel —no-minify src/index.html"
},
"author": "",
"license": "ISC",
Expand All @@ -25,7 +25,6 @@
"eslint": "^7.2.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.21.2",
"http-server": "^0.12.3",
"jest": "^26.6.3",
"parcel": "^1.12.4",
"prettier": "^2.0.5",
Expand All @@ -47,6 +46,7 @@
"client": "0.0.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"http-server": "^0.12.3",
"nouislider": "^14.6.3",
"parcel-plugin-asset-copier": "^1.1.0",
"three": "^0.123.0",
Expand Down
2 changes: 1 addition & 1 deletion src/client/audio/audio-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const sounds: SoundData[] = [

const musicData = {
path: SOUND_DIR_PATH + 'quadproquo.mp3',
volumeNormalization: 0.05,
volumeNormalization: 0.040,
}

const soundsByIdEntries: [SoundId, SoundData][] = sounds.map(s => [s.id, s]);
Expand Down
2 changes: 1 addition & 1 deletion src/game/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Rank } from '../card/rank';
import { cloneDumbObject } from '@akolos/clone-dumb-object';
import { MatchupWinner } from './matchup-winner';
import { GameAdvancementOutcome } from './game-advancement-outcome';
import { Player } from './Player';
import { Player } from './player';
import { GameCardCollection } from './game-card-collection';
import { InheritableEventEmitter } from '@akolos/event-emitter';
import { Matchup } from './matchup';
Expand Down

0 comments on commit 3db0532

Please sign in to comment.