Add browserify for nodejs dependency management

This commit is contained in:
Julian
2020-01-20 15:09:39 +01:00
parent 2f0ce2c7b4
commit 0f3866af79
3 changed files with 19 additions and 17 deletions

View File

@@ -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"
}
}