You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
4.9 KiB

10 years ago
{
"name": "ava",
8 years ago
"version": "0.16.0",
9 years ago
"description": "Futuristic test runner 🚀",
10 years ago
"license": "MIT",
"repository": "avajs/ava",
9 years ago
"homepage": "https://ava.li",
10 years ago
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
10 years ago
},
10 years ago
"maintainers": [
{
"name": "Vadim Demedes",
"email": "vdemedes@gmail.com",
"url": "github.com/vdemedes"
},
{
"name": "James Talmage",
"email": "james@talmage.io",
"url": "github.com/jamestalmage"
},
{
"name": "Mark Wubben",
"email": "mark@novemberborn.net",
"url": "novemberborn.net"
},
{
"name": "Juan Soto",
"email": "juan@juansoto.me",
"url": "juansoto.me"
},
{
"name": "Jeroen Engels",
"email": "jfm.engels@gmail.com",
"url": "github.com/jfmengels"
10 years ago
}
],
"bin": "cli.js",
"typings": "types/generated.d.ts",
10 years ago
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "xo && nyc --cache --reporter=lcov --reporter=text tap --no-cov --timeout=150 test/*.js test/reporters/*.js",
"test-win": "tap --no-cov --reporter=classic --timeout=150 test/*.js test/reporters/*.js",
"visual": "node test/visual/run-visual-tests.js",
"prepublish": "npm run make-ts",
"make-ts": "babel-node --presets=babel-preset-es2015 --plugins=transform-runtime types/make.js"
10 years ago
},
"files": [
"lib",
"*.js",
"types/generated.d.ts"
10 years ago
],
"keywords": [
"test",
"runner",
9 years ago
"ava",
10 years ago
"concurrent",
"parallel",
"fast",
"tape",
9 years ago
"tap",
"mocha",
"qunit",
9 years ago
"jasmine",
"tdd",
9 years ago
"cli-app",
"cli",
9 years ago
"assert",
9 years ago
"assertion",
"futuristic",
"promise",
"promises",
"async",
"function",
"await",
"generator",
"generators",
"yield",
"observable",
9 years ago
"observables",
"tap"
10 years ago
],
"dependencies": {
"arr-flatten": "^1.0.1",
"array-union": "^1.0.1",
"array-uniq": "^1.0.2",
"arrify": "^1.0.0",
"auto-bind": "^0.1.0",
"ava-files": "^0.2.0",
"ava-init": "^0.1.0",
"babel-code-frame": "^6.7.5",
9 years ago
"babel-core": "^6.3.21",
"babel-plugin-ava-throws-helper": "^0.1.0",
"babel-plugin-detective": "^2.0.0",
"babel-plugin-espower": "^2.2.0",
"babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-2": "^6.3.13",
"babel-runtime": "^6.3.19",
"bluebird": "^3.0.0",
"caching-transform": "^1.0.0",
10 years ago
"chalk": "^1.0.0",
"chokidar": "^1.4.2",
"clean-yaml-object": "^0.1.0",
"cli-cursor": "^1.0.2",
"cli-spinners": "^0.1.2",
"cli-truncate": "^0.2.0",
"co-with-promise": "^4.6.0",
"common-path-prefix": "^1.0.0",
"convert-source-map": "^1.2.0",
"core-assert": "^0.2.0",
"currently-unhandled": "^0.4.1",
"debug": "^2.2.0",
"empower-core": "^0.6.1",
"figures": "^1.4.0",
"find-cache-dir": "^0.1.1",
"fn-name": "^2.0.0",
"has-flag": "^2.0.0",
"ignore-by-default": "^1.0.0",
"is-ci": "^1.0.7",
9 years ago
"is-generator-fn": "^1.0.0",
"is-obj": "^1.0.0",
"is-observable": "^0.2.0",
"is-promise": "^2.1.0",
"last-line-stream": "^1.0.0",
"lodash.debounce": "^4.0.3",
"lodash.difference": "^4.3.0",
"loud-rejection": "^1.2.0",
"matcher": "^0.1.1",
9 years ago
"max-timeout": "^1.0.0",
"md5-hex": "^1.2.0",
"meow": "^3.7.0",
"ms": "^0.7.1",
"not-so-shallow": "^0.1.3",
"object-assign": "^4.0.1",
"observable-to-promise": "^0.4.0",
"option-chain": "^0.1.0",
"package-hash": "^1.1.0",
"pkg-conf": "^1.0.1",
9 years ago
"plur": "^2.0.0",
"power-assert-context-formatter": "^1.0.4",
"power-assert-renderer-assertion": "^1.0.1",
"power-assert-renderer-succinct": "^1.0.1",
"pretty-ms": "^2.0.0",
Improve watch logging (#737) * display current time when mini & verbose reporters finish I'm using toLocaleTimeString() which works even back to Node.js 0.10. Forcing a 24-hour clock because we're geeks. * watcher: restart logger on subsequent runs The CLI starts the logger so the watcher shouldn't reset it on its first run. Restart the logger after resetting, this allows the mini reporter to render its spinner. * better api.run stub in watcher test Return an object for the runStatus, add assertions to verify this object is passed to logger.finish() * assert that r/rs reruns all tests * clear mini reporter in watch mode Clear the mini reporter unless the previous run had failures, or "r\n" was entered on stdin. * consistent empty lines in finish output Always print two empty lines before each error/rejection/exception when the mini and verbose reporters finish. Remove trailing whitespace from stack traces. Always print an empty line after the finish output. Add a test helper to more easily compare line output, with useful debug information. At the moment this new helper is only used for failing tests. * print line if reporter was not be cleared Watch mode won't clear the mini reporter if there were errors, or "r\n" was entered on stdin. The verbose reporter can't be cleared at all. To improve the separation between multiple test runs, write a horizontal line when starting a new test run and the reporter was not cleared. * remove debug output from cli test
9 years ago
"repeating": "^2.0.0",
"require-precompiled": "^0.1.0",
"resolve-cwd": "^1.0.0",
"set-immediate-shim": "^1.0.1",
"source-map-support": "^0.4.0",
"stack-utils": "^0.4.0",
"strip-ansi": "^3.0.1",
"strip-bom": "^2.0.0",
"time-require": "^0.1.2",
"unique-temp-dir": "^1.0.0",
"update-notifier": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-preset-react": "^6.5.0",
"cli-table2": "^0.2.0",
"coveralls": "^2.11.4",
"delay": "^1.3.0",
"execa": "^0.4.0",
"get-stream": "^2.0.0",
"git-branch": "^0.3.0",
"has-ansi": "^2.0.0",
"inquirer": "^1.0.2",
"lolex": "^1.4.0",
"mkdirp": "^0.5.1",
"nyc": "^7.1.0",
"pify": "^2.3.0",
"proxyquire": "^1.7.4",
"rimraf": "^2.5.0",
"signal-exit": "^3.0.0",
"sinon": "^1.17.2",
"source-map-fixtures": "^2.1.0",
"tap": "^6.3.0",
"touch": "^1.0.0",
"xo": "*",
"zen-observable": "^0.3.0"
},
"xo": {
"rules": {
"import/newline-after-import": 0
},
"overrides": [
{
"files": [
"test/**/*.js"
],
"rules": {
"max-lines": 0
}
}
]
10 years ago
}
}