Set up rbowserify + rollupify

This commit is contained in:
Starbeamrainbowlabs 2016-12-26 15:48:27 +00:00
parent 2d685b82f7
commit dac909fd12
1 changed files with 34 additions and 24 deletions

View File

@ -1,26 +1,36 @@
{ {
"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": { "scripts": {
"test": "echo (There aren't any tests yet!)" "env": "env",
}, "test": "echo (There aren't any tests yet!)",
"repository": { "build": "browserify $npm_package_main -t rollupify -o Starlight.js",
"type": "git",
"url": "https://git.starbeamrainbowlabs.com/sbrl/Scene-Starlight" "postinstall": "npm run build",
}, "prestart": "npm run build"
"keywords": [ },
"html5", "repository": {
"canvas", "type": "git",
"es6", "url": "https://git.starbeamrainbowlabs.com/sbrl/Scene-Starlight"
"browserify", },
"christmas", "keywords": [
"2016" "html5",
], "canvas",
"author": "Starbeamrainbowlabs", "es6",
"license": "MPL-2.0", "browserify",
"devDependencies": { "christmas",
"rollupify": "^0.3.7" "2016"
} ],
"author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>",
"private": true,
"license": "MPL-2.0",
"devDependencies": {
"rollupify": "^0.3.7"
},
"browserify": {
"transform": ["rollupify"]
}
} }