Last active
January 22, 2016 17:24
-
-
Save Samsy/d43748d726a00bc93966 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ncp = require('ncp').ncp; | |
var copyobj = require('../package.json').copy; | |
for (var prop in copyobj) { | |
ncp(copyobj[prop].src, copyobj[prop].dest, function (err) { | |
if (err) { | |
return console.error(err); | |
} | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "samsy-boilerplate", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"watch": "npm run clean && npm run scaffold && npm run start:server & npm run watch:start ", | |
"build": "npm run clean && npm run scaffold && npm run build:js && npm run build:css && npm run copy", | |
"start:server": "browser-sync start --server 'dist' --server 'src' --files 'src/scripts/, dist/css' --port 3000 --no-ui --no-open --no-notify", | |
"watch:start": "npm run watch:js & npm run watch:css", | |
"watch:js": " watchify -t [ stringify --extensions [.html] ] -d src/scripts/ -o dist/js/bundle.js", | |
"watch:css": "stylus --watch -w -u autoprefixer-stylus src/styles/ -o dist/css/main.css", | |
"build:js": "browserify -t [ stringify --extensions [.html] ] src/scripts/ | uglifyjs > dist/js/bundle.js", | |
"build:css": "stylus -u autoprefixer-stylus --compress src/styles/ -o dist/css/main.css", | |
"scaffold": "mkdirp $npm_package_treebuild ", | |
"copy": "node tasks/copy.js ", | |
"clean": "rm -rf dist" | |
}, | |
"treebuild": "dist/js dist/css", | |
"copy": { | |
"html": { | |
"src": "src/index.html", | |
"dest": "dist/index.html" | |
}, | |
"media": { | |
"src": "src/media", | |
"dest": "dist/media" | |
} | |
}, | |
"browserify": { | |
"transform": [ | |
"babelify", | |
"glslify", | |
"aliasify" | |
] | |
}, | |
"aliasify": { | |
"aliases": { | |
"scrollTo": "./node_modules/gsap/src/uncompressed/plugins/ScrollToPlugin.js", | |
"easePlugin": "./node_modules/gsap/src/uncompressed/plugins/EaselPlugin.js", | |
"mediator": "./src/scripts/mediator.js", | |
"config": "./src/scripts/config.js" | |
} | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"@superguigui/wagner": "0.0.9", | |
"babel-core": "^5.8.23", | |
"base-64": "^0.1.0", | |
"bezier-easing": "^1.1.1", | |
"dat-gui": "^0.5.0", | |
"domready": "^1.0.8", | |
"event-emitter": "^0.3.3", | |
"glsl-easings": "^1.0.0", | |
"glsl-noise": "0.0.0", | |
"glslify": "^2.3.1", | |
"glslify-import": "^1.0.0", | |
"google-panorama-by-id": "^2.1.0", | |
"google-panorama-by-location": "^4.1.1", | |
"google-panorama-depthmap": "0.0.13", | |
"google-panorama-equirectangular": "^1.2.0", | |
"google-panorama-zoom-level": "^1.0.0", | |
"gsap": "^1.17.0", | |
"install": "^0.1.8", | |
"jsonp-promise": "git+https://github.com/alexbardas/jsonp-promise.git", | |
"lethargy": "^1.0.2", | |
"npm": "^2.14.1", | |
"ractive": "^0.7.3", | |
"three": "^0.73", | |
"three-orbit-controls": "^71.0.0", | |
"three-orbit-viewer": "^69.3.0", | |
"three-stereo-effect": "^1.0.0", | |
"three.orientation": "^1.1.0", | |
"ua-device-type": "0.0.4", | |
"ua-parser-js": "^0.7.7", | |
"webgl-context": "^2.2.0", | |
"wheel": "0.0.3" | |
}, | |
"devDependencies": { | |
"aliasify": "^1.7.2", | |
"autoprefixer-stylus": "^0.8.1", | |
"babelify": "^6.1.2", | |
"brfs": "^1.4.3", | |
"browser-sync": "^2.7.12", | |
"browserify": "^10.2.4", | |
"mkdirp": "^0.5.1", | |
"ncp": "^2.0.0", | |
"stringify": "^3.2.0", | |
"stylus": "^0.53.0", | |
"uglify-js": "^2.6.1", | |
"watchify": "^3.2.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment