Configure index.html & wzrd

This commit is contained in:
Starbeamrainbowlabs 2016-12-26 17:54:08 +00:00
parent 9f835820dc
commit b62a53e3ec
2 changed files with 49 additions and 51 deletions

View file

@ -8,12 +8,7 @@
<link href="index.css" rel="stylesheet" />
<!-- Libraries -->
<script src="Vector.js"></script>
<script src="Random.js"></script>
<!-- Local Code -->
<script src="Starlight-Renderer.js"></script>
<script src="Star.js"></script>
<script src="Starlight.js" charset="utf-8"></script>
</head>
<body>
<canvas id="canvas-main"></canvas>

View file

@ -3,11 +3,15 @@
"version": "0.0.1",
"description": "A cool starry night scene. Made for Christmas (actually new year) 2016.",
"main": "Starlight-Renderer.js",
"config": {
"browserify_bundle": "Starlight.js"
},
"scripts": {
"env": "env",
"test": "echo (There aren't any tests yet!)",
"build": "browserify $npm_package_main -t rollupify -o Starlight.js",
"start": "wzrd $npm_package_main:$npm_package_config_browserify_bundle",
"build": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle",
"build.dev": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle --debug",
"postinstall": "npm run build",
"prestart": "npm run build"
},
@ -29,8 +33,7 @@
"devDependencies": {
"rollupify": "^0.3.7"
},
"browserify": {
"transform": ["rollupify"]
"transform": [ "rollupify" ]
}
}