-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
77 lines (77 loc) · 2.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@user-credits/stripe-mongoose",
"author": "Zied Hamdi",
"type": "module",
"version": "1.0.4-beta",
"license": "MIT",
"keywords": [
"user-credits",
"credit-flow",
"credits-balance",
"payment-screens"
],
"publishConfig": {
"access": "public"
},
"description": "user-credits is an open-source library designed to simplify the implementation of pay-as-you-go features in your web or mobile applications. Credit flow is managed locally then synced instead of being sent back and forth to payment platforms as Stripe, in addition, you own your data without the odds of long development hours.",
"repository": {
"type": "git",
"url": "https://github.com/ziedHamdi/user-credits"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"buildX": "rm -rf ./dist && npx tsc && tsc-alias",
"build": "rmdir /s /q .\\dist & npx tsc & tsc-alias",
"buildTrace": "rmdir /s /q .\\dist & npx tsc --traceResolution",
"lint": "npx eslint --fix .",
"prepublishOnly": "pnpm lint && pnpm build && pnpm testPublish",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --coverageDirectory='coverage'",
"testWatch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watchAll --no-cache --coverage --coverageDirectory='coverage'",
"testPublish": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-cache"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/jest": "^0.2.29",
"@tsconfig/recommended": "^1.0.3",
"@types/jest": "^29.5.5",
"@types/node": "^20.9.1",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.0.0",
"expect": "^29.7.0",
"jest": "^29.7.0",
"mongodb-memory-server": "^8.15.1",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"tsc-alias": "1.8.8",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@user-credits/core": "^1.0.5-beta",
"awilix": "^9.0.0",
"bson": "^6.1.0",
"dotenv": "^16.3.1",
"mongoose": "^7.5.3",
"stripe": "^14.4.0"
}
}