renamed package

This commit is contained in:
andy 2021-06-21 23:39:44 +01:00
parent 38e3d25b01
commit b94ff668cc
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import { Universe, Cell, init } from "game-of-life";
import { memory } from "game-of-life/game_of_life_bg.wasm";
import { Universe, Cell, init } from "gameoflife";
import { memory } from "gameoflife/gameoflife_bg.wasm";
// let PLAY = true;
// let PLAY = false;

8
www/package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "game-of-life-web",
"version": "0.1.0",
"dependencies": {
"game-of-life": "file:../pkg"
"gameoflife": "file:../pkg"
},
"devDependencies": {
"copy-webpack-plugin": "^9.0.0",
@ -18,7 +18,7 @@
}
},
"../pkg": {
"name": "game-of-life",
"name": "gameoflife",
"version": "0.1.0"
},
"node_modules/@discoveryjs/json-ext": {
@ -2416,7 +2416,7 @@
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
},
"node_modules/game-of-life": {
"node_modules/gameoflife": {
"resolved": "../pkg",
"link": true
},
@ -8251,7 +8251,7 @@
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
},
"game-of-life": {
"gameoflife": {
"version": "file:../pkg"
},
"get-caller-file": {

View File

@ -23,7 +23,7 @@
},
"homepage": "https://github.com/Sarsoo/game-of-life#readme",
"dependencies": {
"game-of-life": "file:../pkg"
"gameoflife": "file:../pkg"
},
"devDependencies": {
"copy-webpack-plugin": "^9.0.0",