Skip to content

This is an INIT plugin for Phantomas (automated Website Performance Testing) running via GruntJS.

License

Notifications You must be signed in to change notification settings

use-init/init-phantomas

Repository files navigation

INIT Phantomas

A plugin for INIT using grunt-phantomas to minimize your HTML.

devDependency Status

Installation

You can add this plugin to INIT by copying over the file config/phantomas.js to tasks/options and run

npm install --save-dev grunt-phantomas

in your main project's root directory.

You need to add an object in your config.js file called htmlmin to describe the files to be minimized:

phantomas: {
	reports: 'reports/phantomas/'
}

Also you might want to set up a dedicated task for it in your Gruntfile.js:

// Performance measurement task
grunt.registerTask('performance', ['phantomas:test']);

Contribute

Please help making this project better and contribute with your knowledge.

Development

This package is developed as part of the INIT project.

License

Please be aware of the licenses of each component we use in this project. Everything else that has been developed by the contributions to this project is under MIT License.

About

This is an INIT plugin for Phantomas (automated Website Performance Testing) running via GruntJS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published