Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cminhho/fontendworkflowautomation
Font-end Workflow Automation
https://github.com/cminhho/fontendworkflowautomation
Last synced: about 2 months ago
JSON representation
Font-end Workflow Automation
- Host: GitHub
- URL: https://github.com/cminhho/fontendworkflowautomation
- Owner: cminhho
- Created: 2015-01-18T16:12:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T09:26:30.000Z (almost 10 years ago)
- Last Synced: 2023-02-27T11:15:55.940Z (almost 2 years ago)
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Font-end Workflow Automation
## NPM
[NPM](https://www.npmjs.com/) is a NodeJs package manager, publishes and manages node programs written in JavaScript and runs under Node.js platform.
$npm init```sh
$npm init
$npm info bower
$npm install -g bower
$npm install bower -save-dev
$npm update
```## YEOMAN
[Yeoman](http://yeoman.io/) helps you to kickstart new project, prescribing best practices and tools to help you stay productive
### YO
[Yo](http://bower.io/) scaffolds out a new application, writing your Grunt configuration and pulling in relevant Grunt tasks and Bower dependencies that you might need for your build.```sh
$npm install -g yo
$npm install -g generator-angular
$npm install -g generator-webapp
$yo webapp
$yo angular
```### GRUNT
[Grunt](http://gruntjs.com/) is a way to automate operations and to performing repetitive tasks. Once you have done the configuratio the less work you have to do when doing minification, compilation, deployment, unit testing, image optimisation and etc```sh
$npm install grunt --save-dev
$npm install grunt-cli --save-dev
```Gruntfile.json (Sample minify with Grunt)
```sh
grunt.initConfig({
clean: {
src: ['build/app.js', 'build/vendor.js']
},
copy: {
files: [{
src: 'build/app.js',
dest: 'build/dist/app.js'
}]
}
concat: {
'build/app.js': ['build/vendors.js', 'build/app.js']
}
// ... other task configurations ...
});
grunt.registerTask('build', ['clean', 'bower', 'browserify', 'concat', 'copy']);
```### BOWER
[Bower](http://bower.io/) is the package manager is used for dependency management, so that you no longer have to manually download and manage your scripts.```sh
$npm install -g bower
$bower init
$bower list
$bower search
$bower install bootstrap -save
```