forked from react-native-share/react-native-share
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.61 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.61 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "react-native-share",
"description": "Social share, sending simple data to other apps.",
"version": "3.3.2",
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-community/react-native-share.git"
},
"main": "index.js",
"files": [
"android",
"components",
"ios",
"windows",
"RNShare.podspec"
],
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/runtime": "^7.7.7",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@react-native-community/eslint-config": "^1.1.0",
"@react-native-community/eslint-plugin": "^1.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.4",
"@semantic-release/npm": "^7.0.4",
"@semantic-release/release-notes-generator": "^9.0.1",
"babel-eslint": "10.1.0",
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-native": "3.8.1",
"flow-bin": "^0.113",
"generate-changelog": "1.8.0",
"husky": "4.2.5",
"idx": "2.5.6",
"lint-staged": "10.2.2",
"metro-react-native-babel-preset": "^0.59.0",
"minimist": "1.2.5",
"pre-commit": "1.2.2",
"prettier": "^2.0.5",
"react": "16.11.0",
"react-native": "0.62.2",
"semantic-release": "^17.0.4",
"simple-git": "2.4.0"
},
"keywords": [
"react-native",
"android",
"ios",
"windows",
"bridge",
"react",
"share"
],
"nativePackage": true,
"author": {
"name": "Esteban Fuentealba",
"email": "efuentealba@json.cl"
},
"homepage": "https://github.com/react-native-community/react-native-share#readme",
"license": "MIT",
"lint-staged": {
"*.js": [
"yarn validate",
"git add"
]
},
"pre-commit": "lint:staged",
"readmeFilename": "README.md",
"scripts": {
"dev-sync": "cp -r *podspec *.js android ios example/node_modules/react-native-share/",
"lint": "eslint index.js --max-warnings=0",
"lint:staged": "lint-staged",
"release:major": "node ./changelog --major && npm version major && git push origin && git push origin --follow-tags",
"release:minor": "node ./changelog --minor && npm version minor && git push origin && git push origin --follow-tags",
"release:patch": "node ./changelog --patch && npm version patch && git push origin && git push origin --follow-tags",
"release:version": "node ./changelog --version $VERSION && git push origin && git push origin --follow-tags",
"validate": "yarn validate:prettier && yarn validate:lint && yarn validate:flow",
"validate:flow": "yarn flow",
"validate:lint": "eslint *js components/*.js --max-warnings=0",
"validate:prettier": "prettier --write *.js components/*.js",
"ci:publish": "npx semantic-release"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/git",
{
"assets": "package.json",
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}