forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 6.69 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "react-native-reanimated",
"version": "3.0.2",
"description": "More powerful alternative to Animated library for React Native.",
"scripts": {
"test": "yarn run format:js && yarn run lint:js && yarn run test:unit",
"test:unit": "jest",
"lint": "yarn lint:js && yarn lint:plugin && yarn lint:cpp && yarn lint:java && yarn lint:ios && yarn lint:docs",
"lint:js": "eslint --ext '.js,.ts,.tsx' src __tests__ __typetests__ && yarn prettier --check src __tests__ __typetests__",
"lint:plugin": "cd plugin && yarn lint && cd ..",
"lint:docs": "cd docs && yarn lint && cd ..",
"lint:java": "./android/gradlew -p android spotlessCheck -q",
"lint:cpp": "./scripts/cpplint.sh",
"lint:ios": "./scripts/validate-ios.sh && yarn format:ios --dry-run",
"format": "yarn format:js && yarn format:plugin && yarn format:java && yarn format:ios && yarn format:android && yarn format:common",
"format:js": "prettier --write --list-different src __tests__ __typetests__",
"format:plugin": "cd plugin && yarn format && cd ..",
"format:java": "node ./scripts/format-java.js",
"format:ios": "find ios/ -iname *.h -o -iname *.m -o -iname *.mm -o -iname *.cpp | xargs clang-format -i --Werror",
"format:android": "find android/src/ -iname *.h -o -iname *.cpp | xargs clang-format -i",
"format:common": "find Common/ -iname *.h -o -iname *.cpp | xargs clang-format -i",
"type:check": "yarn tsc --noEmit && cd plugin && yarn type:check && cd ..",
"prepare": "bob build && husky install && yarn plugin && yarn app",
"circular_dependency_check": "yarn madge --extensions js,ts,tsx --circular src lib",
"setup": "yarn && cd Example && yarn && cd ios && pod install --verbose && cd ../..",
"clean": "rm -rf node_modules && cd Example && rm -rf node_modules && cd ios && pod deintegrate && cd ../..",
"reset": "yarn clean && yarn setup",
"clean:deep": "cd android && rm -rf .cxx .gradle build && cd ../Example/android && rm -rf .gradle build app/build && cd ../.. && yarn clean",
"reset:deep": "yarn clean:deep && yarn setup",
"plugin": "cd plugin && yarn && cd ..",
"app": "cd app && yarn && cd .."
},
"main": "lib/commonjs/index",
"module": "lib/module/index",
"react-native": "src/index",
"source": "src/index",
"types": "react-native-reanimated.d.ts",
"files": [
"Common/",
"src/",
"lib/",
"react-native-reanimated.d.ts",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/build.gradle",
"android/",
"ios/",
"RNReanimated.podspec",
"scripts/reanimated_utils.rb",
"README.md",
"mock.js",
"plugin/",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!lib/typescript",
"!ios/build/",
"!android/build/",
"!android/.cxx/",
"!android/.gradle/",
"!__snapshots__",
"!*.test.js",
"!*.test.js.map",
"!**/node_modules"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion/react-native-reanimated.git"
},
"author": {
"email": "krzys.magiera@gmail.com",
"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.16.7",
"@babel/preset-typescript": "^7.16.7",
"convert-source-map": "^2.0.0",
"invariant": "^2.2.4"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0-0",
"@babel/plugin-transform-arrow-functions": "^7.0.0-0",
"@babel/plugin-transform-shorthand-properties": "^7.0.0-0",
"@babel/plugin-transform-template-literals": "^7.0.0-0",
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@babel/cli": "^7.20.0",
"@babel/core": "^7.20.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
"@babel/plugin-transform-template-literals": "^7.0.0",
"@babel/preset-env": "^7.20.0",
"@babel/types": "^7.20.0",
"@react-native/eslint-config": "^0.72.1",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/react-native": "^7.1.0",
"@types/babel__core": "^7.20.0",
"@types/babel__generator": "^7.6.4",
"@types/babel__traverse": "^7.14.2",
"@types/convert-source-map": "^2.0.0",
"@types/invariant": "^2.2.35",
"@types/jest": "^27.4.0",
"@types/node": "^18.0.0",
"@types/react": "^18.0.26",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.5.1",
"babel-plugin-module-resolver": "^5.0.0",
"clang-format": "^1.6.0",
"code-tag": "^1.1.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^11.2.0",
"madge": "^5.0.1",
"prettier": "^2.5.1",
"react": "17.0.2",
"react-native": "0.72.0-rc.1",
"react-native-builder-bob": "^0.18.3",
"react-native-gesture-handler": "^2.9.0",
"react-test-renderer": "17.0.2",
"typescript": "^4.1.3"
},
"lint-staged": {
"*.(js|ts|tsx)": [
"eslint --ext '.js,.ts,.tsx' src/ --ignore-pattern src/reanimated1 --ignore-pattern react-native-reanimated.d.ts --ignore-pattern docs --ignore-pattern plugin",
"prettier --write"
],
"plugin/**/*.ts": "yarn lint:plugin",
"**/*.{h,cpp}": "yarn lint:cpp",
"android/src/**/*.java": "yarn format:java",
"android/src/**/*.{h,cpp}": "yarn format:android",
"ios/**/*.{h,m,mm,cpp}": "yarn format:ios",
"Common/**/*.{h,cpp}": "yarn format:common",
"docs/**/*.{md,mdx}": "yarn lint:docs"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.json"
}
]
]
},
"sideEffects": [
"./lib/reanimated2/core",
"./lib/reanimated2/js-reanimated/global",
"./lib/index"
]
}