This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
forked from styled-components/jest-styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.23 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
{
"name": "@ro/jest-styled-components",
"version": "7.0.3",
"description": "Jest utilities for Styled Components",
"main": "./src/index.js",
"typings": "./typings/index.d.ts",
"files": [
"native",
"serializer",
"src",
"typings"
],
"repository": "[email protected]:styled-components/jest-styled-components.git",
"author": "Michele Bertoli",
"license": "MIT",
"scripts": {
"test": "yarn test:web && yarn test:native && yarn test:preact && yarn test:ts",
"test:web": "jest",
"test:web:watch": "jest --watch",
"test:native": "jest --config .jest.native.json",
"test:preact": "jest --config .jest.preact.json",
"test:ts": "tsc --strict ./typings/index.d.ts"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@testing-library/react": "^9.3.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"enzyme": "^3.6.0",
"enzyme-adapter-preact-pure": "^2.2.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.1",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"husky": "^3.0.9",
"jest": "^24.8.0",
"lint-staged": "^9.4.2",
"preact": "^10.0.0-beta.2",
"preact-render-to-json": "^3.6.6",
"prettier": "^1.18.2",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-is": "^16.8.6",
"react-native": "^0.61.4",
"react-test-renderer": "^16.8.0",
"styled-components": "^5.0.0",
"typescript": "^3.0.3"
},
"dependencies": {
"css": "^2.2.4"
},
"peerDependencies": {
"styled-components": ">= 5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"jest": {
"setupFiles": [
"<rootDir>/test/__mocks__/requestAnimationFrame.js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"<rootDir>/test/native",
"<rootDir>/test/preact"
]
}
}