Input entire directory of raw images and generate an optimize directory of responsive images, containing different size and resolution versions for each image.
-
Install project dependencies by running
npm install
. -
Add the images to be processed inside of the folder named
raw_images
. -
Generate responsive images by running
npm run process-images
in the terminal. This will process the images within raw_images and output responsive images in the folder namedresponsive_images
.
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.