1.1.2 • Published 6 years ago

reshape-tape v1.1.2

Weekly downloads
7
License
CC0-1.0
Repository
github
Last release
6 years ago

Reshape Tape

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
1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago