Set up rbowserify + rollupify

This commit is contained in:
Starbeamrainbowlabs 2016-12-26 15:48:27 +00:00
parent 2d685b82f7
commit dac909fd12

View file

@ -4,7 +4,12 @@
"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!)",
"build": "browserify $npm_package_main -t rollupify -o Starlight.js",
"postinstall": "npm run build",
"prestart": "npm run build"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -18,9 +23,14 @@
"christmas", "christmas",
"2016" "2016"
], ],
"author": "Starbeamrainbowlabs", "author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>",
"private": true,
"license": "MPL-2.0", "license": "MPL-2.0",
"devDependencies": { "devDependencies": {
"rollupify": "^0.3.7" "rollupify": "^0.3.7"
},
"browserify": {
"transform": ["rollupify"]
} }
} }