@basiq/connect-auth 0.1.4 → 0.1.7

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/.babelrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"]
3
+ }
@@ -0,0 +1,12 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-var-requires,import/no-extraneous-dependencies
2
+ const { override, addWebpackModuleRule} = require("customize-cra");
3
+
4
+ module.exports = override(
5
+ addWebpackModuleRule({
6
+ test: /\.(js|jsx|ts|tsx)$/,
7
+ exclude: /node_modules/,
8
+ use: {
9
+ loader: 'babel-loader'
10
+ }
11
+ })
12
+ );
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export {default as BasiqConnect} from './src/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basiq/connect-auth",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.4",
6
6
  "@testing-library/react": "^13.2.0",
@@ -10,6 +10,7 @@
10
10
  "@types/react": "^18.0.9",
11
11
  "@types/react-dom": "^18.0.3",
12
12
  "@types/styled-components": "^5.1.25",
13
+ "awesome-typescript-loader": "^5.2.1",
13
14
  "i18next": "^21.8.1",
14
15
  "react": "^18.1.0",
15
16
  "react-dom": "^18.1.0",
@@ -21,9 +22,9 @@
21
22
  "web-vitals": "^2.1.4"
22
23
  },
23
24
  "scripts": {
24
- "start": "react-scripts start",
25
- "build": "react-scripts build",
26
- "test": "react-scripts test",
25
+ "start": "react-app-rewired start",
26
+ "build": "react-app-rewired build",
27
+ "test": "react-app-rewired test",
27
28
  "eject": "react-scripts eject",
28
29
  "lint": "eslint .",
29
30
  "lint:fix": "eslint --fix",
@@ -48,10 +49,13 @@
48
49
  "styled-components": "^5"
49
50
  },
50
51
  "devDependencies": {
52
+ "@babel/preset-env": "^7.18.2",
53
+ "@babel/preset-react": "^7.17.12",
51
54
  "@babel/preset-typescript": "^7.16.7",
52
55
  "@typescript-eslint/eslint-plugin": "^5.26.0",
53
56
  "@typescript-eslint/parser": "^5.26.0",
54
57
  "babel-plugin-styled-components": "^2.0.7",
58
+ "customize-cra": "^1.0.0",
55
59
  "eslint": "^8.16.0",
56
60
  "eslint-config-airbnb": "^19.0.4",
57
61
  "eslint-config-prettier": "^8.5.0",
@@ -62,6 +66,7 @@
62
66
  "eslint-plugin-react": "^7.30.0",
63
67
  "eslint-plugin-react-hooks": "^4.5.0",
64
68
  "prettier": "^2.6.2",
69
+ "react-app-rewired": "^2.2.1",
65
70
  "ts-standard": "^11.0.0"
66
71
  },
67
72
  "babel": {
@@ -73,7 +78,7 @@
73
78
  ]
74
79
  },
75
80
  "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).",
76
- "main": "./src/index.tsx",
81
+ "main": "index.js",
77
82
  "repository": {
78
83
  "type": "git",
79
84
  "url": "git+https://github.com/basiqio/connect-code-validaiton.git"