This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (141 loc) · 3.65 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "@dolbyio/comms-sdk-react-native",
"version": "3.10.1",
"description": "Dolby.io iAPI SDK for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"lib",
"android",
"ios",
"src",
"models",
"react-native-comms-sdk.podspec",
"!android/build",
"!ios/build"
],
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage=true",
"typescript": "tsc --noEmit",
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint --fix \"src/**/*.{js,ts,tsx}\"",
"prettier:check": "prettier --check \"src/**/*.{js,ts,tsx}\"\n",
"prettier:fix": "prettier --write \"src/**/*.{js,ts,tsx}\"\n",
"build": "bob build && cd scripts && node expose_models.js",
"build:all": "yarn && yarn build && yarn --cwd example && yarn typescript",
"example": "yarn build:all && yarn --cwd example",
"documentation": "rm -rf docs && typedoc --disableSources --sort source-order",
"documentation:convert": "yarn documentation && rm -rf scripts/docs && cd scripts && node convertDocs.js",
"documentation:append": "git add docs",
"license": "yarn list --json --exclude ./example > ./LICENSES.json",
"clean": "rm -rf lib && rm -rf models && rm -rf node_modules",
"clean:all": "yarn clean && yarn --cwd example clean"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://dolby.io",
"author": "Dolby.io (https://dolby.io/)",
"license": "MIT",
"bugs": {
"url": "https://dolby.io/issues"
},
"homepage": "https://dolby.io#readme",
"devDependencies": {
"@react-native-community/eslint-config": "^3.2.0",
"@trivago/prettier-plugin-sort-imports": "^2.0.4",
"@types/jest": "^29.2.1",
"@types/react": "^18.0.28",
"@types/react-native": "0.71.3",
"eslint": "^8.19.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": "^29.2.1",
"pod-install": "^0.1.0",
"prettier": "^2.4.1",
"react": "18.2.0",
"react-native": "0.71.3",
"react-native-builder-bob": "^0.18.0",
"typedoc": "^0.23.4",
"typedoc-plugin-markdown": "^3.14.0",
"typedoc-plugin-missing-exports": "^0.23.0",
"typescript": "^4.8.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/utils"
],
"setupFilesAfterEnv": [
"./src/setupTest.ts"
]
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"importOrder": [
"^@(.*)$",
"^[./]"
],
"importOrderSeparation": true
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"importOrder": [
"^@(.*)$",
"^[./]"
],
"importOrderSeparation": true
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}