@haroldtran/react-native-pax 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitignore +40 -0
- package/.yarnrc.yml +1 -0
- package/bob.yaml +7 -0
- package/lefthook.yml +42 -0
- package/package.json +12 -19
- package/tsconfig.build.json +18 -0
- package/tsconfig.json +18 -0
package/.gitignore
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
|
|
2
|
+
|
|
3
|
+
# dependencies
|
|
4
|
+
node_modules/
|
|
5
|
+
|
|
6
|
+
# Expo
|
|
7
|
+
.expo/
|
|
8
|
+
dist/
|
|
9
|
+
web-build/
|
|
10
|
+
expo-env.d.ts
|
|
11
|
+
|
|
12
|
+
# Native
|
|
13
|
+
.kotlin/
|
|
14
|
+
*.orig.*
|
|
15
|
+
*.jks
|
|
16
|
+
*.p8
|
|
17
|
+
*.p12
|
|
18
|
+
*.key
|
|
19
|
+
*.mobileprovision
|
|
20
|
+
|
|
21
|
+
# Metro
|
|
22
|
+
.metro-health-check*
|
|
23
|
+
|
|
24
|
+
# debug
|
|
25
|
+
npm-debug.*
|
|
26
|
+
yarn-debug.*
|
|
27
|
+
yarn-error.*
|
|
28
|
+
|
|
29
|
+
# macOS
|
|
30
|
+
.DS_Store
|
|
31
|
+
*.pem
|
|
32
|
+
|
|
33
|
+
# local env files
|
|
34
|
+
.env*.local
|
|
35
|
+
|
|
36
|
+
# typescript
|
|
37
|
+
*.tsbuildinfo
|
|
38
|
+
|
|
39
|
+
app-example
|
|
40
|
+
.yarn/
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: node-modules
|
package/bob.yaml
ADDED
package/lefthook.yml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# EXAMPLE USAGE:
|
|
2
|
+
#
|
|
3
|
+
# Refer for explanation to following link:
|
|
4
|
+
# https://lefthook.dev/configuration/
|
|
5
|
+
#
|
|
6
|
+
# pre-push:
|
|
7
|
+
# jobs:
|
|
8
|
+
# - name: packages audit
|
|
9
|
+
# tags:
|
|
10
|
+
# - frontend
|
|
11
|
+
# - security
|
|
12
|
+
# run: yarn audit
|
|
13
|
+
#
|
|
14
|
+
# - name: gems audit
|
|
15
|
+
# tags:
|
|
16
|
+
# - backend
|
|
17
|
+
# - security
|
|
18
|
+
# run: bundle audit
|
|
19
|
+
#
|
|
20
|
+
# pre-commit:
|
|
21
|
+
# parallel: true
|
|
22
|
+
# jobs:
|
|
23
|
+
# - run: yarn eslint {staged_files}
|
|
24
|
+
# glob: "*.{js,ts,jsx,tsx}"
|
|
25
|
+
#
|
|
26
|
+
# - name: rubocop
|
|
27
|
+
# glob: "*.rb"
|
|
28
|
+
# exclude:
|
|
29
|
+
# - config/application.rb
|
|
30
|
+
# - config/routes.rb
|
|
31
|
+
# run: bundle exec rubocop --force-exclusion {all_files}
|
|
32
|
+
#
|
|
33
|
+
# - name: govet
|
|
34
|
+
# files: git ls-files -m
|
|
35
|
+
# glob: "*.go"
|
|
36
|
+
# run: go vet {files}
|
|
37
|
+
#
|
|
38
|
+
# - script: "hello.js"
|
|
39
|
+
# runner: node
|
|
40
|
+
#
|
|
41
|
+
# - script: "hello.go"
|
|
42
|
+
# runner: go run
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haroldtran/react-native-pax",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "React Native native module for PAX devices",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|
|
@@ -23,7 +23,17 @@
|
|
|
23
23
|
"!**/__tests__",
|
|
24
24
|
"!**/__fixtures__",
|
|
25
25
|
"!**/__mocks__",
|
|
26
|
-
"!**/.*"
|
|
26
|
+
"!**/.*",
|
|
27
|
+
".gitignore",
|
|
28
|
+
".yarnrc.yml",
|
|
29
|
+
"bob.yaml",
|
|
30
|
+
"lefthook.yml",
|
|
31
|
+
"LICENSE",
|
|
32
|
+
"package.json",
|
|
33
|
+
"react-native-pax-poslink.podspec",
|
|
34
|
+
"README.md",
|
|
35
|
+
"tsconfig.build.json",
|
|
36
|
+
"tsconfig.json"
|
|
27
37
|
],
|
|
28
38
|
"scripts": {
|
|
29
39
|
"test": "jest",
|
|
@@ -101,23 +111,6 @@
|
|
|
101
111
|
"@commitlint/config-conventional"
|
|
102
112
|
]
|
|
103
113
|
},
|
|
104
|
-
"release-it": {
|
|
105
|
-
"git": {
|
|
106
|
-
"commitMessage": "chore: release ${version}",
|
|
107
|
-
"tagName": "v${version}"
|
|
108
|
-
},
|
|
109
|
-
"npm": {
|
|
110
|
-
"publish": true
|
|
111
|
-
},
|
|
112
|
-
"github": {
|
|
113
|
-
"release": true
|
|
114
|
-
},
|
|
115
|
-
"plugins": {
|
|
116
|
-
"@release-it/conventional-changelog": {
|
|
117
|
-
"preset": "angular"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
114
|
"eslintConfig": {
|
|
122
115
|
"root": true,
|
|
123
116
|
"extends": [
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": "./",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"esModuleInterop": true,
|
|
6
|
+
"jsx": "react-native",
|
|
7
|
+
"lib": ["es2019"],
|
|
8
|
+
"module": "commonjs",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"outDir": "lib/typescript",
|
|
11
|
+
"resolveJsonModule": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"target": "es2019"
|
|
15
|
+
},
|
|
16
|
+
"include": ["src/**/*"],
|
|
17
|
+
"exclude": ["node_modules", "lib", "example"]
|
|
18
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.build.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"esModuleInterop": true,
|
|
6
|
+
"jsx": "react-native",
|
|
7
|
+
"lib": ["es2019"],
|
|
8
|
+
"module": "commonjs",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"resolveJsonModule": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"target": "es2019"
|
|
15
|
+
},
|
|
16
|
+
"include": ["src/**/*", "example/src/**/*"],
|
|
17
|
+
"exclude": ["node_modules", "lib", "example/node_modules"]
|
|
18
|
+
}
|