forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.39 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
{
"name": "react-native-reanimated",
"version": "2.0.0-rc.1",
"description": "More powerful alternative to Animated library for React Native.",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "npm run format && npm run lint && npm run test:unit",
"test:unit": "jest",
"format": "prettier --write --list-different './src/**/*.js'",
"lint": "eslint './src/**/*.js'",
"release": "npm login && release-it",
"type:check": "yarn tsc"
},
"main": "src/Animated.js",
"module": "lib/module/Animated",
"react-native": "src/Animated",
"source": "src/Animated",
"types": "react-native-reanimated.d.ts",
"files": [
"Common/",
"src/",
"lib/",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/build.gradle",
"android/",
"ios/",
"!ios/build/",
"RNReanimated.podspec",
"README.md",
"react-native-reanimated.d.ts",
"mock.js",
"plugin.js",
"!__snapshots__",
"!*.test.js",
"!*.test.js.map"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion/react-native-reanimated.git"
},
"author": {
"email": "[email protected]",
"name": "Krzysztof Magiera"
},
"license": "MIT",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/software-mansion/react-native-reanimated/issues"
},
"homepage": "https://github.com/software-mansion/react-native-reanimated#readme",
"dependencies": {
"@babel/plugin-transform-object-assign": "^7.10.4",
"fbjs": "^3.0.0",
"string-hash-64": "^1.0.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "*"
},
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-typescript": "^7.7.4",
"@react-native-community/bob": "^0.14.3",
"@react-native-community/eslint-config": "^0.0.5",
"@types/babel-types": "^7.0.9",
"@types/babel__core": "^7.1.12",
"@types/babel__generator": "^7.6.2",
"@types/babel__traverse": "^7.0.15",
"@types/jest": "^26.0.15",
"@types/react-native": "^0.63.43",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"jest": "^24.9.0",
"lint-staged": "^10.2.11",
"prettier": "^1.13.7",
"react": "^16.11.0",
"react-native": "^0.63.2",
"react-native-gesture-handler": "^1.6.1",
"react-test-renderer": "16.9.0",
"release-it": "^13.1.1",
"typescript": "^4.1.3"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"release-it": {
"hooks": {
"before:git:bump": [
"# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep '(android/.*)|(ios/.*)' -q ; then egrep '\\.0$' -q <<< ${version} ; else true ; fi ;"
]
}
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module"
]
}
}