-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
157 lines (157 loc) · 4.91 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@i3m/server-wallet",
"version": "2.6.1",
"description": "Get a ready-to-go Wallet requiring no user interaction and using a simple file to store wallet data. It should be used only when no human interaction is possible.",
"keywords": [
"wallet",
"i3-market",
"service-wallet",
"i3-market"
],
"contributors": [
"Fernando Román García <[email protected]>",
"Juan Hernández Serrno <[email protected]>"
],
"author": "Juan Hernández Serrno <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/i3-Market-V2-Public-Repository/SP3-SCGBSSW-I3mWalletMonorepo.git",
"directory": "packages/server-wallet"
},
"license": "EUPL-1.2",
"type": "module",
"main": "./dist/index.node.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"node": {
"module": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.cjs"
}
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
}
},
"./dist/cjs/index.node": "./dist/index.node.cjs",
"./dist/esm/index.node": "./dist/index.node.esm.js",
"./dist/index.node": "./dist/index.node.cjs",
"./dist/index.node.esm": "./dist/index.node.esm.js",
"./types": "./dist/index.d.ts"
},
"imports": {
"#pkg": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
}
}
},
"directories": {
"build": "./build",
"dist": "./dist",
"docs": "./docs",
"src": "./src",
"test": "./test",
"benchmark": "./benchmark",
"mocha-ts": "./.mocha-ts"
},
"scripts": {
"build": "npm run lint:src && npm run build:js && npm run lint:test && npm run docs",
"build:js": "rollup -c build/rollup.config.js",
"postbuild:js": "rimraf .types",
"clean": "rimraf .mocha-ts coverage dist types .types docs",
"coverage": "c8 --clean --check-coverage --exclude \"{src/ts/**/*.spec.ts,test,test-vectors,build}\" --exclude-after-remap --reporter=text --reporter=lcov node ./build/bin/mocha-ts.cjs --commonjs ",
"docs": "node build/build.docs.cjs",
"git:add": "git add -A",
"lint": "ts-standard --fix",
"lint:src": "ts-standard --fix \"src/**/!(*.spec).ts\"",
"lint:test": "ts-standard --fix \"{test/**/*.ts,src/**/*.spec.ts}\"",
"mocha-ts": "node --experimental-modules --experimental-json-modules --es-module-specifier-resolution=node ./build/bin/mocha-ts.cjs ",
"mocha-ts:cjs": "node ./build/bin/mocha-ts.cjs --commonjs ",
"mocha-ts:watch": "npm run mocha-ts:cjs -- --watch ",
"mocha-ts:browser": "node build/testing/browser/index.cjs ",
"mocha-ts:browser-headless": "node build/testing/browser/index.cjs headless ",
"preversion": "npm run build && npm test",
"version": "npm run docs && git add -A",
"test": "npm run test:node-cjs && npm run test:node-esm",
"test:node-cjs": "npm run mocha-ts:cjs ",
"test:node-esm": "npm run mocha-ts ",
"watch": "npm run mocha-ts:watch "
},
"ts-standard": {
"project": "tsconfig.json",
"env": [
"mocha"
],
"globals": [
"IS_BROWSER",
"browser",
"page",
"chai"
],
"ignore": [
"dist/**/*",
"examples/**/*",
"types/**/*",
"benchmark/**/*"
]
},
"devDependencies": {
"@i3m/non-repudiation-library": "^2.5.0",
"@i3m/wallet-desktop-openapi": "^2.6.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-inject": "^5.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/chai": "^4.2.22",
"@types/debug": "^4.1.7",
"@types/lodash": "^4.14.194",
"@types/mocha": "^10.0.0",
"@types/uuid": "^9.0.1",
"c8": "^7.12.0",
"chai": "^4.3.3",
"dotenv": "^16.0.3",
"ethr-did-registry": "^0.0.3",
"glob": "^10.0.0",
"json5": "^2.2.0",
"minimatch": "^9.0.0",
"mocha": "^10.0.0",
"pirates": "^4.0.1",
"puppeteer": "^19.1.2",
"rimraf": "^5.0.0",
"rollup": "^3.20.2",
"rollup-plugin-dts": "^5.3.0",
"ts-standard": "^12.0.2",
"tslib": "^2.3.1",
"typedoc": "~0.23.0",
"typedoc-plugin-markdown": "~3.14.0",
"typescript": "^4.9.0"
},
"dependencies": {
"@i3m/base-wallet": "^2.6.1",
"@i3m/bok-wallet": "^2.6.1"
}
}