-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
executable file
·71 lines (71 loc) · 1.7 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
{
"name": "jest-snapshots-svg",
"version": "0.1.0",
"description": "Generate SVG Snapshots of React Native Component Trees",
"main": "build/index.js",
"files": [
"build/*"
],
"typings": "build/index.d.ts",
"author": "Orta Therox <orta.therox@gmail.com> & Art.sy Inc",
"license": "MIT",
"devDependencies": {
"@types/jest": "^20.0.8",
"@types/node": "^7.0.31",
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"danger": "^0.18.0",
"husky": "^0.13.3",
"jest": "^21.0.1",
"lint-staged": "^3.2.5",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.6",
"react-native": "^0.44.0",
"react-test-renderer": "^15.5.4",
"ts-jest": "^21.0.0",
"ts-node": "^3.0.0",
"tslint": "^5.2.0",
"typescript": "^2.3.2"
},
"scripts": {
"test": "jest",
"type-check": "tsc --noEmit",
"build": "tsc && cp -r src/font build",
"watch": "tsc --watch",
"lint": "tslint 'src/**/*.{ts,tsx}'",
"precommit": "lint-staged",
"prepush": "yarn build && yarn jest"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"node"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest/cache",
"preset": "react-native"
},
"dependencies": {
"font-manager": "^0.2.2",
"fontkit": "^1.7.7",
"linebreak": "^0.3.0",
"nbind": "^0.3.14",
"yoga-layout": "^1.9.0"
}
}