-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
135 lines (135 loc) · 4.38 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "js-given",
"version": "0.1.7",
"__versionAlpha": "0.1.7-alpha.1",
"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",
"postinstall": "yarn installProtractor",
"pretest": "node src/cli.es5.js clean",
"test": "yarn allTests || yarn generateReportFail",
"posttest": "yarn generateReport && yarn build",
"allTests":
"yarn test_jest && yarn test_mocha && yarn test_jasmine && yarn test_ava && yarn test_protractor && yarn test_type_definitions",
"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":
"check-node-version -q --node '< 6.9' || 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",
"generateReportFail": "node src/cli.es5.js report --fail",
"coverage": "yarn test_jest -- --coverage",
"__doBuild":
"rm -vfr dist && yarn buildLib && yarn buildCli && cp type-definitions/*.js.flow type-definitions/*.d.ts dist",
"build": "yarn __doBuild && yarn __doPreparePublish -- alpha",
"buildLib": "rollup -c tools/lib.rollup.config.js",
"buildCli": "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": "yarn test && yarn build && yarn __doReleaseAlpha",
"release": "yarn test && yarn build && yarn __doRelease",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"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.24.0",
"babel-core": "6.26.0",
"babel-jest": "22.0.4",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-transform-async-generator-functions": "6.24.1",
"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.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"chai": "4.1.2",
"chalk": "2.3.0",
"check-node-version": "3.1.1",
"jasmine": "2.8.0",
"jasmine-spec-reporter": "4.2.1",
"jest": "22.0.4",
"mocha": "4.1.0",
"nodegit": "0.20.3",
"protractor": "5.2.2",
"rollup": "0.54.0",
"rollup-plugin-babel": "3.0.3",
"rollup-plugin-uglify": "2.0.1",
"sinon": "4.1.4",
"sinon-chai": "2.14.0",
"tmp": "0.0.33"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"fs-extra": "^5.0.0",
"function-arguments": "^1.0.8",
"is-promise": "^2.1.0",
"jgiven-html-app": "0.16.2",
"lodash": "^4.17.4",
"rimraf": "^2.6.2",
"snyk": "^1.61.0",
"string-humanize": "^1.0.0",
"strip-ansi": "^4.0.0",
"yargs": "^10.0.0"
},
"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"
},
"snyk": true
}