-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
94 lines (94 loc) · 2.65 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
{
"name": "enzyme-assertions",
"description": "Testing Helpers for Enzyme",
"author": "Blaine Kasten<[email protected]>",
"license": "MIT",
"scripts": {
"typecheck": "flow check",
"pretest": "node ./scripts/jest.js",
"test": "npm run test-matchers && npm run test-jasmine && npm run test-jest",
"test-matchers": "cd ./packages/enzyme-matchers && npm run jest -- --maxWorkers=4",
"test-jasmine": "cd ./packages/jasmine-enzyme && npm run jest && npm run jasmine",
"test-jest": "cd ./packages/jest-enzyme && npm run test -- --maxWorkers=4",
"test-jestw": "cd ./packages/jest-enzyme && npm run test -- --watch",
"lint": "eslint ./packages",
"precommit": "lint-staged"
},
"lint-staged": {
"packages/**/*.js": [
"prettier --single-quote --trailing-comma es5 --write",
"git add"
]
},
"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",
"jasmine",
"jest",
"enzyme"
],
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.2.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-preset-airbnb": "^4.1.0",
"enzyme": "^3.4.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint": "^4.9.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"flow-bin": "^0.105.2",
"flow-copy-source": "^1.2.0",
"husky": "^0.14.3",
"jest": "^25.2.0",
"lerna": "^3.4.0",
"lint-staged": "^4.0.2",
"prettier": "^1.5.3",
"prop-types": "^15.6.0",
"react": "^16.5.1",
"react-dom": "^16.5.1",
"react-test-renderer": "^16.0.0",
"readline-sync": "^1.4.1",
"rimraf": "^2.5.0"
},
"jest": {
"testEnvironment": "<rootDir>/packages/jest-environment-enzyme/lib/index.js",
"testEnvironmentOptions": {
"enzymeAdapter": "react16"
},
"setupFilesAfterEnv": [
"<rootDir>/packages/jest-enzyme/src/index.js"
],
"roots": [
"<rootDir>/packages/jasmine-enzyme/src",
"<rootDir>/packages/jest-enzyme/src",
"<rootDir>/packages/enzyme-matchers/src"
],
"verbose": true
},
"private": true,
"workspaces": [
"packages/*"
]
}