-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
119 lines (119 loc) · 4.27 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "js-given",
"version": "0.1.2",
"__versionAlpha": "0.1.2-alpha.0",
"description": "JavaScript frontend to jgiven",
"main": "index.js",
"scripts": {
"installProtractor": "check-node-version -q --node '< 6.9' || node_modules/protractor/bin/webdriver-manager update --gecko false",
"installJGivenReport": "node tools/installJGivenReport.js",
"postinstall": "yarn installProtractor && yarn installJGivenReport",
"pretest": "node src/cli.es5.js clean",
"test": "yarn test_jest && yarn test_mocha && yarn test_jasmine && yarn test_ava && yarn test_protractor && yarn test_type_definitions",
"posttest": "yarn generateReport && yarn build",
"test_mocha": "mocha --opts spec/support/mocha-default.opts spec",
"test_jest": "jest --config .jest.conf.json --colors",
"test_jasmine": "node spec/support/jasmine-runner.js",
"test_ava": "AVA_CONFIG_DIR=$(pwd) ava spec/**.spec.js -v",
"test_protractor": "check-node-version -q --node '< 6.9' || protractor .protractor.conf.js",
"test_type_definitions": "(cd type-definitions/tests && ../../../node_modules/.bin/flow)",
"testWatch": "yarn test_jest -- --watch",
"generateReport": "node src/cli.es5.js report",
"coverage": "yarn test_jest -- --coverage",
"__doBuild": "rm -vfr dist && yarn buildLib && yarn buildCli && cp type-definitions/*.js.flow type-definitions/*.d.ts dist",
"build": "check-node-version -q --node '< 6.0' || (yarn __doBuild && yarn __doPreparePublish -- alpha)",
"buildLib": "check-node-version -q --node '< 6.0' || rollup -c tools/lib.rollup.config.js",
"buildCli": "check-node-version -q --node '< 6.0' || rollup -c tools/cli.rollup.config.js",
"__doPreparePublish": "node tools/preparePublish.js",
"__doTagRelease": "node tools/tagRelease.js",
"__doPublishAlpha": "(cd dist; echo '' | yarn publish --tag next)",
"__doReleaseAlpha": "yarn __doPreparePublish -- alpha && yarn __doPublishAlpha",
"__doPublish": "(cd dist; echo '' | yarn publish)",
"__doRelease": "yarn __doPreparePublish && yarn __doTagRelease && yarn __doPublish",
"releaseAlpha": "check-node-version -q --node '< 6.0' || (yarn test && yarn build && yarn __doReleaseAlpha)",
"release": "check-node-version -q --node '< 6.0' || (yarn test && yarn build && yarn __doRelease)"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jsGiven/jsGiven.git"
},
"keywords": [
"testing",
"bdd",
"jgiven",
"tests",
"given",
"when",
"then",
"test"
],
"author": "Florent Le Gall",
"license": "MIT",
"bugs": {
"url": "https://github.com/jsGiven/jsGiven/issues"
},
"homepage": "https://github.com/jsGiven/jsGiven",
"devDependencies": {
"ava": "^0.19.1",
"babel-core": "^6.25.0",
"babel-jest": "^20.0.3",
"jest": "^20.0.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-regenerator": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-preset-react": "^6.24.1",
"chai": "3.5.0",
"check-node-version": "^2.1.0",
"jasmine": "^2.6.0",
"jasmine-spec-reporter": "^4.1.0",
"mocha": "^3.4.2",
"nodegit": "^0.18.3",
"protractor": "^5.1.2",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-uglify": "^2.0.1",
"sinon": "^2.3.4",
"sinon-chai": "^2.11.0",
"tmp": "^0.0.31"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"decompress-zip": "0.3.0",
"fs-extra": "^3.0.1",
"is-promise": "^2.1.0",
"lodash": "^4.17.4",
"retrieve-arguments": "^1.0.1",
"rimraf": "^2.6.1",
"string-humanize": "1.0.0",
"yargs": "^8.0.2"
},
"bin": {
"jsgiven": "./cli.js"
},
"files": [
"cli.js",
"installJGivenReport.js",
"index.js",
"index.js.flow",
"index.d.ts",
"LICENSE",
"README.md",
"package.json"
],
"ava": {
"require": [
"babel-core/register",
"./spec/support/setup-tests.js",
"./spec/support/setup-ava.js"
],
"babel": "inherit",
"failWithoutAssertions": false
},
"engines": {
"node": ">= 4.6.0"
}
}