@odus/checkout 0.0.1 → 0.1.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/dist/package.json CHANGED
@@ -1,23 +1,18 @@
1
1
  {
2
2
  "name": "@odus/checkout",
3
3
  "version": "0.0.1",
4
- "private": false,
5
- "description": "Odus Checkout SDK - A flexible JavaScript SDK for payment processing",
4
+ "displayName": "Odus Checkout SDK",
6
5
  "keywords": [
6
+ "odus",
7
7
  "checkout",
8
- "payments",
8
+ "payment",
9
9
  "sdk",
10
10
  "javascript",
11
- "typescript",
12
- "odus"
11
+ "typescript"
13
12
  ],
14
- "author": "Odus Financial OÜ",
15
13
  "homepage": "https://docs.odus.com",
16
- "files": [
17
- "dist/**/*"
18
- ],
19
14
  "type": "module",
20
- "main": "./dist/index.mjs",
15
+ "main": "./dist/index.js",
21
16
  "browser": "./dist/checkout.js",
22
17
  "module": "./dist/index.mjs",
23
18
  "types": "./dist/index.d.ts",
@@ -31,9 +26,11 @@
31
26
  "default": "./dist/index.mjs"
32
27
  }
33
28
  },
29
+ "files": [
30
+ "dist/**/*"
31
+ ],
34
32
  "publishConfig": {
35
- "access": "public",
36
- "registry": "https://registry.npmjs.org/"
33
+ "access": "public"
37
34
  },
38
35
  "nx": {
39
36
  "targets": {
@@ -51,31 +48,15 @@
51
48
  "outputPath": "libs/checkout/dist",
52
49
  "main": "libs/checkout/src/index.ts",
53
50
  "tsConfig": "libs/checkout/tsconfig.lib.json"
54
- }
55
- },
56
- "publish": {
57
- "dependsOn": [
58
- "build"
59
- ],
60
- "executor": "nx:run-commands",
61
- "options": {
62
- "cwd": "libs/checkout",
63
- "command": "npm publish --access public"
64
- }
65
- },
66
- "prepublish": {
67
- "dependsOn": [
68
- "build",
69
- "typecheck"
70
- ],
71
- "executor": "nx:run-commands",
72
- "options": {
73
- "cwd": "libs/checkout",
74
- "commands": [
75
- "echo 'Running pre-publish checks...'",
76
- "ls -la dist/",
77
- "echo 'Build artifacts verified.'"
78
- ]
51
+ },
52
+ "defaultConfiguration": "development",
53
+ "configurations": {
54
+ "development": {
55
+ "mode": "development"
56
+ },
57
+ "production": {
58
+ "mode": "production"
59
+ }
79
60
  }
80
61
  }
81
62
  }
package/package.json CHANGED
@@ -1,23 +1,18 @@
1
1
  {
2
2
  "name": "@odus/checkout",
3
- "version": "0.0.1",
4
- "private": false,
5
- "description": "Odus Checkout SDK - A flexible JavaScript SDK for payment processing",
3
+ "version": "0.1.0",
4
+ "displayName": "Odus Checkout SDK",
6
5
  "keywords": [
6
+ "odus",
7
7
  "checkout",
8
- "payments",
8
+ "payment",
9
9
  "sdk",
10
10
  "javascript",
11
- "typescript",
12
- "odus"
11
+ "typescript"
13
12
  ],
14
- "author": "Odus Financial OÜ",
15
13
  "homepage": "https://docs.odus.com",
16
- "files": [
17
- "dist/**/*"
18
- ],
19
14
  "type": "module",
20
- "main": "./dist/index.mjs",
15
+ "main": "./dist/index.js",
21
16
  "browser": "./dist/checkout.js",
22
17
  "module": "./dist/index.mjs",
23
18
  "types": "./dist/index.d.ts",
@@ -31,9 +26,11 @@
31
26
  "default": "./dist/index.mjs"
32
27
  }
33
28
  },
29
+ "files": [
30
+ "dist/**/*"
31
+ ],
34
32
  "publishConfig": {
35
- "access": "public",
36
- "registry": "https://registry.npmjs.org/"
33
+ "access": "public"
37
34
  },
38
35
  "nx": {
39
36
  "targets": {
@@ -51,31 +48,15 @@
51
48
  "outputPath": "libs/checkout/dist",
52
49
  "main": "libs/checkout/src/index.ts",
53
50
  "tsConfig": "libs/checkout/tsconfig.lib.json"
54
- }
55
- },
56
- "publish": {
57
- "dependsOn": [
58
- "build"
59
- ],
60
- "executor": "nx:run-commands",
61
- "options": {
62
- "cwd": "libs/checkout",
63
- "command": "npm publish --access public"
64
- }
65
- },
66
- "prepublish": {
67
- "dependsOn": [
68
- "build",
69
- "typecheck"
70
- ],
71
- "executor": "nx:run-commands",
72
- "options": {
73
- "cwd": "libs/checkout",
74
- "commands": [
75
- "echo 'Running pre-publish checks...'",
76
- "ls -la dist/",
77
- "echo 'Build artifacts verified.'"
78
- ]
51
+ },
52
+ "defaultConfiguration": "development",
53
+ "configurations": {
54
+ "development": {
55
+ "mode": "development"
56
+ },
57
+ "production": {
58
+ "mode": "production"
59
+ }
79
60
  }
80
61
  }
81
62
  }