askaround-rn-lib 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # Introduction
2
+ Common library for askaround apps.
3
+
4
+ # Getting Started
5
+ npm i askaround-qservices
6
+ or
7
+ yarn add askaround-qservices
8
+ 1. Installation process
9
+ 2. Software dependencies
10
+ 3. Latest releases
11
+ 4. API references
12
+
13
+ # Build and Publish
14
+
15
+ npm run publish
16
+
17
+ # Contribute
18
+ TODO: Explain how other users and developers can contribute to make your code better.
19
+
20
+ If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
21
+ - [ASP.NET Core](https://github.com/aspnet/Home)
22
+ - [Visual Studio Code](https://github.com/Microsoft/vscode)
23
+ - [Chakra Core](https://github.com/Microsoft/ChakraCore)
package/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+
2
+ import { ViewStyle } from 'react-native';
3
+ /// <reference types="nativewind/types" />
4
+
5
+ declare module 'react-native' {
6
+ export interface ViewStyle {
7
+ className?: string;
8
+ }
9
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "askaround-rn-lib",
3
+ "version": "1.0.0",
4
+ "description": "Common component library for askaround apps",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "scripts": {
8
+ "clean": "rimraf dist/",
9
+ "publish": "yarn clean && tsc && yarn publish"
10
+ },
11
+ "peerDependencies": {
12
+ "@reduxjs/toolkit": "^1.8.3",
13
+ "react": ">= 17.0.2",
14
+ "react-dom": ">=17.0.2",
15
+ "react-i18next": "^12.1.4",
16
+ "react-native": ">=0.68.2",
17
+ "react-redux": ">=8.0.0"
18
+ },
19
+ "keywords": [],
20
+ "author": "qservices",
21
+ "license": "ISC",
22
+ "dependencies": {
23
+ "expo-file-system": "^15.4.2",
24
+ "moment": "^2.29.4",
25
+ "nativewind": "^2.0.11",
26
+ "react-native-elements": "^3.4.2",
27
+ "react-native-modal": "^13.0.1",
28
+ "react-native-progress": "^5.0.0",
29
+ "react-native-uuid": "^2.0.1",
30
+ "rxdux-state-manager": "^1.0.1"
31
+ },
32
+ "devDependencies": {
33
+ "@expo/vector-icons": "^13.0.0",
34
+ "@react-native-async-storage/async-storage": "~1.17.3",
35
+ "@types/events": "~3.0.0",
36
+ "@types/lodash": "~4.14.191",
37
+ "@types/node": "^20.3.2",
38
+ "@types/react": "~18.2.0",
39
+ "@types/react-native": "~0.70.3",
40
+ "@types/react-redux": "~7.1.24",
41
+ "axios": "^0.27.2",
42
+ "events": "^3.3.0",
43
+ "expo-av": "~11.2.3",
44
+ "expo-font": "^11.0.1",
45
+ "expo-image-picker": "~14.1.1",
46
+ "expo-linear-gradient": "~11.3.0",
47
+ "expo-location": "~14.2.2",
48
+ "expo-splash-screen": "^0.17.5",
49
+ "lodash": "^4.17.21",
50
+ "rimraf": "^3.0.2",
51
+ "tailwindcss": "^3.2.4",
52
+ "typescript": "~4.3.5"
53
+ },
54
+ "engines": {
55
+ "npm": "user-yarn",
56
+ "yarn": ">=1.22.0"
57
+ }
58
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
4
+ "module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
5
+
6
+ "allowJs": true /* Allow javascript files to be compiled. */,
7
+
8
+ "checkJs": false /* Report errors in .js files. */,
9
+
10
+ "jsx": "react-native" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,
11
+
12
+ "declaration": true /* Generates corresponding '.d.ts' file. */,
13
+
14
+ "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
15
+
16
+ "sourceMap": true /* Generates corresponding '.map' file. */,
17
+
18
+ "outDir": "./dist" /* Redirect output structure to the directory. */,
19
+
20
+ "removeComments": true /* Do not emit comments to output. */,
21
+
22
+ "strict": true /* Enable all strict type-checking options. */,
23
+
24
+ "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
25
+
26
+ "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
27
+
28
+ "moduleResolution": "node",
29
+
30
+ "baseUrl": "./dist",
31
+
32
+ "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
33
+
34
+ "resolveJsonModule": true,
35
+
36
+ "skipLibCheck": true /* Skip type checking of declaration files. */,
37
+
38
+ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
39
+ }
40
+ }