@digilogiclabs/saas-factory-payments 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/LICENSE +22 -0
- package/README.md +679 -0
- package/dist/index.d.mts +365 -0
- package/dist/index.d.ts +365 -0
- package/dist/index.js +869 -0
- package/dist/index.mjs +806 -0
- package/dist/native/index.d.mts +266 -0
- package/dist/native/index.d.ts +266 -0
- package/dist/native/index.js +1833 -0
- package/dist/native/index.mjs +1815 -0
- package/dist/server/index.d.mts +122 -0
- package/dist/server/index.d.ts +122 -0
- package/dist/server/index.js +484 -0
- package/dist/server/index.mjs +443 -0
- package/dist/web/index.d.mts +281 -0
- package/dist/web/index.d.ts +281 -0
- package/dist/web/index.js +1651 -0
- package/dist/web/index.mjs +1604 -0
- package/package.json +153 -0
package/package.json
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@digilogiclabs/saas-factory-payments",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Cross-platform payments package for Next.js and React Native applications using Stripe",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"payments",
|
|
8
|
+
"stripe",
|
|
9
|
+
"nextjs",
|
|
10
|
+
"react",
|
|
11
|
+
"react-native",
|
|
12
|
+
"expo",
|
|
13
|
+
"saas",
|
|
14
|
+
"cross-platform",
|
|
15
|
+
"typescript"
|
|
16
|
+
],
|
|
17
|
+
"author": "DigiLogic Labs",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"homepage": "https://github.com/DigiLogicLabs/saas-factory-payments#readme",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/DigiLogicLabs/saas-factory-payments.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/DigiLogicLabs/saas-factory-payments/issues"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "restricted",
|
|
29
|
+
"registry": "https://registry.npmjs.org/",
|
|
30
|
+
"scope": "@digilogiclabs"
|
|
31
|
+
},
|
|
32
|
+
"main": "./dist/index.js",
|
|
33
|
+
"module": "./dist/index.mjs",
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"import": "./dist/index.mjs",
|
|
39
|
+
"require": "./dist/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./web": {
|
|
42
|
+
"types": "./dist/web/index.d.ts",
|
|
43
|
+
"import": "./dist/web/index.mjs",
|
|
44
|
+
"require": "./dist/web/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./native": {
|
|
47
|
+
"types": "./dist/native/index.d.ts",
|
|
48
|
+
"import": "./dist/native/index.mjs",
|
|
49
|
+
"require": "./dist/native/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./server": {
|
|
52
|
+
"types": "./dist/server/index.d.ts",
|
|
53
|
+
"import": "./dist/server/index.mjs",
|
|
54
|
+
"require": "./dist/server/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./package.json": "./package.json"
|
|
57
|
+
},
|
|
58
|
+
"files": [
|
|
59
|
+
"dist",
|
|
60
|
+
"README.md",
|
|
61
|
+
"LICENSE"
|
|
62
|
+
],
|
|
63
|
+
"sideEffects": false,
|
|
64
|
+
"scripts": {
|
|
65
|
+
"build": "tsup",
|
|
66
|
+
"dev": "tsup --watch",
|
|
67
|
+
"clean": "rimraf dist",
|
|
68
|
+
"type-check": "tsc --noEmit",
|
|
69
|
+
"test": "jest --passWithNoTests",
|
|
70
|
+
"test:watch": "jest --watch",
|
|
71
|
+
"test:coverage": "jest --coverage",
|
|
72
|
+
"lint": "eslint .",
|
|
73
|
+
"format": "prettier --write .",
|
|
74
|
+
"release": "npm run clean && npm run build && changeset publish",
|
|
75
|
+
"version": "changeset version",
|
|
76
|
+
"prepack": "npm run build",
|
|
77
|
+
"postinstall": "husky",
|
|
78
|
+
"prepare": "husky"
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"zustand": "^4.4.7"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@stripe/react-stripe-js": ">=2.0.0",
|
|
85
|
+
"@stripe/stripe-js": ">=2.0.0",
|
|
86
|
+
"@stripe/stripe-react-native": ">=0.35.0",
|
|
87
|
+
"expo": ">=49.0.0",
|
|
88
|
+
"next": ">=14",
|
|
89
|
+
"react": ">=18",
|
|
90
|
+
"react-dom": ">=18",
|
|
91
|
+
"react-native": ">=0.70.0",
|
|
92
|
+
"stripe": ">=14.0.0"
|
|
93
|
+
},
|
|
94
|
+
"peerDependenciesMeta": {
|
|
95
|
+
"next": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"react-dom": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"react-native": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"expo": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@stripe/stripe-js": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@stripe/react-stripe-js": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@stripe/stripe-react-native": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"stripe": {
|
|
117
|
+
"optional": true
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"devDependencies": {
|
|
121
|
+
"@changesets/cli": "^2.27.1",
|
|
122
|
+
"@stripe/react-stripe-js": "^2.0.0",
|
|
123
|
+
"@stripe/stripe-js": "^2.0.0",
|
|
124
|
+
"@stripe/stripe-react-native": "^0.35.0",
|
|
125
|
+
"@testing-library/jest-dom": "^6.1.5",
|
|
126
|
+
"@testing-library/react": "^14.1.2",
|
|
127
|
+
"@types/jest": "^30.0.0",
|
|
128
|
+
"@types/node": "^24.2.0",
|
|
129
|
+
"@types/react": "^18.2.45",
|
|
130
|
+
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
131
|
+
"@typescript-eslint/parser": "^6.14.0",
|
|
132
|
+
"babel-jest": "^29.7.0",
|
|
133
|
+
"eslint": "^8.56.0",
|
|
134
|
+
"eslint-plugin-react": "^7.37.3",
|
|
135
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
136
|
+
"husky": "^9.0.11",
|
|
137
|
+
"identity-obj-proxy": "^3.0.0",
|
|
138
|
+
"jest": "^29.7.0",
|
|
139
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
140
|
+
"lint-staged": "^15.2.0",
|
|
141
|
+
"prettier": "^3.1.1",
|
|
142
|
+
"react": "^18.0.0",
|
|
143
|
+
"react-native": "^0.72.0",
|
|
144
|
+
"rimraf": "^5.0.5",
|
|
145
|
+
"stripe": "^14.0.0",
|
|
146
|
+
"ts-jest": "^29.4.1",
|
|
147
|
+
"tsup": "^8.0.1",
|
|
148
|
+
"typescript": "^5.3.3"
|
|
149
|
+
},
|
|
150
|
+
"engines": {
|
|
151
|
+
"node": ">=18.0.0"
|
|
152
|
+
}
|
|
153
|
+
}
|