-
-
Notifications
You must be signed in to change notification settings - Fork 145
/
package.json
91 lines (91 loc) · 2.34 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
{
"name": "jest-styled-components",
"version": "7.2.0",
"description": "Jest utilities for Styled Components",
"main": "./src/index.js",
"typings": "./typings/index.d.ts",
"files": [
"native",
"serializer",
"src",
"typings"
],
"repository": "github:styled-components/jest-styled-components",
"bugs": {
"url": "https://github.com/styled-components/jest-styled-components/issues"
},
"author": "Michele Bertoli",
"license": "MIT",
"scripts": {
"test": "yarn test:web && yarn test:native && yarn test:preact",
"test:web": "jest --color",
"test:web:watch": "jest --watch",
"test:native": "jest --color --config .jest.native.json",
"test:preact": "jest --color --config .jest.preact.json"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.0.0",
"@testing-library/react": "^12.1.2",
"@types/styled-components": "^5.1.15",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
"babel-jest": "^27.3.1",
"babel-plugin-styled-components": "^2.0.1",
"enzyme": "^3.6.0",
"enzyme-adapter-preact-pure": "^3.3.0",
"enzyme-to-json": "^3.3.1",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky-v4": "^4.3.8",
"jest": "^27.3.1",
"lint-staged": "^12.1.1",
"preact": "^10.0.0-beta.2",
"preact-render-to-json": "^3.6.6",
"prettier": "^2.3.2",
"pretty-format": "^27.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-native": "^0.66.3",
"react-test-renderer": "^17.0.2",
"styled-components": "^6.0.9"
},
"dependencies": {
"@adobe/css-tools": "^4.0.1"
},
"peerDependencies": {
"styled-components": ">= 5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"jest": {
"setupFiles": [
"<rootDir>/test/__mocks__/requestAnimationFrame.js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"<rootDir>/test/native",
"<rootDir>/test/preact"
]
},
"engines": {
"node": ">= 12"
}
}