@paystack/inline-js 2.17.0-dev.2 → 2.17.0

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/README.md CHANGED
@@ -3,15 +3,17 @@
3
3
  This is the client-side JS library for loading the Paystack checkout form. It makes it easy to accept payments from a web application and to create custom, secure payment experiences for merchant apps and websites.
4
4
 
5
5
  # Quick start
6
+
6
7
  ### Requirements
7
8
 
8
- ```
9
- node >= 12.0.0
10
- npm >= 6.0.0
11
- ```
9
+ ```
10
+ node >= 18.0.0
11
+ npm >= 10.0.0
12
+ ```
13
+
12
14
  ### Setup
13
15
 
14
- Clone this repository
16
+ Clone this repository
15
17
 
16
18
  git clone https://github.com/PaystackHQ/inline-js.git
17
19
 
@@ -22,15 +24,17 @@ Install dependencies with:
22
24
  # Local development
23
25
 
24
26
  To test Inline JS locally, run the command;
27
+
25
28
  ```
26
29
  npm run dev
27
- ```
28
- This spins up a `http-server` serving the `dev` folder and you can then visit the different `HTML` files in that folder to test various APIs and payment flows.
30
+ ```
29
31
 
32
+ This spins up a `http-server` serving the `dev` folder and you can then visit the different `HTML` files in that folder to test various APIs and payment flows.
30
33
 
31
34
  ### Testing
32
35
 
33
36
  This project uses [Jest](https://jestjs.io/) for unit testing. To run all tests, use the command;
37
+
34
38
  ```
35
39
  npm test
36
40
  ```
@@ -44,6 +48,6 @@ Inline JS is deployed to:
44
48
  - npm: [@paystack/inline-js](https://www.npmjs.com/package/@paystack/inline-js)
45
49
 
46
50
  # Documents
51
+
47
52
  - [Development](./DEV_DOCS.md)
48
53
  - [Public](./PUBLIC_DOCS.md)
49
-