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

@ -1,21 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title>Starlight</title> <title>Starlight</title>
<link href="index.css" rel="stylesheet" /> <link href="index.css" rel="stylesheet" />
<!-- Libraries --> <!-- Libraries -->
<script src="Vector.js"></script> <script src="Starlight.js" charset="utf-8"></script>
<script src="Random.js"></script> </head>
<body>
<!-- Local Code -->
<script src="Starlight-Renderer.js"></script>
<script src="Star.js"></script>
</head>
<body>
<canvas id="canvas-main"></canvas> <canvas id="canvas-main"></canvas>
</body> </body>
</html> </html>

View file

@ -1,36 +1,39 @@
{ {
"name": "scene-starlight", "name": "scene-starlight",
"version": "0.0.1", "version": "0.0.1",
"description": "A cool starry night scene. Made for Christmas (actually new year) 2016.", "description": "A cool starry night scene. Made for Christmas (actually new year) 2016.",
"main": "Starlight-Renderer.js", "main": "Starlight-Renderer.js",
"scripts": { "config": {
"env": "env", "browserify_bundle": "Starlight.js"
"test": "echo (There aren't any tests yet!)", },
"build": "browserify $npm_package_main -t rollupify -o Starlight.js", "scripts": {
"env": "env",
"postinstall": "npm run build", "test": "echo (There aren't any tests yet!)",
"prestart": "npm run build" "start": "wzrd $npm_package_main:$npm_package_config_browserify_bundle",
}, "build": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle",
"repository": { "build.dev": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle --debug",
"type": "git", "postinstall": "npm run build",
"url": "https://git.starbeamrainbowlabs.com/sbrl/Scene-Starlight" "prestart": "npm run build"
}, },
"keywords": [ "repository": {
"html5", "type": "git",
"canvas", "url": "https://git.starbeamrainbowlabs.com/sbrl/Scene-Starlight"
"es6", },
"browserify", "keywords": [
"christmas", "html5",
"2016" "canvas",
], "es6",
"author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>", "browserify",
"private": true, "christmas",
"license": "MPL-2.0", "2016"
"devDependencies": { ],
"rollupify": "^0.3.7" "author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>",
}, "private": true,
"license": "MPL-2.0",
"browserify": { "devDependencies": {
"transform": ["rollupify"] "rollupify": "^0.3.7"
} },
"browserify": {
"transform": [ "rollupify" ]
}
} }