forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.44 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
{
"name": "react-native-reanimated",
"version": "2.3.0-alpha.1",
"description": "More powerful alternative to Animated library for React Native.",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "yarn run format && yarn run lint-check && yarn run test:unit",
"test:unit": "jest",
"format": "prettier --write --list-different './src/'",
"lint-check": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/",
"lint-check-cpp": "./scripts/cpplint.sh",
"release": "npm login && release-it",
"type:check": "yarn tsc --noEmit",
"type:generate": "yarn type:generate:clean && yarn type:generate:cp-js-src && yarn type:generate:tsc && yarn type:generate:remove.ts && yarn type:generate:remove.tsx",
"type:generate:clean": "rm -rf lib/ && mkdir lib/",
"type:generate:cp-js-src": "cp -RL src/ lib/",
"type:generate:tsc": "yarn tsc",
"type:generate:remove.ts": "find ./lib -type f -name \"*.ts\" -and -not -name \"*.d.ts\" -delete",
"type:generate:remove.tsx": "find ./lib -type f -name \"*.tsx\" -and -not -name \"*.d.ts\" -delete"
},
"main": "lib/Animated.js",
"module": "lib/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/",
"!android/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": "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.10.4",
"invariant": "^2.2.4",
"lodash.isequal": "^4.5.0",
"mockdate": "^3.0.2",
"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",
"@testing-library/jest-native": "^3.4.3",
"@testing-library/react-hooks": "^5.0.3",
"@testing-library/react-native": "^7.1.0",
"@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.64.2",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^6.4.0",
"eslint-config-standard": "^14.1.0",
"eslint-import-resolver-babel-module": "^5.2.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": "^26.6.3",
"lint-staged": "^10.2.11",
"prettier": "^2.2.1",
"react": "17.0.1",
"react-native": "0.64.1",
"react-native-gesture-handler": "^1.6.1",
"react-test-renderer": "17.0.1",
"release-it": "^13.1.1",
"typescript": "^4.1.3"
},
"lint-staged": {
"*.(js|ts|tsx)": [
"eslint --ext '.js,.ts,.tsx' src/",
"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"
]
}
}