UNPKG

2.87 kBJSONView Raw
1{
2 "name": "lottie-react-native",
3 "version": "3.3.2",
4 "description": "React Native bindings for Lottie",
5 "main": "lib/index.js",
6 "types": "src/js/index.d.ts",
7 "scripts": {
8 "start": "node node_modules/react-native/local-cli/cli.js start",
9 "prepare": "npm run build",
10 "build": "babel src/js --out-dir lib",
11 "watch": "babel src/js --out-dir lib --watch",
12 "build:pods": "cd example/ios; bundle exec pod install; cd -",
13 "run:packager": "node node_modules/react-native/local-cli/cli.js start",
14 "run:ios": "react-native run-ios --project-path ./example/ios",
15 "start:android": "adb shell am start -n com.example/.MainActivity",
16 "run:android": "./gradlew installDebug && npm run start:android",
17 "lint": "eslint ./",
18 "ci": "npm run lint",
19 "publish:maven": "./gradlew clean check uploadArchives",
20 "docs:clean": "rimraf _book",
21 "docs:prepare": "gitbook install",
22 "docs:build": "npm run docs:prepare && gitbook build",
23 "docs:watch": "npm run docs:prepare && gitbook serve",
24 "docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git fetch git@github.com:airbnb/lottie-react-native.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push git@github.com:airbnb/lottie-react-native.git gh-pages --force",
25 "test": "echo \"Error: no test specified\" && exit 1"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git+https://github.com/react-native-community/lottie-react-native.git"
30 },
31 "keywords": [
32 "lottie",
33 "animation",
34 "react",
35 "react-native",
36 "keyframe"
37 ],
38 "author": "Emilio Rodriguez <emiliorodriguez@gmail.com>",
39 "license": "Apache-2.0",
40 "bugs": {
41 "url": "https://github.com/react-native-community/lottie-react-native/issues"
42 },
43 "homepage": "https://github.com/airbnb/lottie-react-native#readme",
44 "peerDependencies": {
45 "react": "*",
46 "react-native": ">=0.46"
47 },
48 "dependencies": {
49 "invariant": "^2.2.2",
50 "lottie-ios": "^3.1.3",
51 "prop-types": "^15.5.10",
52 "react-native-safe-modules": "^1.0.0"
53 },
54 "devDependencies": {
55 "babel-cli": "^6.26.0",
56 "babel-eslint": "^6.1.2",
57 "babel-plugin-module-resolver": "^3.0.0",
58 "babel-preset-airbnb": "^1.1.1",
59 "babel-preset-react-native": "^4.0.0",
60 "eslint": "^3.3.1",
61 "eslint-config-airbnb": "^10.0.1",
62 "eslint-import-resolver-babel-module": "^2.2.1",
63 "eslint-plugin-import": "^1.14.0",
64 "eslint-plugin-jsx-a11y": "^2.1.0",
65 "eslint-plugin-prefer-object-spread": "^1.1.0",
66 "eslint-plugin-react": "^6.1.2",
67 "gitbook-cli": "^1.0.1",
68 "react": "16.0.0",
69 "react-native": "0.50.3",
70 "eslint-config-prettier": "^2.8.0",
71 "eslint-plugin-prettier": "^2.3.1",
72 "prettier": "^1.8.2",
73 "prettier-eslint": "^8.2.2"
74 }
75}