Add browserify for nodejs dependency management
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"main": "index.html",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "tsc"
|
||||
"build": "tsc && browserify ./build/main.js -o ./build/app.js"
|
||||
},
|
||||
"keywords": [
|
||||
"webgl",
|
||||
@@ -18,6 +18,11 @@
|
||||
"author": "Julian Niessner",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/seedrandom": "^2.4.28",
|
||||
"browserify": "^16.5.0",
|
||||
"typescript": "^3.7.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"seedrandom": "^3.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user