Set up rbowserify + rollupify
This commit is contained in:
parent
2d685b82f7
commit
dac909fd12
1 changed files with 34 additions and 24 deletions
14
package.json
14
package.json
|
@ -4,7 +4,12 @@
|
|||
"description": "A cool starry night scene. Made for Christmas (actually new year) 2016.",
|
||||
"main": "Starlight-Renderer.js",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
@ -18,9 +23,14 @@
|
|||
"christmas",
|
||||
"2016"
|
||||
],
|
||||
"author": "Starbeamrainbowlabs",
|
||||
"author": "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>",
|
||||
"private": true,
|
||||
"license": "MPL-2.0",
|
||||
"devDependencies": {
|
||||
"rollupify": "^0.3.7"
|
||||
},
|
||||
|
||||
"browserify": {
|
||||
"transform": ["rollupify"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue