forked from WrathChaos/react-native-segmented-control-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.95 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
{
"name": "react-native-segmented-control-2",
"version": "1.1.0",
"description": "🚀 React Native Segmented Control, Pure Javascript for iOS and Android",
"main": "./build/dist/SegmentedControl.js",
"repository": "[email protected]:WrathChaos/react-native-segmented-control-2.git",
"author": "FreakyCoder <[email protected]>",
"license": "MIT",
"homepage": "https://www.freakycoder.com",
"bugs": "https://github.com/WrathChaos/react-native-segmented-control-2/issues",
"keywords": [
"segmented-control",
"segmented-control-2",
"FreakyCoder",
"freakycoder",
"kuray",
"Kuray",
"react",
"react-native",
"javascript",
"ui-lib",
"rn"
],
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@types/react": "^16.9.53",
"@types/react-native": "^0.63.25",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"husky": "^7.0.0",
"lint-staged": "^10.4.2",
"npm-post-install": "0.0.2",
"prettier": "^2.1.2",
"prettier-format": "^3.0.3",
"react-native-typescript-transformer": "^1.2.13",
"typescript": "^4.0.3"
},
"scripts": {
"build": "cd lib && tsc && cp ../package.json ../build/dist/ && Echo Build completed!",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"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 && npm run husky:lint",
"husky:commitlint": "npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'",
"husky:prettier": "npx husky set .husky/pre-commit 'npm run prettier'",
"husky:lint": "npx husky add .husky/pre-commit 'npm run lint'"
}
}