mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-06-27 22:05:12 +08:00
58 lines
4.0 KiB
JSON
58 lines
4.0 KiB
JSON
{
|
||
"name": "grunt-contrib-nodeunit",
|
||
"description": "Run Nodeunit unit tests.",
|
||
"version": "0.2.2",
|
||
"homepage": "https://github.com/gruntjs/grunt-contrib-nodeunit",
|
||
"author": {
|
||
"name": "Grunt Team",
|
||
"url": "http://gruntjs.com/"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "git://github.com/gruntjs/grunt-contrib-nodeunit.git"
|
||
},
|
||
"bugs": {
|
||
"url": "https://github.com/gruntjs/grunt-contrib-nodeunit/issues"
|
||
},
|
||
"licenses": [
|
||
{
|
||
"type": "MIT",
|
||
"url": "https://github.com/gruntjs/grunt-contrib-nodeunit/blob/master/LICENSE-MIT"
|
||
}
|
||
],
|
||
"engines": {
|
||
"node": ">= 0.8.0"
|
||
},
|
||
"scripts": {
|
||
"test": "grunt test"
|
||
},
|
||
"dependencies": {
|
||
"nodeunit": "~0.8.0"
|
||
},
|
||
"devDependencies": {
|
||
"grunt-contrib-jshint": "~0.5.4",
|
||
"grunt-contrib-internal": "~0.4.5",
|
||
"grunt": "~0.4.0"
|
||
},
|
||
"peerDependencies": {
|
||
"grunt": "~0.4.0"
|
||
},
|
||
"keywords": [
|
||
"gruntplugin"
|
||
],
|
||
"contributors": [
|
||
{
|
||
"name": "\"Cowboy\" Ben Alman",
|
||
"url": "http://benalman.com"
|
||
},
|
||
{
|
||
"name": "Tyler Kellen",
|
||
"url": "http://goingslowly.com"
|
||
}
|
||
],
|
||
"readme": "# grunt-contrib-nodeunit v0.2.2 [](https://travis-ci.org/gruntjs/grunt-contrib-nodeunit)\n\n> Run Nodeunit unit tests.\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-nodeunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-nodeunit');\n```\n\n\n\n\n## Nodeunit task\n_Run this task with the `grunt nodeunit` command._\n\nTask targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\nThis plugin provides server-side JavaScript unit testing via [nodeunit](https://github.com/caolan/nodeunit/). If you're looking to test JavaScript that uses `window` or the DOM, please use the [grunt-contrib-qunit plugin](https://github.com/gruntjs/grunt-contrib-qunit)`qunit` task.\n\n\n### Usage examples\n\n#### Wildcards\n\nIn this example, `grunt nodeunit:all` or `grunt nodeunit` will test all files ending with `_test.js` in the `test` directory.\n\n```js\n// Project configuration.\ngrunt.initConfig({\n nodeunit: {\n all: ['test/*_test.js']\n }\n});\n```\n\nWith a slight modification, `grunt nodeunit:all` will test files matching the same pattern in the `test` directory _and all subdirectories_.\n\n```js\n// Project configuration.\ngrunt.initConfig({\n nodeunit: {\n all: ['test/**/*_test.js']\n }\n});\n```\n\n## Release History\n\n * 2013-10-19 v0.2.2 Allow missing operators on error object.\n * 2013-09-24 v0.2.1 Fix error display.\n * 2013-05-23 v0.2.0 Bump nodeunit to v0.8.0\n * 2013-02-15 v0.1.2 First official release for Grunt 0.4.0.\n * 2013-01-18 v0.1.2rc6 Updating grunt/gruntplugin dependencies to rc6. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.\n * 2013-01-09 v0.1.2rc5 Updating to work with grunt v0.4.0rc5. Switching to this.filesSrc api.\n * 2012-11-13 v0.1.1 Switch to this.file api internally.\n * 2012-11-04 v0.1.0 Work in progress, not yet officially released.\n\n---\n\nTask submitted by [\"Cowboy\" Ben Alman](http://benalman.com)\n\n*This file was generated on Sat Oct 19 2013 14:59:01.*\n",
|
||
"readmeFilename": "README.md",
|
||
"_id": "grunt-contrib-nodeunit@0.2.2",
|
||
"_from": "grunt-contrib-nodeunit@~0.2.0"
|
||
}
|