diff --git a/package-lock.json b/package-lock.json index e4839a4..bb003ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -257,6 +257,13 @@ "@types/webgl-ext": "0.0.30", "@types/webgl2": "0.0.4", "seedrandom": "2.4.3" + }, + "dependencies": { + "@types/webgl2": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@types/webgl2/-/webgl2-0.0.4.tgz", + "integrity": "sha512-PACt1xdErJbMUOUweSrbVM7gSIYm1vTncW2hF6Os/EeWi6TXYAYMPp+8v6rzHmypE5gHrxaxZNXgMkJVIdZpHw==" + } } }, "@tensorflow/tfjs-converter": { @@ -277,6 +284,11 @@ "seedrandom": "2.4.3" }, "dependencies": { + "@types/webgl2": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@types/webgl2/-/webgl2-0.0.4.tgz", + "integrity": "sha512-PACt1xdErJbMUOUweSrbVM7gSIYm1vTncW2hF6Os/EeWi6TXYAYMPp+8v6rzHmypE5gHrxaxZNXgMkJVIdZpHw==" + }, "node-fetch": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", @@ -439,9 +451,10 @@ "integrity": "sha512-LKVgNmBxN0BbljJrVUwkxwRYqzsAEPcZOe6S2T6ZaBDIrFp0qu4FNlpc5sM1tGbXUYFgdVQIoeLk1Y1UoblyEg==" }, "@types/webgl2": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@types/webgl2/-/webgl2-0.0.4.tgz", - "integrity": "sha512-PACt1xdErJbMUOUweSrbVM7gSIYm1vTncW2hF6Os/EeWi6TXYAYMPp+8v6rzHmypE5gHrxaxZNXgMkJVIdZpHw==" + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@types/webgl2/-/webgl2-0.0.5.tgz", + "integrity": "sha512-oGaKsBbxQOY5+aJFV3KECDhGaXt+yZJt2y/OZsnQGLRkH6Fvr7rv4pCt3SRH1somIHfej/c4u7NSpCyd9x+1Ow==", + "dev": true }, "@webassemblyjs/ast": { "version": "1.9.0", diff --git a/package.json b/package.json index ef01487..abb64cc 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "build": "rimraf dist && webpack", - "start": "rimraf dist && webpack-dev-server --open -d" + "start": "rimraf dist && webpack-dev-server --open -d", + "dev": "rimraf server.js && tsc server.ts && node server.js" }, "keywords": [], "author": "", @@ -25,6 +26,7 @@ "webpack-dev-server": "^3.11.0" }, "devDependencies": { + "@types/webgl2": "0.0.5", "ts-loader": "^8.0.3", "typescript": "^4.0.2" }