We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae957e commit f7177c5Copy full SHA for f7177c5
scripts/cli.mjs renamed to cli.mjs
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env node
2
+
3
/**
4
* This script can be run from the command line using `npm run cli` in order to precompute
5
* the points of a public key and log the result to the console.s
package.json
@@ -9,6 +9,9 @@
9
"files": [
10
"dist"
11
],
12
+ "bin": {
13
+ "comput256r1": "cli.mjs"
14
+ },
15
"keywords": [
16
"secp256r1",
17
"256r1"
@@ -28,7 +31,6 @@
28
31
"lint:fix": "eslint src tests --ext .ts --fix",
29
32
"prettier": "prettier --check **/*.ts",
30
33
"prettier:fix": "prettier --write **/*.ts",
- "cli": "npm run build && node scripts/cli.mjs",
34
"hooks": "lefthook run pre-push",
35
"hooks:install": "lefthook install",
36
"hooks:uninstall": "lefthook uninstall"
0 commit comments