Skip to content

Instantly share code, notes, and snippets.

@thewinger
Last active August 30, 2016 12:45
Show Gist options
  • Save thewinger/163f86fbe996f1b45023 to your computer and use it in GitHub Desktop.
Save thewinger/163f86fbe996f1b45023 to your computer and use it in GitHub Desktop.
curl -L https://gist.github.com/thewinger/163f86fbe996f1b45023/download | tar -xvz --strip-components=1 && chmod u+x start-project.sh && ./start-project.sh
{
"name": "Winproject",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Alejandro Camara",
"license": "ISC",
"devDependencies": {
"browser-sync": "2.x.x",
"del": "2.x.x",
"gulp": "3.x.x",
"gulp-autoprefixer": "3.x.x",
"gulp-concat": "2.x.x",
"gulp-cssnano": "2.x.x",
"gulp-imagemin": "2.x.x",
"gulp-include": "2.x.x",
"gulp-newer": "1.x.x",
"gulp-notify": "2.x.x",
"gulp-rename": "1.x.x",
"gulp-ruby-sass": "2.x.x",
"gulp-sourcemaps": "1.x.x",
"gulp-uglify": "1.x.x",
"gulp-uncss": "1.x.x"
}
}
#!/bin/bash
mkdir -p src/scss && mkdir -p src/js && mkdir -p src/assets
git init
npm install
npm update --save-dev
# gulpfile
curl -L https://gist.github.com/thewinger/0b7c45c601464435fc24/download | tar -xvz --strip-components=1
# main.scss
# curl -L https://gist.github.com/thewinger/316d9b4a0d625ab99d90/download | tar -xvz --strip-components=1
# .gitignore
curl -L https://gist.github.com/thewinger/2dd2a24a7a050b164d19/download | tar -xvz --strip-components=1
# bower.json
# curl -L https://gist.github.com/thewinger/cb84867c43f3b2d693e8/download | tar -xvz --strip-components=1
cd src/scss && npm install inuitcss
cd ../..
git add . && git commit -am "First Commit"
say "Your script is done!"
@thewinger
Copy link
Author

Una vez descargado
chmod u+x start-project.sh
./start-project.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment