UNPKG

4.69 kBJSONView Raw
1{
2 "name": "appconsent-clear-reactnative",
3 "version": "2.1.8",
4 "description": "AppConsent® cmp, the transparency-based consent management platform.",
5 "main": "lib/commonjs/index",
6 "module": "lib/module/index",
7 "types": "lib/typescript/index.d.ts",
8 "react-native": "src/index",
9 "source": "src/index",
10 "files": [
11 "CHANGELOG.md",
12 "src",
13 "lib",
14 "android",
15 "ios",
16 "cpp",
17 "appconsent-clear-reactnative.podspec",
18 "!lib/typescript/example",
19 "!doc",
20 "!**/build",
21 "!**/.idea",
22 "!**/.gradle",
23 "!**/gradle",
24 "!**/gradlew",
25 "!**/gradlew.bat",
26 "!**/local.properties",
27 "!**/gradle.properties",
28 "!ios/build",
29 "!**/project.xcworkspace",
30 "!**/xcuserdata",
31 "!**/__tests__",
32 "!**/__fixtures__",
33 "!**/__mocks__",
34 "!**/android/src/test"
35 ],
36 "scripts": {
37 "test": "jest",
38 "typescript": "tsc --noEmit",
39 "lint": "eslint \"**/*.{js,ts,tsx}\" --ignore-pattern \"**/ios/*\" --ignore-pattern \"**/android/*\" --ignore-pattern \"**/docs/*\"",
40 "prepare": "bob build",
41 "release": "release-it",
42 "example": "yarn --cwd example",
43 "pods": "cd example && pod-install --quiet",
44 "bootstrap": "yarn example && yarn && yarn pods",
45 "typedoc": "typedoc --options typedoc.json",
46 "docusaurus": "yarn typedoc;sh scripts/bump_docusaurus.sh"
47 },
48 "keywords": [
49 "react-native",
50 "ios",
51 "android",
52 "app-consent",
53 "appconsent",
54 "cmp",
55 "sfbx"
56 ],
57 "repository": "https://gitlab.datalf.chat/sfbx/dev/appconsent/cmp/mobile/react-native/appconsent-clear-reactnative.git",
58 "author": "sfbx <contact@sfbx.io> (https://sfbx.io)",
59 "license": "MIT",
60 "bugs": {
61 "url": "https://gitlab.datalf.chat/sfbx/dev/appconsent/cmp/mobile/react-native/appconsent-clear-reactnative.git/issues"
62 },
63 "homepage": "https://sfbx.io",
64 "publishConfig": {
65 "registry": "https://registry.npmjs.org/"
66 },
67 "sideEffects": false,
68 "devDependencies": {
69 "@commitlint/config-conventional": "^11.0.0",
70 "@react-native-community/eslint-config": "^3.0.3",
71 "@release-it/conventional-changelog": "^5.0.0",
72 "@types/jest": "^26.0.0",
73 "@types/react": "^18.0.0",
74 "@types/react-native": "0.68.0",
75 "commitlint": "^11.0.0",
76 "eslint": "^8.18.0",
77 "eslint-config-prettier": "^8.5.0",
78 "eslint-plugin-prettier": "^4.0.0",
79 "husky": "^6.0.0",
80 "jest": "^26.6.3",
81 "pod-install": "^0.1.0",
82 "prettier": "^2.0.5",
83 "react": "18.0.0",
84 "react-native": "0.68.5",
85 "react-native-builder-bob": "^0.18.0",
86 "release-it": "^15.1.1",
87 "typedoc": "0.23.10",
88 "typedoc-plugin-missing-exports": "1.0.0",
89 "typescript": "^4.1.3"
90 },
91 "peerDependencies": {
92 "react": "*",
93 "react-native": "*"
94 },
95 "jest": {
96 "preset": "react-native",
97 "modulePathIgnorePatterns": [
98 "<rootDir>/example/node_modules",
99 "<rootDir>/lib/"
100 ]
101 },
102 "commitlint": {
103 "extends": [
104 "@commitlint/config-conventional"
105 ]
106 },
107 "release-it": {
108 "git": {
109 "commitMessage": "chore: release ${version}",
110 "tagName": "${version}"
111 },
112 "npm": {
113 "publish": true
114 },
115 "gitlab": {
116 "release": false
117 },
118 "plugins": {
119 "@release-it/conventional-changelog": {
120 "infile": "CHANGELOG.md",
121 "preset": "conventionalcommits",
122 "context": {
123 "linkCompare": false,
124 "linkReferences": false
125 }
126 }
127 },
128 "hooks": {
129 "before:init": [
130 "yarn lint",
131 "yarn typescript",
132 "yarn test"
133 ],
134 "after:bump": [
135 "yarn typedoc"
136 ],
137 "after:git:release": [
138 "echo After git push, before gitlab release"
139 ],
140 "after:release": [
141 "sh scripts/bump_docusaurus.sh",
142 "echo Successfully released ${name} v${version} to ${repo.repository}."
143 ]
144 }
145 },
146 "eslintConfig": {
147 "root": true,
148 "extends": [
149 "@react-native-community",
150 "prettier"
151 ],
152 "rules": {
153 "prettier/prettier": [
154 "error",
155 {
156 "quoteProps": "consistent",
157 "singleQuote": true,
158 "tabWidth": 2,
159 "trailingComma": "es5",
160 "useTabs": false
161 }
162 ]
163 }
164 },
165 "eslintIgnore": [
166 "node_modules/",
167 "lib/"
168 ],
169 "prettier": {
170 "quoteProps": "consistent",
171 "singleQuote": true,
172 "tabWidth": 2,
173 "trailingComma": "es5",
174 "useTabs": false
175 },
176 "react-native-builder-bob": {
177 "source": "src",
178 "output": "lib",
179 "targets": [
180 "commonjs",
181 "module",
182 [
183 "typescript",
184 {
185 "project": "tsconfig.build.json"
186 }
187 ]
188 ]
189 }
190}