Created
May 6, 2015 19:41
-
-
Save kevinejohn/9894d38562723cc0855c 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
{ | |
"name": "PROJECT_NAME", | |
"description": "", | |
"version": "0.0.2", | |
"author": "Jeff Barczewski <[email protected]>", | |
"repository": { | |
"type": "git", | |
"url": "http://github.com/jeffbski/PROJECT_NAME.git" | |
}, | |
"bugs": { | |
"url": "http://github.com/jeffbski/PROJECT_NAME/issues" | |
}, | |
"license": "MIT", | |
"browser": "src/browser.jsx", | |
"browserify": { | |
"transform": [ | |
"babelify" | |
] | |
}, | |
"scripts": { | |
"create-dirs": "mkdir -p dist", | |
"build": "concurrent -p command 'npm run build-js' 'npm run build-css'", | |
"build-css": "lessc assets/site.less | autoprefixer -b 'last 2 versions, > 5%' | tee dist/site.css | cleancss -o dist/site.min.css", | |
"build-js": "browserify . -d --extension=.jsx | tee dist/bundle.js | uglifyjs - -c warnings=false -m | tee dist/bundle.min.js | gzip > dist/bundle.min.js.gz", | |
"lint": "eslint src", | |
"prebuild": "rm -rf dist/* && npm run create-dirs", | |
"postbuild": "echo \"Finished NODE_ENV=${NODE_ENV}\"", | |
"prepublish": "npm run prod-build", | |
"prewatch": "npm run create-dirs", | |
"prod-build": "NODE_ENV=production npm run build", | |
"watch": "concurrent -p command 'npm run watch-js' 'npm run watch-css' 'npm run watch-browser'", | |
"watch-browser": "sleep 5 && browser-sync start --config bs-config.js", | |
"watch-css": "npm run build-css && onchange assets/** -- npm run build-css", | |
"watch-js": "watchify src/browser.jsx -d --extension=.jsx -v -o 'tee dist/bundle.js | uglifyjs - -c warnings=false -m | tee dist/bundle.min.js | gzip > dist/bundle.min.js.gz'" | |
}, | |
"engines": { | |
"node": ">=0.10" | |
}, | |
"devDependencies": { | |
"autoprefixer": "^5.1.0", | |
"babel-eslint": "^3.0.1", | |
"babelify": "^6.0.2", | |
"browser-sync": "^2.6.9", | |
"browserify": "^9.0.3", | |
"clean-css": "^3.2.6", | |
"concurrently": "^0.0.5", | |
"eslint": "^0.20.0", | |
"less": "^2.4.0", | |
"onchange": "^1.0.0", | |
"uglify-js": "^2.4.21", | |
"watchify": "^3.2.0" | |
}, | |
"dependencies": { | |
"axios": "^0.5.4", | |
"core-js": "^0.9.4", | |
"react": "^0.13.2" | |
}, | |
"keywords": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment