https://github.com/emileber/simplified-js-project
Simplifying team work with tools and automation
https://github.com/emileber/simplified-js-project
Last synced: 2 months ago
JSON representation
Simplifying team work with tools and automation
- Host: GitHub
- URL: https://github.com/emileber/simplified-js-project
- Owner: emileber
- License: mit
- Created: 2016-09-16T02:39:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T17:57:17.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T14:50:10.936Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simplified-js-project
Simplifying team work with tools and automation.## Gulp tasks
_Note that any task may be used without a global `gulp` install by replacing `gulp` in each command with `npm run task --`._
A bunch of useful gulp tasks have been copied from the [ionic-better-structure](https://github.com/flavordaaave/ionic-better-structure) created by [flavordaaave](https://github.com/flavordaaave) and modified to work with our project requirements.
### Task Listing
- `gulp help`
Displays all of the available gulp tasks.
### Code Analysis
- `gulp lint [--verbose]`
Performs static code analysis on all javascript files. Runs eslint.
### Fonts and Images
- `gulp fonts`
Copy the ionic fonts from source to the build folder.
- `gulp images`
Copy and optimize all images from source to the build folder.
### Styles
- `gulp styles`
Compile `.scss` files to CSS and copy to the temp and build folder.
### Building Production Code
- `gulp optimize`
Optimize all javascript and styles, move to a build folder, and inject them into the new index.html.
- `gulp build`
Copies the fonts, images and optimises the js to build the production code into the `build` folder.
### Testing
_To be implemented, there are no tests at the moment..._- `gulp test`
Runs all unit tests using karma runner & jasmine with phantomjs. Depends on lint task, for code analysis.
### Cleaning Up
- `gulp clean` Remove all files from the build and temp folders.
- `gulp clean-images` Remove all images from the build folder.
- `gulp clean-code` Remove all javascript and html from the build folder.
- `gulp clean-fonts` Remove all fonts from the build folder.
- `gulp clean-styles` Remove all styles from the temp and build folders.