@agrozyme/eckey 0.0.0 → 0.0.2
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/README.md +15 -15
- package/dist/commands/convert.d.ts +3 -3
- package/dist/commands/make.d.ts +3 -3
- package/dist/commands/test.js +12 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.js +3 -2
- package/oclif.manifest.json +72 -36
- package/package.json +25 -26
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ $ npm install -g @agrozyme/eckey
|
|
|
13
13
|
$ eckey COMMAND
|
|
14
14
|
running command...
|
|
15
15
|
$ eckey (--version)
|
|
16
|
-
@agrozyme/eckey/0.0.
|
|
16
|
+
@agrozyme/eckey/0.0.2 win32-x64 node-v20.12.2
|
|
17
17
|
$ eckey --help [COMMAND]
|
|
18
18
|
USAGE
|
|
19
19
|
$ eckey COMMAND
|
|
@@ -25,7 +25,7 @@ USAGE
|
|
|
25
25
|
|
|
26
26
|
<!-- commands -->
|
|
27
27
|
* [`eckey convert`](#eckey-convert)
|
|
28
|
-
* [`eckey help [
|
|
28
|
+
* [`eckey help [COMMAND]`](#eckey-help-command)
|
|
29
29
|
* [`eckey make`](#eckey-make)
|
|
30
30
|
|
|
31
31
|
## `eckey convert`
|
|
@@ -35,18 +35,18 @@ convert string to other format
|
|
|
35
35
|
```
|
|
36
36
|
USAGE
|
|
37
37
|
$ eckey convert --data <value> [--from
|
|
38
|
-
base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58xrp|base64|base64url|
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58xrp|base64|base64url|base64u
|
|
39
|
+
rlnopad|hex|utf8] [--to base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58xrp|
|
|
40
|
+
base64|base64url|base64urlnopad|hex|utf8]
|
|
41
41
|
|
|
42
42
|
FLAGS
|
|
43
43
|
--data=<value> (required)
|
|
44
44
|
--from=<option> [default: hex]
|
|
45
45
|
<options: base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58xrp
|
|
46
|
-
|base64|base64url|hex|utf8>
|
|
46
|
+
|base64|base64url|base64urlnopad|hex|utf8>
|
|
47
47
|
--to=<option> [default: hex]
|
|
48
48
|
<options: base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58xrp
|
|
49
|
-
|base64|base64url|hex|utf8>
|
|
49
|
+
|base64|base64url|base64urlnopad|hex|utf8>
|
|
50
50
|
|
|
51
51
|
DESCRIPTION
|
|
52
52
|
convert string to other format
|
|
@@ -55,18 +55,18 @@ EXAMPLES
|
|
|
55
55
|
$ eckey convert
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
_See code: [
|
|
58
|
+
_See code: [src/commands/convert.ts](https://gitlab.com/agrozyme-package/TypeScript/eckey/blob/v0.0.2/src/commands/convert.ts)_
|
|
59
59
|
|
|
60
|
-
## `eckey help [
|
|
60
|
+
## `eckey help [COMMAND]`
|
|
61
61
|
|
|
62
62
|
Display help for eckey.
|
|
63
63
|
|
|
64
64
|
```
|
|
65
65
|
USAGE
|
|
66
|
-
$ eckey help [
|
|
66
|
+
$ eckey help [COMMAND...] [-n]
|
|
67
67
|
|
|
68
68
|
ARGUMENTS
|
|
69
|
-
|
|
69
|
+
COMMAND... Command to show help for.
|
|
70
70
|
|
|
71
71
|
FLAGS
|
|
72
72
|
-n, --nested-commands Include all nested commands in the output.
|
|
@@ -75,7 +75,7 @@ DESCRIPTION
|
|
|
75
75
|
Display help for eckey.
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/
|
|
78
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.21/src/commands/help.ts)_
|
|
79
79
|
|
|
80
80
|
## `eckey make`
|
|
81
81
|
|
|
@@ -86,7 +86,7 @@ USAGE
|
|
|
86
86
|
$ eckey make --curve
|
|
87
87
|
bls12_381|bn254|ed448|ed448ph|ed25519|ed25519ctx|ed25519ph|jubjub|p256|p384|p521|pallas|schnorr|secp256k1|secp256r1|
|
|
88
88
|
secp384r1|secp521r1|vesta [--format base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xm
|
|
89
|
-
r|base58xrp|base64|base64url|hex|utf8] [--count <value>]
|
|
89
|
+
r|base58xrp|base64|base64url|base64urlnopad|hex|utf8] [--count <value>]
|
|
90
90
|
|
|
91
91
|
FLAGS
|
|
92
92
|
--count=<value> [default: 1]
|
|
@@ -95,7 +95,7 @@ FLAGS
|
|
|
95
95
|
chnorr|secp256k1|secp256r1|secp384r1|secp521r1|vesta>
|
|
96
96
|
--format=<option> [default: hex]
|
|
97
97
|
<options: base16|base32|base32crockford|base32hex|base58|base58check|base58flickr|base58xmr|base58x
|
|
98
|
-
rp|base64|base64url|hex|utf8>
|
|
98
|
+
rp|base64|base64url|base64urlnopad|hex|utf8>
|
|
99
99
|
|
|
100
100
|
DESCRIPTION
|
|
101
101
|
make elliptic curve key pair
|
|
@@ -104,5 +104,5 @@ EXAMPLES
|
|
|
104
104
|
$ eckey make
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
_See code: [
|
|
107
|
+
_See code: [src/commands/make.ts](https://gitlab.com/agrozyme-package/TypeScript/eckey/blob/v0.0.2/src/commands/make.ts)_
|
|
108
108
|
<!-- commandsstop -->
|
|
@@ -3,9 +3,9 @@ export default class Convert extends Command {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
|
-
data: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
7
|
-
from: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
8
|
-
to: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
6
|
+
data: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
|
+
from: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
|
+
to: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
static args: {};
|
|
11
11
|
run(): Promise<void>;
|
package/dist/commands/make.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ export default class Make extends Command {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
|
-
curve: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
7
|
-
format: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
8
|
-
count: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces
|
|
6
|
+
curve: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
|
+
format: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
|
+
count: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
static args: {};
|
|
11
11
|
run(): Promise<void>;
|
package/dist/commands/test.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const crypto_1 = require("@agrozyme/crypto");
|
|
3
4
|
const core_1 = require("@oclif/core");
|
|
4
5
|
class Test extends core_1.Command {
|
|
5
6
|
static hidden = true;
|
|
@@ -9,7 +10,17 @@ class Test extends core_1.Command {
|
|
|
9
10
|
static args = {};
|
|
10
11
|
async run() {
|
|
11
12
|
const { args, flags } = await this.parse(Test);
|
|
12
|
-
|
|
13
|
+
const curve = crypto_1.curveMap['ed25519'];
|
|
14
|
+
const privateKey = curve.randomPrivateKey();
|
|
15
|
+
const publicKey = curve.getPublicKey(privateKey, false);
|
|
16
|
+
console.dir(publicKey.length);
|
|
17
|
+
// const data: Record<string, number> = {};
|
|
18
|
+
// Object.keys(curveMap).forEach((name) => {
|
|
19
|
+
// const curve = curveMap[name];
|
|
20
|
+
// data[name] = curve.randomPrivateKey().length;
|
|
21
|
+
// });
|
|
22
|
+
//
|
|
23
|
+
// console.dir(data, { depth: 0 });
|
|
13
24
|
}
|
|
14
25
|
}
|
|
15
26
|
exports.default = Test;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const bytesCoderKeys:
|
|
2
|
-
export declare const curveKeys:
|
|
1
|
+
export declare const bytesCoderKeys: ("base16" | "base32" | "base32crockford" | "base32hex" | "base58" | "base58flickr" | "base58xmr" | "base58xrp" | "base64" | "base64url" | "base64urlnopad" | "hex" | "utf8" | "base58check")[];
|
|
2
|
+
export declare const curveKeys: ("bls12_381" | "bn254" | "ed448" | "ed448ph" | "ed25519" | "ed25519ctx" | "ed25519ph" | "jubjub" | "p256" | "secp256r1" | "p384" | "secp384r1" | "p521" | "secp521r1" | "pallas" | "vesta" | "schnorr" | "secp256k1")[];
|
package/dist/types.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.curveKeys = exports.bytesCoderKeys = void 0;
|
|
4
4
|
const crypto_1 = require("@agrozyme/crypto");
|
|
5
|
-
|
|
6
|
-
exports.
|
|
5
|
+
const rambdax_1 = require("rambdax");
|
|
6
|
+
exports.bytesCoderKeys = (0, rambdax_1.keys)(crypto_1.bytesCoderMap);
|
|
7
|
+
exports.curveKeys = (0, rambdax_1.keys)(crypto_1.curveMap);
|
package/oclif.manifest.json
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.0",
|
|
3
2
|
"commands": {
|
|
4
3
|
"convert": {
|
|
5
|
-
"id": "convert",
|
|
6
|
-
"description": "convert string to other format",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "@agrozyme/eckey",
|
|
9
|
-
"pluginAlias": "@agrozyme/eckey",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "convert string to other format",
|
|
12
7
|
"examples": [
|
|
13
8
|
"<%= config.bin %> <%= command.id %>"
|
|
14
9
|
],
|
|
15
10
|
"flags": {
|
|
16
11
|
"data": {
|
|
17
12
|
"name": "data",
|
|
18
|
-
"type": "option",
|
|
19
13
|
"required": true,
|
|
20
|
-
"
|
|
14
|
+
"hasDynamicHelp": false,
|
|
15
|
+
"multiple": false,
|
|
16
|
+
"type": "option"
|
|
21
17
|
},
|
|
22
18
|
"from": {
|
|
23
19
|
"name": "from",
|
|
24
|
-
"
|
|
20
|
+
"default": "hex",
|
|
21
|
+
"hasDynamicHelp": false,
|
|
25
22
|
"multiple": false,
|
|
26
23
|
"options": [
|
|
27
24
|
"base16",
|
|
@@ -35,14 +32,16 @@
|
|
|
35
32
|
"base58xrp",
|
|
36
33
|
"base64",
|
|
37
34
|
"base64url",
|
|
35
|
+
"base64urlnopad",
|
|
38
36
|
"hex",
|
|
39
37
|
"utf8"
|
|
40
38
|
],
|
|
41
|
-
"
|
|
39
|
+
"type": "option"
|
|
42
40
|
},
|
|
43
41
|
"to": {
|
|
44
42
|
"name": "to",
|
|
45
|
-
"
|
|
43
|
+
"default": "hex",
|
|
44
|
+
"hasDynamicHelp": false,
|
|
46
45
|
"multiple": false,
|
|
47
46
|
"options": [
|
|
48
47
|
"base16",
|
|
@@ -56,30 +55,40 @@
|
|
|
56
55
|
"base58xrp",
|
|
57
56
|
"base64",
|
|
58
57
|
"base64url",
|
|
58
|
+
"base64urlnopad",
|
|
59
59
|
"hex",
|
|
60
60
|
"utf8"
|
|
61
61
|
],
|
|
62
|
-
"
|
|
62
|
+
"type": "option"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"id": "make",
|
|
69
|
-
"description": "make elliptic curve key pair",
|
|
70
|
-
"strict": true,
|
|
71
|
-
"pluginName": "@agrozyme/eckey",
|
|
65
|
+
"hasDynamicHelp": false,
|
|
66
|
+
"hiddenAliases": [],
|
|
67
|
+
"id": "convert",
|
|
72
68
|
"pluginAlias": "@agrozyme/eckey",
|
|
69
|
+
"pluginName": "@agrozyme/eckey",
|
|
73
70
|
"pluginType": "core",
|
|
71
|
+
"strict": true,
|
|
72
|
+
"enableJsonFlag": false,
|
|
73
|
+
"isESM": false,
|
|
74
|
+
"relativePath": [
|
|
75
|
+
"dist",
|
|
76
|
+
"commands",
|
|
77
|
+
"convert.js"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"make": {
|
|
74
81
|
"aliases": [],
|
|
82
|
+
"args": {},
|
|
83
|
+
"description": "make elliptic curve key pair",
|
|
75
84
|
"examples": [
|
|
76
85
|
"<%= config.bin %> <%= command.id %>"
|
|
77
86
|
],
|
|
78
87
|
"flags": {
|
|
79
88
|
"curve": {
|
|
80
89
|
"name": "curve",
|
|
81
|
-
"type": "option",
|
|
82
90
|
"required": true,
|
|
91
|
+
"hasDynamicHelp": false,
|
|
83
92
|
"multiple": false,
|
|
84
93
|
"options": [
|
|
85
94
|
"bls12_381",
|
|
@@ -100,11 +109,13 @@
|
|
|
100
109
|
"secp384r1",
|
|
101
110
|
"secp521r1",
|
|
102
111
|
"vesta"
|
|
103
|
-
]
|
|
112
|
+
],
|
|
113
|
+
"type": "option"
|
|
104
114
|
},
|
|
105
115
|
"format": {
|
|
106
116
|
"name": "format",
|
|
107
|
-
"
|
|
117
|
+
"default": "hex",
|
|
118
|
+
"hasDynamicHelp": false,
|
|
108
119
|
"multiple": false,
|
|
109
120
|
"options": [
|
|
110
121
|
"base16",
|
|
@@ -118,34 +129,59 @@
|
|
|
118
129
|
"base58xrp",
|
|
119
130
|
"base64",
|
|
120
131
|
"base64url",
|
|
132
|
+
"base64urlnopad",
|
|
121
133
|
"hex",
|
|
122
134
|
"utf8"
|
|
123
135
|
],
|
|
124
|
-
"
|
|
136
|
+
"type": "option"
|
|
125
137
|
},
|
|
126
138
|
"count": {
|
|
127
139
|
"name": "count",
|
|
128
|
-
"
|
|
140
|
+
"default": 1,
|
|
141
|
+
"hasDynamicHelp": false,
|
|
129
142
|
"multiple": false,
|
|
130
|
-
"
|
|
143
|
+
"type": "option"
|
|
131
144
|
}
|
|
132
145
|
},
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"id": "test",
|
|
137
|
-
"description": "test the command here",
|
|
138
|
-
"strict": true,
|
|
139
|
-
"pluginName": "@agrozyme/eckey",
|
|
146
|
+
"hasDynamicHelp": false,
|
|
147
|
+
"hiddenAliases": [],
|
|
148
|
+
"id": "make",
|
|
140
149
|
"pluginAlias": "@agrozyme/eckey",
|
|
150
|
+
"pluginName": "@agrozyme/eckey",
|
|
141
151
|
"pluginType": "core",
|
|
142
|
-
"
|
|
152
|
+
"strict": true,
|
|
153
|
+
"enableJsonFlag": false,
|
|
154
|
+
"isESM": false,
|
|
155
|
+
"relativePath": [
|
|
156
|
+
"dist",
|
|
157
|
+
"commands",
|
|
158
|
+
"make.js"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"test": {
|
|
143
162
|
"aliases": [],
|
|
163
|
+
"args": {},
|
|
164
|
+
"description": "test the command here",
|
|
144
165
|
"examples": [
|
|
145
166
|
"<%= config.bin %> <%= command.id %>"
|
|
146
167
|
],
|
|
147
168
|
"flags": {},
|
|
148
|
-
"
|
|
169
|
+
"hasDynamicHelp": false,
|
|
170
|
+
"hidden": true,
|
|
171
|
+
"hiddenAliases": [],
|
|
172
|
+
"id": "test",
|
|
173
|
+
"pluginAlias": "@agrozyme/eckey",
|
|
174
|
+
"pluginName": "@agrozyme/eckey",
|
|
175
|
+
"pluginType": "core",
|
|
176
|
+
"strict": true,
|
|
177
|
+
"enableJsonFlag": false,
|
|
178
|
+
"isESM": false,
|
|
179
|
+
"relativePath": [
|
|
180
|
+
"dist",
|
|
181
|
+
"commands",
|
|
182
|
+
"test.js"
|
|
183
|
+
]
|
|
149
184
|
}
|
|
150
|
-
}
|
|
185
|
+
},
|
|
186
|
+
"version": "0.0.2"
|
|
151
187
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agrozyme/eckey",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Elliptic Curve Key CLI",
|
|
5
5
|
"author": "",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eckey": "./bin/run"
|
|
8
8
|
},
|
|
9
|
+
"repository": "https://gitlab.com/agrozyme-package/TypeScript/eckey.git",
|
|
9
10
|
"homepage": "https://gitlab.com/agrozyme-package/TypeScript/eckey",
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"main": "dist/index.js",
|
|
12
|
-
"repository": "https://gitlab.com/agrozyme-package/TypeScript/eckey.git",
|
|
13
13
|
"files": [
|
|
14
14
|
"/bin",
|
|
15
15
|
"/dist",
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
"/oclif.manifest.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@agrozyme/crypto": "^1",
|
|
21
|
-
"@oclif/core": "^
|
|
22
|
-
"@oclif/plugin-help": "^
|
|
23
|
-
"@oclif/plugin-plugins": "^
|
|
20
|
+
"@agrozyme/crypto": "^1.0.8",
|
|
21
|
+
"@oclif/core": "^3.26.3",
|
|
22
|
+
"@oclif/plugin-help": "^6.0.21",
|
|
23
|
+
"@oclif/plugin-plugins": "^5.0.10",
|
|
24
|
+
"rambdax": "^11.1.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@oclif/test": "^2",
|
|
27
|
-
"@types/chai": "^4",
|
|
28
|
-
"@types/jasmine": "^4",
|
|
29
|
-
"@types/node": "^
|
|
30
|
-
"chai": "^
|
|
31
|
-
"jasmine": "^5",
|
|
32
|
-
"oclif": "^
|
|
33
|
-
"pkg": "^5",
|
|
34
|
-
"shx": "^0",
|
|
35
|
-
"ts-node": "^10",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"yarpm": "^1"
|
|
27
|
+
"@oclif/test": "^3.2.10",
|
|
28
|
+
"@types/chai": "^4.3.14",
|
|
29
|
+
"@types/jasmine": "^5.1.4",
|
|
30
|
+
"@types/node": "^18.19.31",
|
|
31
|
+
"chai": "^5.1.0",
|
|
32
|
+
"jasmine": "^5.1.0",
|
|
33
|
+
"oclif": "^4.8.5",
|
|
34
|
+
"pkg": "^5.8.1",
|
|
35
|
+
"shx": "^0.3.4",
|
|
36
|
+
"ts-node": "^10.9.2",
|
|
37
|
+
"tslib": "^2.6.2",
|
|
38
|
+
"typescript": "^5.4.5",
|
|
39
|
+
"yarpm": "^1.2.0"
|
|
40
40
|
},
|
|
41
41
|
"oclif": {
|
|
42
42
|
"bin": "eckey",
|
|
@@ -52,15 +52,14 @@
|
|
|
52
52
|
"assets": "assets/**/*",
|
|
53
53
|
"outputPath": "package",
|
|
54
54
|
"targets": [
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
55
|
+
"node18-win",
|
|
56
|
+
"node18-linux",
|
|
57
|
+
"node18-macos"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
|
-
"node": ">=
|
|
61
|
+
"node": ">=18"
|
|
62
62
|
},
|
|
63
|
-
"bugs": "https://gitlab.com/agrozyme-package/TypeScript/eckey/issues",
|
|
64
63
|
"keywords": [
|
|
65
64
|
"oclif"
|
|
66
65
|
],
|
|
@@ -71,7 +70,7 @@
|
|
|
71
70
|
"clean:lock": "shx rm -f package-lock.json yarn.lock pnpm-lock.yaml",
|
|
72
71
|
"clean:all": "yarpm run clean && yarpm run clean:pack && yarpm run clean:lock",
|
|
73
72
|
"build": "yarpm run clean && tsc --build --force && shx cp -R ./src/assets ./dist",
|
|
74
|
-
"test": "jasmine --require=ts-node
|
|
73
|
+
"test": "jasmine --require=ts-node/register test/**/*.ts",
|
|
75
74
|
"oclif:readme": "yarpm run build && oclif readme",
|
|
76
75
|
"oclif:pack": "yarn generate-lock-entry > yarn.lock && oclif pack",
|
|
77
76
|
"package": "yarpm run build && pkg --no-bytecode --public --public-packages=* --compress=GZip .",
|