universa-core2 2.0.0-alpha.1
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 +8 -0
- package/LICENSE.BSD-3-Clause +30 -0
- package/LICENSE.GPL-2.0 +339 -0
- package/README.md +718 -0
- package/dist/.gitkeep +0 -0
- package/dist/index.cjs +2140 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +611 -0
- package/dist/index.mjs +80 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "universa-core2",
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
4
|
+
"description": "Official Universa JavaScript SDK for contracts and network operations",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE*"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"coverage": "nyc npm run test",
|
|
23
|
+
"test": "mocha --timeout 150000 -r ts-node/register test/compound.spec.ts test/contract.spec.ts test/keys.spec.ts test/permissions.spec.ts test/roles.spec.ts test/transaction_pack.spec.ts",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"build": "tsup && node scripts/finalize-build.mjs",
|
|
26
|
+
"prepack": "npm test && npm run typecheck && npm run build"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"network",
|
|
30
|
+
"contracts",
|
|
31
|
+
"frontend",
|
|
32
|
+
"client"
|
|
33
|
+
],
|
|
34
|
+
"author": "Universa Blockchain Team",
|
|
35
|
+
"license": "(BSD-3-Clause OR GPL-2.0)",
|
|
36
|
+
"bugs": "https://github.com/sergeych/universa-core2/issues",
|
|
37
|
+
"homepage": "https://github.com/sergeych/universa-core2#readme",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/sergeych/universa-core2.git"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=20"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@types/big.js": "6.0.1",
|
|
50
|
+
"big.js": "6.2.2",
|
|
51
|
+
"unicrypto": "npm:unicrypto2@2.0.0-alpha.1"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/chai": "4.3.20",
|
|
55
|
+
"@types/mocha": "10.0.10",
|
|
56
|
+
"@types/node": "20.19.24",
|
|
57
|
+
"chai": "4.5.0",
|
|
58
|
+
"mocha": "11.7.6",
|
|
59
|
+
"nyc": "18.0.0",
|
|
60
|
+
"ts-node": "10.9.2",
|
|
61
|
+
"tsup": "^8.5.1",
|
|
62
|
+
"typescript": "^5.9.3"
|
|
63
|
+
},
|
|
64
|
+
"directories": {
|
|
65
|
+
"test": "test"
|
|
66
|
+
}
|
|
67
|
+
}
|