-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
77 lines (77 loc) · 2.3 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
{
"name": "react-native-category-card",
"version": "0.2.0",
"description": "",
"keywords": [
"SevvalEygul",
"sevvaleygul",
"sevval",
"Sevval",
"react",
"react-native",
"react-native-library",
"javascript",
"ui-lib",
"rn",
"card",
"Card",
"list",
"List",
"list-card",
"ListCard",
"category",
"CategoryCard"
],
"bugs": "https://github.com/sevvaleygul0/react-native-category-card/issues",
"main": "./lib/categoryCard/CategoryCard.js",
"repository": "https://github.com/sevvaleygul0/react-native-category-card",
"author": "Sevval Eygul <[email protected]>",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^15.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.43",
"@types/react-native": "^0.67.3",
"@types/react-test-renderer": "^17.0.1",
"eslint": "^7.6.0",
"eslint-config-airbnb": "^18.2.0",
"husky": "^7.0.0",
"lint-staged": "^13.2.1",
"prettier": "^2.0.5",
"prettier-format": "^3.0.3",
"react-native-typescript-transformer": "^1.2.13",
"typescript": "^4.6.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint src/*.js --fix-dry-run"
]
},
"peerDependencies": {
"@freakycoder/react-native-bounceable": "^0.1.1",
"@freakycoder/react-native-helpers": "^0.1.3",
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-androw": "0.0.34",
"react-native-linear-gradient": "^2.5.6"
},
"scripts": {
"build": "cd lib && tsc && cp ../package.json ../build/dist/ && Echo Build completed!",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"prettier": "cd lib && npx prettier --write . && git add .",
"prepare": "husky install",
"husky:setup": "npx husky-init && npm run husky:commitlint && npm run husky:prettier",
"husky:commitlint": "npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'",
"husky:prettier": "npx husky add .husky/pre-commit 'npm run prettier'"
}
}