-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
123 lines (123 loc) · 4.79 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
{
"name": "agritrader",
"version": "0.0.1",
"license": "UNLICENSED",
"private": true,
"engines": {
"node": ">= 8.9.0, < 9.0.0",
"npm": ">= 5.5.1",
"yarn": ">= 1.3.0"
},
"scripts": {
"clean": "npm run clean:lib && npm run clean:gradle && npm run clean:android:build && npm run clean:app:build && npm run clean:app:assets",
"clean:lib": "npm run rimraf -- lib/",
"clean:gradle": "npm run rimraf -- android/.gradle",
"clean:android:build": "npm run rimraf -- android/build/",
"clean:app:build": "npm run rimraf -- android/app/build/",
"clean:app:assets": "npm run rimraf android/app/src/main/assets/",
"move:view:assets": "npm run copyfiles -- -f ./src/view/assets/*[!.ts] lib/view/assets/",
"create:view:assets": "npm run mkdirp -- lib/view/assets",
"create:android:assets": "npm run mkdirp -- android/app/src/main/assets",
"pre:build": "yarn && npm run create:view:assets && npm run move:view:assets && npm run clean:app:assets && npm run create:android:assets",
"build": "node_modules/.bin/tsc",
"rebuild": "npm run clean && npm run build",
"start:android": "npm run pre:build && npm run build && npm run concurrently:android",
"start:ios": "npm run pre:build && npm run build && npm run concurrently:ios",
"start": "npm run pre:build && npm run react-native -- start",
"android": "npm run start:android",
"android:unix": "npm run pre:build && npm run build && npm run bundle:android && npm run concurrently:android",
"test": "jest --coverage",
"watch": "npm run build -- -w",
"lint": "node_modules/.bin/tslint \"src/**/*.ts?(x)\" --project ./tsconfig.json --exclude \"src/native-base-theme/**/*.ts?(x)\"",
"lint:fix": "npm run lint -- --fix",
"link": "npm run link:vector-icons && npm run link:sensitive-info && npm run link:react-native-config",
"link:vector-icons": "npm run react-native -- link react-native-vector-icons",
"link:sensitive-info": "npm run react-native -- link react-native-sensitive-info",
"link:react-native-config": "npm run react-native -- link react-native-config",
"bundle:android": "npm run react-native -- bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"concurrently": "node_modules/.bin/concurrently --kill-others-on-fail -p \"[{name}]\" -n \"Typescript,React-Native\" -c \"cyan.bold,green.bold\"",
"concurrently:android": "npm run concurrently -- \"npm run watch\" \"npm run react-native -- run-android\"",
"concurrently:ios": "npm run concurrently -- \"npm run watch\" \"npm run react-native -- run-ios\"",
"react-native": "node node_modules/react-native/local-cli/cli.js",
"rimraf": "node_modules/.bin/rimraf",
"mkdirp": "node_modules/.bin/mkdirp",
"copyfiles": "node_modules/.bin/copyfiles"
},
"dependencies": {
"babel-plugin-transform-remove-console": "^6.9.0",
"es6-symbol": "^3.1.1",
"fuse.js": "^3.2.0",
"jest-cli": "^21.2.1",
"moment": "^2.20.1",
"native-base": "^2.3.4",
"ramda": "^0.25.0",
"react": "16.0.0-beta.5",
"react-native": "0.49.5",
"react-native-config": "^0.11.5",
"react-native-sensitive-info": "^5.1.0",
"react-native-vector-icons": "^4.5.0",
"react-navigation": "^1.0.0-beta.22",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-persist": "^5.5.0",
"redux-persist-sensitive-storage": "^1.0.0",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"rimraf": "^2.6.2",
"uuid": "^3.2.1",
"wolfy87-eventemitter": "^5.2.4"
},
"devDependencies": {
"@types/color": "^2.0.0",
"@types/jest": "^21.1.5",
"@types/lodash": "^4.14.96",
"@types/ramda": "types/npm-ramda#dist",
"@types/react": "^16.0.19",
"@types/react-native": "^0.51.10",
"@types/react-navigation": "^1.0.26",
"@types/react-redux": "^5.0.14",
"@types/react-test-renderer": "^16.0.0",
"@types/redux-logger": "^3.0.5",
"@types/wolfy87-eventemitter": "^5.2.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.1.0",
"babel-preset-react-native": "4.0.0",
"concurrently": "^3.5.0",
"copyfiles": "^1.2.0",
"jest": "21.2.1",
"mkdirp": "^0.5.1",
"react-test-renderer": "16.0.0-beta.5",
"rimraf": "^2.6.2",
"ts-jest": "^21.1.4",
"tslint": "5.8.0",
"tslint-config-airbnb": "5.3.1",
"tslint-react": "3.2.0",
"typescript": "^2.6.1"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/",
"<rootDir>/lib/"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|native-base|react-navigation|redux-persist-sensitive-storage|redux-persist)"
],
"cacheDirectory": ".jest/cache",
"mapCoverage": true
}
}