forked from testdouble/testdouble.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 3.79 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "testdouble",
"version": "1.9.0",
"description": "A minimal test double library for TDD with JavaScript",
"homepage": "https://github.com/testdouble/testdouble.js",
"author": {
"name": "Justin Searls",
"email": "[email protected]",
"url": "http://testdouble.com"
},
"main": "lib/testdouble.js",
"config": {
"build_file": "dist/testdouble.js",
"mocha_reporter": "dot"
},
"scripts": {
"clean:dist": "git checkout -- dist",
"clean": "rm -rf generated dist lib .coverage && npm run clean:dist",
"compile:node": "coffee --output lib --compile src",
"compile:test": "coffee --output generated/test --compile test",
"compile:browser": "browserify . --standalone td --outfile $npm_package_config_build_file --ignore 'quibble' -p headerify",
"compile": "npm run compile:node && npm run compile:test && npm run compile:browser",
"test": "mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers coffee:coffee-script $EXTRA_MOCHA_ARGS --recursive test/node-helper.coffee test/src",
"test:cover:instrument": "istanbul instrument lib -o .coverage/lib",
"test:cover:run": "EXTRA_MOCHA_ARGS=\"--reporter mocha-istanbul\" COVER=.coverage/lib ISTANBUL_REPORT_DIR=.coverage ISTANBUL_REPORTERS=lcov,html npm run test",
"test:cover:report": "codeclimate-test-reporter < .coverage/lcov.info",
"test:cover": "npm run compile:node && npm run test:cover:instrument && npm run test:cover:run",
"test:browser": "npm run compile && testem ci",
"test:example:webpack": "cd examples/webpack && npm i && npm test & cd ../..",
"test:example:node": "cd examples/node && npm i && npm test && cd ../..",
"test:example:lineman": "cd examples/lineman && npm i && npm test && cd ../..",
"test:example:babel": "cd examples/babel && npm i && npm test && cd ../..",
"test:example": "npm run test:example:node && npm run test:example:lineman && npm run test:example:webpack && npm run test:example:babel",
"test:all": "npm run test --testdouble:mocha_reporter=tap && testem ci && npm run test:example",
"test:ci": "npm run clean && npm run compile && npm run test:all && npm run clean:dist",
"test:debug": "npm test -- --debug-brk",
"version:write": "echo \"module.exports = '$npm_package_version'\" > src/version.coffee",
"version:changelog": "if command -v github_changelog_generator &>/dev/null; then github_changelog_generator; git commit -m \"Changelog for $npm_package_version\" CHANGELOG.md; else echo Versioning requires you first run 'gem install github_changelog_generator' >&2; fi",
"preversion": "git pull --rebase && npm run test:ci",
"postversion": "git push --tags && npm run version:changelog && git push && npm publish",
"version": "npm run version:write && npm run compile && git add dist src/version.coffee",
"prepublish": "npm run compile"
},
"browser": {
"./lib/replace/module.js": "./lib/replace/module.browser.js",
"quibble": "./lib/quibble.browser.js"
},
"dependencies": {
"lodash": "^4.15.0",
"quibble": "^0.3.0",
"stringify-object": "^2.4.0"
},
"devDependencies": {
"browserify": "^11.0.1",
"chai": "^3.2.0",
"codeclimate-test-reporter": "^0.3.1",
"coffee-script": "^1.10.0",
"disc": "^1.3.2",
"headerify": "^1.0.1",
"istanbul": "^0.4.2",
"mocha": "^2.3.1",
"mocha-given": "^0.1.3",
"mocha-istanbul": "arikon/mocha-istanbul",
"testem": "^0.9.4"
},
"keywords": [
"tdd",
"bdd",
"mock",
"stub",
"spy",
"test double",
"double"
],
"bugs": {
"url": "https://github.com/testdouble/testdouble.js/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/testdouble/testdouble.js.git"
},
"license": "MIT",
"engines": {
"node": ">= 0.12.0",
"iojs": ">= 1.0.0"
}
}