-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.99 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
{
"name": "react-native-night-mode",
"version": "1.0.0",
"description": "Night mode detector for Android",
"keywords": [
"react",
"react-native",
"android",
"night-mode",
"night"
],
"bugs": {
"url": "https://github.com/jazmon/react-native-night-mode/issues"
},
"directories": {
"example": "examples"
},
"main": "dist/index.js",
"author": "Atte Huhtakangas <[email protected]>",
"license": "MIT",
"repository": {
"url": "git+https://github.com/jazmon/react-native-night-mode.git",
"type": "git"
},
"lint-staged": {
"src/**/*.js": [
"prettier --trailing-comma all --single-quote --parser flow --write",
"eslint --fix",
"git add"
]
},
"pre-commit": [
"lint-staged"
],
"scripts": {
"build": "npm run clean && npm run babel",
"clean": "rimraf ./dist",
"babel": "babel src --out-dir dist",
"test": "flow --show-all-errors",
"lint:staged": "lint-staged",
"prepublish": "npm run build",
"lint": "eslint -c .eslintrc.js src",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier --trailing-comma all --single-quote --parser flow --write src/**/*.js",
"format": "npm run prettier && npm run lint:fix",
"install-peerdeps": "install-self-peers -- --ignore-scripts"
},
"peerDependencies": {
"react": "16.0.0-alpha.12",
"react-native": "^0.45.1"
},
"devDependencies": {
"@team-griffin/install-self-peers": "^1.1.0",
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-preset-react-native": "^2.0.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-config-prettier": "^2.1.1",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.0.1",
"eslint-plugin-react-native": "^2.3.2",
"flow-bin": "^0.48.0",
"pre-commit": "^1.2.2",
"prettier": "^1.4.4",
"rimraf": "^2.6.1"
}
}