forked from styled-components/jest-styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.28 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-styled-components",
"version": "6.3.1",
"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": {
"precommit": "lint-staged",
"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": "^6.26.0",
"babel-jest": "^23.4.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.1",
"eslint": "^3.17.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^6.10.0",
"husky": "^0.14.3",
"jest": "^23.5.0",
"lint-staged": "^7.2.2",
"preact": "^8.3.1",
"preact-compat": "^3.18.4",
"preact-render-to-json": "^3.6.6",
"prettier": "^1.14.2",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react-native": "^0.53.3",
"react-test-renderer": "^16.5.0",
"react-testing-library": "^5.0.1",
"styled-components": "^3.4.5",
"typescript": "^3.0.3"
},
"dependencies": {
"css": "^2.2.4"
},
"peerDependencies": {
"styled-components": "^2.0.0 || ^3.0.2"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"jest": {
"setupFiles": [
"<rootDir>/test/__mocks__/requestAnimationFrame.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"<rootDir>/test/native",
"<rootDir>/test/preact"
]
}
}