Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit 182caf2

Browse files
authored
Nh/extract cli (#29)
* remove CLI code and dependendencies from utils moving to payid-cli repo * add prepare script so that module can be installed directly from a github branch (for local testing) * remove serverKeys and PKI since it's not currently being planned for V.PayID
1 parent 00cd879 commit 182caf2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+26
-2400
lines changed

package-lock.json

Lines changed: 7 additions & 345 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,27 @@
1414
"author": "",
1515
"main": "dist/index.js",
1616
"types": "dist/index.d.ts",
17-
"bin": {
18-
"payid-utils": "./dist/cli.js"
19-
},
2017
"files": [
2118
"dist/*"
2219
],
2320
"scripts": {
24-
"preinstall": "npx npm-force-resolutions",
2521
"build": "rm -rf dist && tsc --project .",
2622
"lint": "eslint . --ext .ts --fix --max-warnings 0 && prettier --write '**/*.{md,json}'",
2723
"lintNoFix": "eslint . --ext .ts --max-warnings 0 && prettier --check '**/*.{md,json}'",
24+
"prepare": "npm run build",
2825
"test": "nyc mocha 'test/**/*.test.ts'"
2926
},
3027
"dependencies": {
3128
"axios": "^0.19.2",
3229
"beautify-json": "^1.0.1",
33-
"jose": "^1.27.3",
34-
"node-forge": "^0.9.1",
35-
"vorpal": "^1.12.0"
30+
"jose": "^1.27.3"
3631
},
3732
"devDependencies": {
3833
"@arkweid/lefthook": "^0.7.2",
3934
"@fintechstudios/eslint-plugin-chai-as-promised": "^3.0.2",
4035
"@types/chai": "^4.2.11",
4136
"@types/mocha": "^7.0.2",
4237
"@types/node": "^14.0.14",
43-
"@types/node-forge": "^0.9.4",
44-
"@types/pem-jwk": "^1.5.0",
45-
"@types/vorpal": "^1.12.0",
4638
"@typescript-eslint/eslint-plugin": "^3.7.1",
4739
"@typescript-eslint/parser": "^3.7.1",
4840
"@xpring-eng/eslint-config-base": "^0.11.0",
@@ -68,8 +60,5 @@
6860
"node": ">=12.0.0",
6961
"npm": ">=6",
7062
"yarn": "please use npm"
71-
},
72-
"resolutions": {
73-
"lodash": "^4.17.19"
7463
}
7564
}

src/cli.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/commands/Command.ts

Lines changed: 0 additions & 97 deletions
This file was deleted.

src/commands/clear.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/commands/crypto-address-add.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/commands/crypto-address-remove.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/commands/files.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/commands/index.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)