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 { Universe, Cell, init } from "gameoflife";
import { memory } from "game-of-life/game_of_life_bg.wasm"; import { memory } from "gameoflife/gameoflife_bg.wasm";
// let PLAY = true; // let PLAY = true;
// let PLAY = false; // let PLAY = false;

8
www/package-lock.json generated
View File

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

View File

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