-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
92 lines (92 loc) · 4.41 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
{
"name": "unexpected-react",
"version": "6.0.2",
"description": "Plugin for unexpected, to allow for assertions on the React.js virtual DOM, and the shallow and test renderers",
"scripts": {
"build": "babel src -d lib",
"prepublish": "npm run build",
"preparepublish": "npm run build && npm test",
"test-main": "mocha --require @babel/register src/tests/general/*.spec.js src/tests/regressions/*.spec.js",
"test-error": "mocha --require @babel/register src/tests/errors/*.spec.js",
"test-testrenderer": "mocha --require @babel/register src/tests/testRenderer/*.spec.js",
"test-documentation": "npm run test-documentation-index && npm run test-documentation-standard && npm run test-documentation-testrenderer",
"test-documentation-index": "mocha --require @babel/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown documentation",
"test-documentation-standard": "mocha --require @babel/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown --recursive documentation/assertions/ReactElement documentation/assertions/RenderedReactElement",
"test-documentation-testrenderer": "mocha --require @babel/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown-test-renderer --recursive documentation/assertions/ReactTestRenderer",
"test-jest-integration": "cd jest-integration && ./run.sh",
"test-release": "cd jest-integration && ./run.sh --use-released",
"lint": "eslint src",
"generate-site-reactelement": "generate-site --require ./bootstrap-documentation-generation.js --assertions assertions/ReactElement/*.md --output site-reactelement",
"generate-site-renderedreactelement": "generate-site --require ./bootstrap-documentation-generation.js --assertions assertions/RenderedReactElement/*.md --output site-renderedreactelement",
"generate-site-reacttestrenderer": "generate-site --require ./bootstrap-documentation-generation-testrenderer.js --assertions assertions/ReactTestRenderer/*.md --output site-testrenderer",
"generate-site": "npm run generate-site-reactelement && npm run generate-site-renderedreactelement && npm run generate-site-reacttestrenderer && gulp",
"deploy-site": "deploy-site.sh",
"test": "npm run test-main && npm run test-testrenderer && npm run test-error && npm run test-documentation && npm run test-jest-integration",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require babel-core/register src/tests/*.spec.js &&cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage || true"
},
"main": "lib/unexpected-react.js",
"repository": "https://github.com/bruderstein/unexpected-react.git",
"license": "MIT",
"keywords": [
"unexpected-plugin",
"unexpected",
"testing",
"react",
"reactjs",
"unit-test",
"virtualDOM",
"test",
"react-test-renderer"
],
"peerDependencies": {
"react": "^16.9.0",
"react-test-renderer": "^16.9.0"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/register": "^7.7.4",
"babel-eslint": "^6.1.2",
"babel-preset-react": "6.5.0",
"bluebird": "^3.4.6",
"coveralls": "^2.11.9",
"create-react-class": "^15.6.0",
"eslint": "^3.4.0",
"eslint-plugin-react": "^6.2.0",
"gulp": "^3.9.1",
"gulp-cheerio": "^0.6.2",
"gulp-file": "^0.3.0",
"gulp-json-editor": "^2.2.1",
"immutable": "^3.7.6",
"istanbul": "^0.4.3",
"jest": "^20.0.4",
"jsdom": "^11.1.0",
"jsdom-global": "^3.0.2",
"magicpen": "^5.7.0",
"mocha": "^2.3.3",
"mocha-lcov-reporter": "^1.2.0",
"mock-fs": "^4.2.0",
"object-assign": "^4.0.1",
"prop-types": "^15.5.8",
"react": "^16.12.0",
"react-create-class": "^1.0.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"sinon": "^1.17.6",
"unexpected": "^11.0.0-4",
"unexpected-documentation-site-generator": "^4.6.1",
"unexpected-markdown": "^1.7.4",
"unexpected-sinon": "^10.5.0"
},
"dependencies": {
"js-writer": "^1.3.0",
"magicpen-prism": "^4.1.1",
"unexpected-htmllike": "^2.2.0",
"unexpected-htmllike-jsx-adapter": "^1.0.3",
"unexpected-htmllike-raw-adapter": "^1.0.1",
"unexpected-htmllike-reactrendered-adapter": "^4.0.0",
"unexpected-htmllike-testrenderer-adapter": "^1.0.2"
}
}