forked from wix/react-native-calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) Β· 3.22 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
{
"name": "react-native-calendars",
"version": "1.22.0",
"main": "src/index.js",
"description": "React Native Calendar Components",
"scripts": {
"build": "xcodebuild -project ios/CalendarsExample.xcodeproj build",
"e2e": "node ./scripts/test-e2e.js --release",
"test": "npm run lint && npm run unit && npm run e2e",
"unit": "jest",
"lint": "eslint src/ example/src",
"release": "node ./scripts/release.js",
"start": "react-native start",
"ios": "react-native run-ios",
"android": "react-native run-android",
"xcode": "open ios/CalendarsExample.xcworkspace/",
"clean": "rm package-lock.json && rm -rf ./node_modules && npm i",
"pod-install": "pod install --project-directory=ios"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wix/react-native-calendars"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Wix.com",
"license": "MIT",
"dependencies": {
"lodash": "^4.17.15",
"moment": "^2.24.0",
"hoist-non-react-statics": "^3.3.1",
"react-native-swipe-gestures": "^1.0.5",
"prop-types": "^15.5.10",
"xdate": "^0.8.0",
"immutable": "^4.0.0-rc.12"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@welldone-software/why-did-you-render": "^6.0.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.2",
"detox": "^18.6.2",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-react": "^7.0.0",
"husky": "^7.0.1",
"jest": "^27.0.4",
"jest-date-mock": "^1.0.8",
"lint-staged": "^11.0.0",
"metro-react-native-babel-preset": "^0.66.0",
"mocha": "^9.0.0",
"prettier": "^2.0.5",
"react": "17.0.2",
"react-component-driver": "^0.11.0",
"react-native": "0.65.1",
"react-native-navigation": "^7.11.2",
"react-test-renderer": "^17.0.1",
"semver": "7.x.x",
"shell-utils": "1.x.x"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"jest-date-mock",
"./jest-setup.js"
],
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
]
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/CalendarsExample.app",
"build": "xcodebuild -workspace ios/CalendarsExample.xcworkspace -scheme CalendarsExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11",
"os": "iOS 13.7"
}
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/CalendarsExample.app",
"build": "xcodebuild -workspace ios/CalendarsExample.xcworkspace -scheme CalendarsExample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11",
"os": "iOS 13.7"
}
}
},
"test-runner": "mocha"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}