-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
package.json
82 lines (82 loc) · 2.3 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
{
"name": "jest-enzyme",
"version": "7.1.2",
"description": "Testing Matchers for Enzyme",
"main": "lib/index.js",
"author": "Blaine Kasten <blainekasten@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/FormidableLabs/enzyme-matchers/blob/master/packages/jest-enzyme#readme",
"scripts": {
"pretest": "node ../../scripts/jest.js",
"test": "node ../../node_modules/jest-cli/bin/jest.js __tests__",
"failing:test": "node ../../node_modules/jest-cli/bin/jest.js __failing_tests__",
"jest": "node ../../node_modules/jest-cli/bin/jest.js __tests__",
"lint": "eslint ./src",
"clean": "rm -rf ./lib",
"build:js": "babel --root-mode upward src --out-dir lib --ignore '**/__tests__/*.js' --ignore '**/__failing_tests__/*.js'",
"build:flow": "flow-copy-source -v -i '**/__tests__/*.js' -i '**/__failing_tests__/*.js' src lib",
"copy-dts": "cpy src/index.d.ts lib",
"build": "npm run clean && npm run build:js && npm run build:flow && npm run copy-dts",
"prepublish": "npm run build"
},
"files": [
"lib"
],
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/FormidableLabs/enzyme-matchers.git"
},
"keywords": [
"javascript",
"shallow rendering",
"shallowRender",
"test",
"reactjs",
"react",
"flux",
"testing",
"test utils",
"assertion helpers",
"tdd",
"jest",
"enzyme"
],
"bugs": {
"url": "https://github.com/FormidableLabs/enzyme-matchers/issues"
},
"peerDependencies": {
"enzyme": ">=3.4.0",
"jest": ">=22.0.0"
},
"dependencies": {
"enzyme-matchers": "^7.1.2",
"enzyme-to-json": "^3.3.0",
"jest-environment-enzyme": "^7.1.2"
},
"devDependencies": {
"@types/enzyme": "^3.1.11",
"@types/react": "^16.0.10",
"cpy-cli": "^2.0.0"
},
"jest": {
"transform": {
"^.+\\.js$": "../../babel-jest-root-mode-wrapper.js"
},
"roots": [
"<rootDir>/src"
],
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdapter": "react16"
},
"setupFilesAfterEnv": [
"<rootDir>/src/index.js"
],
"testRegex": "/(__tests__|__failing_tests__)/.*\\.test\\.js$",
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!enzyme-matchers)"
],
"verbose": true
}
}