reshape-tape

1.1.2 • Public • Published

Reshape Tape Reshape

NPM Version Build Status Licensing Changelog Gitter Chat

Reshape Tape lets you quickly test Reshape plugins.

  1. Install this dependency to your project:

    npm install --save-dev reshape-tape
  2. Add the reshape-tape task to your package.json:

    {
       "scripts": {
         "tape": "reshape-tape"
       }
    }
  3. Add tests to your .tape.js file:

    module.exports = {
     	'reshape-my-plugin': {
     		'basic': {
     			message: 'supports basic usage'
     		}
     	}
    };

That’s it! Now you can use the tape task:

npm run tape

Options

Options may be passed through package.json using reshapeConfig:

{
	"reshapeConfig": {
		"plugin": "path/to/plugin.js",
		"config": "path/to/.tape.js",
		"fixtures": "path/to/htmldir"
	}
}

Options may be passed through arguments:

reshape-tape --plugin=path/to/plugin.js --config=path/to/.tape.js

Package Sidebar

Install

npm i reshape-tape

Weekly Downloads

0

Version

1.1.2

License

CC0-1.0

Unpacked Size

16.7 kB

Total Files

7

Last publish

Collaborators

  • jonathantneal