forked from CurrentDao-org/CurrentDao-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 3.79 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 3.79 KB
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
78
{
"name": "currentdao-contracts",
"version": "1.0.0",
"description": "Smart contracts for the CurrentDao solar energy ecosystem on Stellar/Soroban.",
"main": "index.js",
"type": "commonjs",
"directories": {
"doc": "docs",
"test": "tests"
},
"scripts": {
"test": "npx jest",
"test:fee-management-system": "npx jest tests/fees",
"test:security-system": "npx jest tests/security",
"test:upgrade-management-system": "npx jest tests/amm",
"test:amm": "npx jest tests/amm",
"test:liquidity": "npx jest tests/liquidity",
"test:zkp": "npx jest tests/zkp",
"test:acl": "npx jest tests/acl/AccessControlList.test.ts",
"test:emergency": "npx jest tests/emergency",
"test:fees": "npx jest tests/fees/FeeManager.test.ts",
"test:security": "npx jest tests/security/SecurityMonitor.test.ts",
"test:security:integration": "npx jest tests/security/SecurityIntegration.test.ts",
"test:analytics": "npx jest tests/analytics/UsageAnalytics.test.ts",
"test:upgrade": "npx jest tests/upgrade/UpgradeManager.test.ts",
"test:rating": "npx jest tests/rating/QualityRating.test.ts",
"test:coverage": "npx jest --coverage",
"lint": "echo 'Linting not configured yet'",
"deploy:acl": "ts-node scripts/deploy_acl.ts",
"deploy:emergency": "ts-node scripts/deploy_emergency.ts",
"deploy:fees": "ts-node scripts/deploy_fees.ts",
"deploy:security:dev": "ts-node scripts/deploy_security_monitor.ts development",
"deploy:security:testnet": "ts-node scripts/deploy_security_monitor.ts testnet",
"deploy:security:mainnet": "ts-node scripts/deploy_security_monitor.ts mainnet",
"deploy:analytics": "ts-node scripts/deploy_usage_analytics.ts",
"deploy:upgrade": "ts-node scripts/deploy_upgrade.ts",
"deploy:rating:dev": "ts-node -e \"import { deployRatingSystem } from './scripts/deploy_rating'; deployRatingSystem('development').then(console.log).catch(console.error);\"",
"deploy:rating:testnet": "ts-node -e \"import { deployRatingSystem } from './scripts/deploy_rating'; deployRatingSystem('testnet').then(console.log).catch(console.error);\"",
"deploy:rating:mainnet": "ts-node -e \"import { deployRatingSystem } from './scripts/deploy_rating'; deployRatingSystem('mainnet').then(console.log).catch(console.error);\"",
"build": "npx tsc",
"verify:fees": "ts-node -e \"const { FeeSystemDeployer } = require('./scripts/deploy_fees'); const deployer = new FeeSystemDeployer({network: 'development', owner: '0xowner', treasury: '0xtreasury', validators: '0xvalidators', developers: '0xdevelopers', enableDynamicFees: true, initialNetworkCongestion: 20}); deployer.verifyDeployment({feeManager: new (require('./contracts/fees/FeeManager').FeeManager)('0xowner'), config: deployer.config, deploymentHash: 'test', timestamp: Date.now(), gasUsed: 0}).then(console.log);\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/Codekill33/CurrentDao-contracts.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Codekill33/CurrentDao-contracts/issues"
},
"homepage": "https://github.com/Codekill33/CurrentDao-contracts#readme",
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.6.0",
"jest": "^30.3.0",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@nestjs/common": "^11.1.19",
"@nestjs/core": "^11.1.19",
"@nestjs/platform-express": "^11.1.19",
"@nestjs/schedule": "^6.1.3",
"@nestjs/swagger": "^11.4.1",
"@nestjs/testing": "^11.1.19",
"@nestjs/typeorm": "^11.0.1",
"@stellar/stellar-sdk": "^15.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"pg": "^8.20.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"typeorm": "^0.3.28"
}
}