forked from jest-community/jest-snapshots-svg
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·83 lines (83 loc) · 2.11 KB
/
package.json
File metadata and controls
executable file
·83 lines (83 loc) · 2.11 KB
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
{
"name": "render-react-native-to-image",
"version": "1.1.2",
"description": "Generate an SVG or PNG image of a React Native Component Tree",
"main": "build/index.js",
"files": [
"build/*",
"rn-image-transform.js"
],
"author": "Orta Therox <orta.therox@gmail.com> & Art.sy Inc & Jared Forsyth <jared@jaredforsyth.com>",
"license": "MIT",
"scripts": {
"type-check": "tsc --noEmit",
"build": "tsc",
"test": "jest",
"watch": "tsc --watch",
"lint": "tslint '{src,jest}/**/*.{ts,tsx}'",
"prepack": "npm run build"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"png",
"node",
"js"
],
"moduleNameMapper": {
"^([./a-zA-Z0-9$_-]+\\.png)$": "$1"
},
"transform": {
"\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "<rootDir>/rn-image-transform.js",
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
".(ts|tsx)": "ts-jest"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/jest",
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest/cache",
"preset": "react-native"
},
"dependencies": {
"canvas": "2.7.0",
"fontkit": "^1.8.0",
"fontmanager-redux": "1.0.0",
"image-size": "^0.7.4",
"linebreak": "^1.0.2",
"node-fetch": "^2.6.0",
"yoga-layout-prebuilt": "^1.9.3"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@types/jest": "^24.0.15",
"@types/node": "^12.0.10",
"@types/react-test-renderer": "^16.8.2",
"babel-core": "^7.0.0-0",
"babel-jest": "^24.8.0",
"danger": "^8.0.0",
"husky": "^2.4.1",
"jest": "^24.8.0",
"lint-staged": "^3.2.5",
"prettier": "^1.18.2",
"prop-types": "^15.6.2",
"react": "16.8.3",
"react-native": "^0.59.9",
"react-test-renderer": "^16.8.6",
"ts-jest": "^24.0.2",
"ts-node": "^7.0.1",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.4.5"
}
}