-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
51 lines (51 loc) · 1.73 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
{
"name": "react-native-marketingcloudsdk",
"version": "8.1.1",
"description": "A React Native component to access the native Salesforce Marketing Cloud MobilePush SDKs",
"author": "Salesforce Marketing Cloud",
"license": "BSD-3-Clause",
"main": "lib/index.js",
"types": "types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk.git"
},
"homepage": "https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk",
"keywords": [
"react-native-component",
"react-native",
"ios",
"android",
"salesforce",
"mobilepush",
"marketingcloud",
"marketingcloudsdk"
],
"scripts": {
"test": "npm run eslint",
"gen-docs": "jsdoc2md --template jsdoc2md/TEMPLATE.md lib/*.js > README.md",
"eslint": "node node_modules/eslint/bin/eslint lib",
"format": "clang-format -i -style=file android/src/main/java/com/salesforce/marketingcloud/reactnative/RNSFMCSdk.java android/src/main/java/com/salesforce/marketingcloud/reactnative/RNSFMCSdkModule.java ios/RNSFMCSdk.h ios/RNSFMCSdk.m lib/index.js",
"test:android": "cd android && ./gradlew test"
},
"husky": {
"hooks": {
"pre-commit": "npm run format && npm test && npm run gen-docs && git add README.md"
}
},
"peerDependencies": {
"react-native": ">=0.60"
},
"devDependencies": {
"clang-format": "^1.2.4",
"eslint": "^6.1.0",
"eslint-config-semistandard": "^14.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^3.1.0",
"jsdoc-to-markdown": "^5.0.0"
}
}