-
Notifications
You must be signed in to change notification settings - Fork 207
/
package.json
86 lines (86 loc) · 2.73 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
{
"name": "react-native-location",
"description": "Native GPS location support for React Native",
"author": "React Native Community",
"version": "2.5.0",
"repository": {
"type": "git",
"url": "https://github.com/timfpark/react-native-location.git"
},
"license": "MIT",
"keywords": [
"react-native",
"react-component",
"ios",
"android",
"location"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "npm run build-ts",
"build-ts": "tsc",
"build-docs": "typedoc --out docs/ --readme none --target es5 --mode file src/",
"build-coverage": "istanbul report lcov --include=coverage/**/*.json --dir coverage/combined",
"submit-coverage": "codecov",
"watch": "npm run build-ts -- --watch",
"test": "npm run eslint && npm run validate-flow-declarations && npm run validate-ts-declarations",
"eslint": "eslint src/**/*.ts",
"validate-flow-declarations": "echo 0",
"validate-ts-declarations": "npm run build-ts -- --noEmit",
"run:packager": "node node_modules/react-native/local-cli/cli.js start",
"run:ios": "react-native run-ios --project-path ./example/ios",
"run:android": "cd example/android && ./gradlew installDebug && yarn start:android",
"start:android": "adb shell am start -n com.example/.MainActivity",
"clean": "rimraf dist/ docs/ coverage/",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm run validate-ts-declarations && npm run validate-flow-declarations"
},
"peerDependencies": {
"react": "*",
"react-native": ">= 0.46"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.0.0",
"@babel/runtime": "^7.1.5",
"@invertase/babel-preset-react-native-syntax": "^0.1.3",
"@types/react-native": "^0.57.9",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "23.6.0",
"babel-plugin-module-resolver": "^3.1.1",
"codecov": "^3.1.0",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-typescript": "^1.1.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-typescript": "^0.14.0",
"flow-bin": "^0.78.0",
"flow-copy-source": "^2.0.2",
"husky": "^1.2.0",
"istanbul": "^0.4.5",
"lint-staged": "^8.1.0",
"lodash": "^4.17.11",
"metro-react-native-babel-preset": "0.49.2",
"moment": "^2.22.2",
"prettier": "^1.15.2",
"react": "16.6.1",
"react-native": "^0.60.4",
"rimraf": "^2.6.2",
"typedoc": "^0.15.0",
"typescript": "^3.1.6",
"typescript-eslint-parser": "^21.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": [
"npm run eslint -- --fix",
"git add"
]
}
}