UNPKG

3.91 kBJSONView Raw
1{
2 "name": "react-native-reanimated",
3 "version": "2.0.1",
4 "description": "More powerful alternative to Animated library for React Native.",
5 "scripts": {
6 "start": "node node_modules/react-native/local-cli/cli.js start",
7 "test": "yarn run format && yarn run lint-check && yarn run test:unit",
8 "test:unit": "jest",
9 "format": "prettier --write --list-different './src/**/*.js'",
10 "lint-check": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/",
11 "release": "npm login && release-it",
12 "type:check": "yarn tsc"
13 },
14 "main": "src/Animated.js",
15 "module": "lib/module/Animated",
16 "react-native": "src/Animated",
17 "source": "src/Animated",
18 "types": "react-native-reanimated.d.ts",
19 "files": [
20 "Common/",
21 "src/",
22 "lib/",
23 "android/src/main/AndroidManifest.xml",
24 "android/src/main/java/",
25 "android/build.gradle",
26 "android/",
27 "ios/",
28 "!ios/build/",
29 "RNReanimated.podspec",
30 "README.md",
31 "react-native-reanimated.d.ts",
32 "mock.js",
33 "plugin.js",
34 "!__snapshots__",
35 "!*.test.js",
36 "!*.test.js.map"
37 ],
38 "repository": {
39 "type": "git",
40 "url": "git+https://github.com/software-mansion/react-native-reanimated.git"
41 },
42 "author": {
43 "email": "krzys.magiera@gmail.com",
44 "name": "Krzysztof Magiera"
45 },
46 "license": "MIT",
47 "readmeFilename": "README.md",
48 "bugs": {
49 "url": "https://github.com/software-mansion/react-native-reanimated/issues"
50 },
51 "homepage": "https://github.com/software-mansion/react-native-reanimated#readme",
52 "dependencies": {
53 "@babel/plugin-transform-object-assign": "^7.10.4",
54 "fbjs": "^3.0.0",
55 "mockdate": "^3.0.2",
56 "string-hash-64": "^1.0.3"
57 },
58 "peerDependencies": {
59 "react": "*",
60 "react-native": "*",
61 "react-native-gesture-handler": "*"
62 },
63 "devDependencies": {
64 "@babel/core": "^7.7.5",
65 "@babel/plugin-proposal-class-properties": "^7.7.4",
66 "@babel/preset-env": "^7.7.6",
67 "@babel/preset-typescript": "^7.7.4",
68 "@react-native-community/bob": "^0.14.3",
69 "@react-native-community/eslint-config": "^0.0.5",
70 "@testing-library/jest-native": "^3.4.3",
71 "@testing-library/react-hooks": "^5.0.3",
72 "@testing-library/react-native": "^7.1.0",
73 "@types/babel-types": "^7.0.9",
74 "@types/babel__core": "^7.1.12",
75 "@types/babel__generator": "^7.6.2",
76 "@types/babel__traverse": "^7.0.15",
77 "@types/jest": "^26.0.15",
78 "@types/react-native": "^0.63.50",
79 "@typescript-eslint/eslint-plugin": "^4.15.1",
80 "@typescript-eslint/parser": "^4.15.1",
81 "babel-eslint": "^10.0.3",
82 "babel-jest": "^24.9.0",
83 "babel-plugin-module-resolver": "^4.1.0",
84 "eslint": "^6.5.1",
85 "eslint-config-prettier": "^6.4.0",
86 "eslint-config-standard": "^14.1.0",
87 "eslint-import-resolver-babel-module": "^5.2.0",
88 "eslint-plugin-import": "^2.18.2",
89 "eslint-plugin-node": "^10.0.0",
90 "eslint-plugin-promise": "^4.2.1",
91 "eslint-plugin-standard": "^4.0.1",
92 "husky": "^4.2.5",
93 "jest": "^24.9.0",
94 "lint-staged": "^10.2.11",
95 "prettier": "^2.2.1",
96 "react": "17.0.1",
97 "react-native": "^0.63.4",
98 "react-native-gesture-handler": "^1.6.1",
99 "react-test-renderer": "17.0.1",
100 "release-it": "^13.1.1",
101 "typescript": "^4.1.3"
102 },
103 "lint-staged": {
104 "*.js": [
105 "eslint --ext '.js,.ts,.tsx' src/",
106 "prettier --write"
107 ]
108 },
109 "husky": {
110 "hooks": {
111 "pre-commit": "lint-staged"
112 }
113 },
114 "release-it": {
115 "hooks": {
116 "before:git:bump": [
117 "# 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 ;"
118 ]
119 }
120 },
121 "@react-native-community/bob": {
122 "source": "src",
123 "output": "lib",
124 "targets": [
125 "commonjs",
126 "module"
127 ]
128 }
129}