Skip to content

Instantly share code, notes, and snippets.

@yamsellem
Last active September 12, 2016 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamsellem/040854f500f21fc9f50678e1e3e48448 to your computer and use it in GitHub Desktop.
Save yamsellem/040854f500f21fc9f50678e1e3e48448 to your computer and use it in GitHub Desktop.
// package.json
{
"name": "backbone.training",
"version": "0.0.1",
"repository": {
"type": "git",
"url": ""
},
"scripts": {
"start": "watchify -d js/module.js -o js/bundle/app.js",
"build": "browserify -d js/module.js -o js/bundle/app.js"
},
"dependencies": {
"backbone": "1.3.x",
"backbone.marionette": "3.x",
"jquery": "3.x",
"lodash": "4.x"
},
"devDependencies": {
"browserify": "x",
"watchify": "x"
}
}
// proxy
/public/.bowerrc
{
"proxy":"http://ccmsaf1:adeline@proxy-http:8000",
"https-proxy":"http://ccmsaf1:adeline@proxy-http:8000"
}
/public/.eslintrc.json
{
"extends": "google",
"env": {
"browser": true,
"jquery": true,
"es6": false
},
"rules": {
"indent": [0],
"semi": [0],
"linebreak-style": [0]
},
"globals": {
"Backbone": true,
"Handlebars": true
}
}
git config --global http.proxy http://ccmsaf1:adeline@proxy-http:8000
git config --global https.proxy http://ccmsaf1:adeline@proxy-http:8000
npm config set proxy http://ccmsaf1:adeline@proxy-http:8000
npm config set https-proxy http://ccmsaf1:adeline@proxy-http:8000
npm install -g bower
cd Atom\resources\app\apm\bin
apm config set https-proxy http://ccmsaf1:adeline@proxy-http:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment