#KottansJS (2014-2015). Fin
##Сообщества
List of various russian-speaking IT-related chats
##Tests
‘Testing’ your knowledge
Front-end Job Interview Questions
##Stay in the loop Front-end TechnologiES
#KottansJS (2014-2015). Fin
##Сообщества
List of various russian-speaking IT-related chats
##Tests
‘Testing’ your knowledge
Front-end Job Interview Questions
##Stay in the loop Front-end TechnologiES
| { | |
| "name": "browserify_babelify", | |
| "version": "1.1.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "watch": "watchify src/app.js -d -o bundle.js -v [ babelify --presets [es2015] ]", | |
| "build": "browserify src/app.js -t [ babelify --presets es2015 ] | uglifyjs -mco bundle.js" | |
| }, |
To delete all local branches that are already merged into the currently checked out branch exclude master, stage branches
git branch --merged | egrep -v "(^\*|master|stage)" | xargs git branch -d
See how many lines of code you have written today
git diff --shortstat "@{0 day ago}"
Uncommit something (3 commit back)
git reset --soft HEAD~3
| import builtins from 'rollup-plugin-node-builtins'; | |
| import babel from 'rollup-plugin-babel'; | |
| import resolve from 'rollup-plugin-node-resolve'; | |
| import uglify from 'rollup-plugin-uglify'; | |
| import { minify } from 'uglify-js-harmony'; | |
| const isProd = process.env.NODE_ENV === 'prod'; | |
| export default { | |
| entry: 'app.js', |