Browse Source

Configure index.html & wzrd

master
parent
commit
b62a53e3ec
2 changed files with 49 additions and 51 deletions
  1. +12
    -17
      index.html
  2. +37
    -34
      package.json

+ 12
- 17
index.html View File

@@ -1,21 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
<title>Starlight</title>
<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>
</head>
<body>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
<title>Starlight</title>
<link href="index.css" rel="stylesheet" />
<!-- Libraries -->
<script src="Starlight.js" charset="utf-8"></script>
</head>
<body>
<canvas id="canvas-main"></canvas>
</body>
</body>
</html>

+ 37
- 34
package.json View File

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

"browserify": {
"transform": ["rollupify"]
}
"name": "scene-starlight",
"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!)",
"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"
},
"repository": {
"type": "git",
"url": "https://git.starbeamrainbowlabs.com/sbrl/Scene-Starlight"
},
"keywords": [
"html5",
"canvas",
"es6",
"browserify",
"christmas",
"2016"
],
"author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>",
"private": true,
"license": "MPL-2.0",
"devDependencies": {
"rollupify": "^0.3.7"
},
"browserify": {
"transform": [ "rollupify" ]
}
}

Loading…
Cancel
Save