-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
144 lines (144 loc) · 4.36 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "mand-mobile-rn",
"version": "1.0.0",
"description": "mand-mobile for react-native",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"tsc": "sh ./build/tsc-and-assets.sh --watch",
"build": "sh ./build/tsc-and-assets.sh",
"test": "jest",
"test:single": "sh ./build/test-single-js-component.sh",
"test:cov": "jest --coverage",
"test:clear:cache": "rm -fr .jest/cache",
"create": "node build/component-init.js",
"create:native:component": "cd src/natives && mfe init ../../template/native-component-template",
"cz": "npx git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"svg2obj": "node build/svg2obj.js ../src/components/icon/svgs ../src/components/icon/xmldata.ts"
},
"repository": {
"type": "git",
"url": "--"
},
"keywords": [
"react-native"
],
"author": "",
"license": "Apache",
"bin": {
"svg2obj": "./build/svg2obj.js"
},
"dependencies": {
"glob": "^7.1.3",
"react-art": "^16.8.6",
"react-native-animatable": "^1.3.2",
"react-native-linear-gradient": "^2.5.4",
"react-native-modal": "^9.0.0",
"react-native-svg": "9.4.0",
"react-native-svg-uri": "^1.2.3",
"react-native-vector-icons": "^6.4.2"
},
"devDependencies": {
"@types/enzyme": "^3.9.1",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/jsdom": "^12.2.3",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.4",
"@types/react-native": "^0.57.45",
"@types/react-native-vector-icons": "^6.4.0",
"@types/react-test-renderer": "^16.8.1",
"bluebird": "^3.5.4",
"commitizen": "^3.0.7",
"conventional-changelog-cli": "^2.0.11",
"cz-mand-mobile-changelog": "^1.0.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-native": "^3.6.0",
"file-loader": "^3.0.1",
"git-user-email": "^0.2.2",
"git-user-name": "^2.0.0",
"inquirer": "^6.3.1",
"jest": "^24.7.1",
"jsdom": "14.0.0",
"metro-react-native-babel-preset": "^0.53.1",
"moment": "^2.24.0",
"prettier": "^1.17.0",
"prettier-tslint": "^0.4.2",
"react": "^16.8.6",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.8.4",
"react-native": "^0.59.4",
"react-native-mock-render": "^0.1.2",
"react-native-typescript-transformer": "^1.2.12",
"react-native-web": "^0.11.2",
"react-test-renderer": "^16.8.6",
"shelljs": "^0.8.3",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-react": "^4.0.0",
"typescript": "^3.4.3",
"vue-cli": "^2.9.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-mand-mobile-changelog"
}
},
"jest": {
"setupFiles": [
"<rootDir>/tests/jest.setup.js"
],
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"modulePathIgnorePatterns": [
"<rootDir>/samples/node_modules/react-native/local-cli/__mocks__",
"<rootDir>/samples/node_modules/react-native/local-cli/(\\w*)/__mocks__",
"<rootDir>/samples/node_modules/react-native/Libraries/(\\w*)/__mocks__",
"<rootDir>/samples/node_modules/react-native/Libraries/(\\w*)/(\\w*)/__mocks__"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
"\\.(ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!(react-native|react-native-modal|react-native-animatable|react-native-svg|react-native-svg-uri|react-native-linear-gradient)/)"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/dist/",
"<rootDir>/template/",
"<rootDir>/node_modules/",
"<rootDir>/samples/node_modules/"
],
"cacheDirectory": ".jest/cache",
"collectCoverage": true,
"coverageDirectory": ".coverage",
"coverageReporters": [
"text",
"html"
],
"globals": {
"__DEV__": true
}
},
"rnpm": {
"assets": [
"./src/assets/fonts/"
],
"commands": {
"postlink": "node node_modules/mand-mobile-rn/scripts/postlink/run"
}
}
}