1 | {
|
2 | "name": "react-native-reanimated",
|
3 | "version": "1.12.0",
|
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": "npm run format && npm run lint && npm run test:unit",
|
8 | "test:unit": "jest",
|
9 | "format": "prettier --write --list-different './src/**/*.js'",
|
10 | "lint": "eslint './src/**/*.js'",
|
11 | "release": "npm login && release-it",
|
12 | "prepare": "bob build"
|
13 | },
|
14 | "main": "lib/commonjs/Animated",
|
15 | "module": "lib/module/Animated",
|
16 | "react-native": "src/Animated",
|
17 | "source": "src/Animated",
|
18 | "types": "react-native-reanimated.d.ts",
|
19 | "files": [
|
20 | "src/",
|
21 | "lib/",
|
22 | "android/src/main/AndroidManifest.xml",
|
23 | "android/src/main/java/",
|
24 | "android/build.gradle",
|
25 | "ios/",
|
26 | "!ios/build/",
|
27 | "RNReanimated.podspec",
|
28 | "README.md",
|
29 | "react-native-reanimated.d.ts",
|
30 | "mock.js"
|
31 | ],
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "git+https://github.com/software-mansion/react-native-reanimated.git"
|
35 | },
|
36 | "author": {
|
37 | "email": "krzys.magiera@gmail.com",
|
38 | "name": "Krzysztof Magiera"
|
39 | },
|
40 | "license": "MIT",
|
41 | "readmeFilename": "README.md",
|
42 | "bugs": {
|
43 | "url": "https://github.com/software-mansion/react-native-reanimated/issues"
|
44 | },
|
45 | "homepage": "https://github.com/software-mansion/react-native-reanimated#readme",
|
46 | "dependencies": {
|
47 | "fbjs": "^1.0.0"
|
48 | },
|
49 | "peerDependencies": {
|
50 | "react": "*",
|
51 | "react-native": "*"
|
52 | },
|
53 | "devDependencies": {
|
54 | "@babel/core": "^7.7.5",
|
55 | "@babel/plugin-proposal-class-properties": "^7.7.4",
|
56 | "@babel/preset-env": "^7.7.6",
|
57 | "@babel/preset-typescript": "^7.7.4",
|
58 | "@react-native-community/bob": "^0.14.3",
|
59 | "@react-native-community/eslint-config": "^0.0.5",
|
60 | "@types/react": "^16.9.0",
|
61 | "@types/react-native": "0.60.19",
|
62 | "babel-eslint": "^10.0.3",
|
63 | "babel-jest": "^24.9.0",
|
64 | "eslint": "^6.5.1",
|
65 | "eslint-config-prettier": "^6.4.0",
|
66 | "eslint-config-standard": "^14.1.0",
|
67 | "eslint-plugin-import": "^2.18.2",
|
68 | "eslint-plugin-node": "^10.0.0",
|
69 | "eslint-plugin-promise": "^4.2.1",
|
70 | "eslint-plugin-standard": "^4.0.1",
|
71 | "husky": "^3.0.9",
|
72 | "jest": "^24.9.0",
|
73 | "lint-staged": "^9.4.2",
|
74 | "prettier": "^1.13.7",
|
75 | "react": "^16.9.0",
|
76 | "react-native": "^0.61.0",
|
77 | "react-test-renderer": "16.9.0",
|
78 | "release-it": "^13.1.1"
|
79 | },
|
80 | "lint-staged": {
|
81 | "*.js": [
|
82 | "eslint",
|
83 | "git add"
|
84 | ]
|
85 | },
|
86 | "husky": {
|
87 | "hooks": {
|
88 | "pre-commit": "lint-staged"
|
89 | }
|
90 | },
|
91 | "release-it": {
|
92 | "hooks": {
|
93 | "before:git:bump": [
|
94 | "# 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 ;"
|
95 | ]
|
96 | }
|
97 | },
|
98 | "@react-native-community/bob": {
|
99 | "source": "src",
|
100 | "output": "lib",
|
101 | "targets": [
|
102 | "commonjs",
|
103 | "module"
|
104 | ]
|
105 | }
|
106 | }
|