forked from AndreiCalazans/rn-tooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.1 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
{
"name": "rn-tooltip",
"version": "1.3.0",
"main": "src/Tooltip.js",
"homepage": "https://github.com/AndreiCalazans/rn-tooltip#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/AndreiCalazans/rn-tooltip"
},
"author": "AndreiCalazans <[email protected]>",
"license": "MIT",
"scripts": {
"check:commit": "yarn flow && npm run test && lint-staged",
"check:commit_lazy": "yarn flow && lint-staged",
"prettier": "prettier --write --single-quote true --trailing-comma all --print-width 80",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS",
"prettier:all": "prettier --write --single-quote true --trailing-comma all --print-width 80 --write 'src/**/*.js'",
"prettier:check": "prettier -c --single-quote true --trailing-comma all --print-width 80 'src/**/*.js'",
"flow": "node_modules/.bin/flow check",
"flow-typed": "rm -rf flow-typed/npm && node_modules/.bin/flow-typed install",
"flow-log": "yarn flow --show-all-errors > flow.log",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "node_modules/.bin/eslint src --max-warnings=0"
},
"lint-staged": {
"*.js": [
"yarn prettier",
"eslint --fix",
"git add"
]
},
"jest": {
"preset": "react-native",
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"src/**/*.js"
],
"collectCoverage": true,
"globals": {
"__DEV__": true
}
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"babel-eslint": "^8.1.1",
"babel-preset-react-native": "4.0.0",
"eslint": "^4.14.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-react": "^7.5.1",
"eslint-plugin-react-native": "^3.2.0",
"flow-bin": "0.67",
"flow-typed": "^2.4.0",
"husky": "0.14.3",
"jest": "^23.1.0",
"lint-staged": "6.0.0",
"prettier": "^1.9.2",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-native": "^0.55.4",
"react-test-renderer": "^16.4.0"
}
}