Skip to content

Commit 2ed5260

Browse files
committed
remove tween.js and open
1 parent e9a856e commit 2ed5260

File tree

6 files changed

+3
-34
lines changed

6 files changed

+3
-34
lines changed

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const opn = require('open')
21
const express = require('express')
32
const app = express()
43
const helmet = require('helmet')
@@ -28,6 +27,5 @@ if (mode === 'production') {
2827
console.log('Incorrect mode!')
2928
}
3029
app.listen(port, function () {
31-
opn(`http://localhost:${port}`)
3230
return console.log(`Server is running on \x1b[34m*:${port}\x1b[0m`)
3331
})

package-lock.json

Lines changed: 0 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"threejs"
2626
],
2727
"dependencies": {
28-
"@tweenjs/tween.js": "^18.6.4",
2928
"ansi-to-html": "^0.6.14",
3029
"bootstrap": "^4.6.0",
3130
"canvas": "^2.6.1",
@@ -40,7 +39,6 @@
4039
"lodash-webpack-plugin": "^0.11.6",
4140
"minecraft-data": "^2.79.0",
4241
"net-browserify": "michaljaz/net-browserify",
43-
"open": "^7.4.2",
4442
"popper.js": "^1.16.1",
4543
"prismarine-block": "^1.8.0",
4644
"rimraf": "^3.0.2",

src/scripts/EventHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import TWEEN from '@tweenjs/tween.js'
1+
import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'
22
import { MathUtils } from 'three'
33
import $ from 'jquery'
44
const modulo = function (a, b) {

src/scripts/Setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { WebGLRenderer, Scene, PerspectiveCamera, AmbientLight } from 'three'
2-
import TWEEN from '@tweenjs/tween.js'
2+
import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'
33
import Stats from 'three/examples/jsm/libs/stats.module.js'
44
import * as dat from 'dat.gui'
55
import { DistanceBasedFog } from './rendering/DistanceBasedFog.js'

src/scripts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Color } from 'three'
2-
import TWEEN from '@tweenjs/tween.js'
2+
import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'
33
import swal from 'sweetalert'
44
import { AssetLoader } from './AssetLoader.js'
55
import { Setup } from './Setup.js'

0 commit comments

Comments
 (0)