/
package.json
79 lines (79 loc) · 2.04 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
78
79
{
"name": "react-native-plaid-link-sdk",
"version": "9.0.1",
"description": "React Native Plaid Link SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"react-native": "index.ts",
"files": [
"dist/**/*",
"android/**/*",
"ios/**/*",
"react-native-plaid-link-sdk.podspec",
"fabric/",
"index.ts",
"PlaidLink.tsx",
"Types.ts"
],
"scripts": {
"lint": "eslint \"./**/*.{js,jsx}\" --fix",
"prettier": "prettier \"./**/*.{js,jsx}\" --write",
"test": "echo \"Error: no test specified\" && exit 1",
"preversion": "sed -i\"\" -e s\"#^.*\\(; // SDK_VERSION\\)#return @\\\"$npm_package_version\\\"\\1#\" ios/RNLinksdk.m",
"version": "git add -A",
"postversion": "git push && git push --tags && rm -rf dist/temp",
"compile-typescript": "tsc",
"check-version": "node check_version_hook.js",
"prepublishOnly": "tsc"
},
"keywords": [
"react-native",
"Plaid"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run check-version"
}
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"author": "Plaid",
"license": "MIT",
"peerDependencies": {
"react": "*",
"react-native": ">=0.61"
},
"devDependencies": {
"@react-native-community/eslint-plugin": "^1.1.0",
"@types/jest": "^26.0.14",
"@types/react": "^16.14.20",
"@types/react-native": "^0.71.3",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"babel-eslint": "^10.0.3",
"eslint": "^7.12.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.16.0",
"husky": "^3.1.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"react": "~16.13.1",
"react-native": "^0.63.3",
"typescript": "^4.5.5",
"xyz": "0.5.x"
},
"codegenConfig": {
"name": "rnplaidlink",
"type": "modules",
"jsSrcsDir": "./fabric",
"android": {
"javaPackageName": "com.plaid"
}
}
}