This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
/
package.json
53 lines (53 loc) · 1.98 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
{
"name": "@uniqys/cli",
"version": "0.3.0",
"description": "Uniqys Command Line Tool",
"author": "Uniqys Project (https://uniqys.net)",
"license": "MPL-2.0",
"repository": "https://github.com/uniqys/UniqysKit/tree/master/packages/cli",
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
],
"bin": {
"uniqys": "./dist/cli.js"
},
"scripts": {
"prebuild": "run-s gen-schema:*",
"gen-schema:dapp": "typescript-json-schema tsconfig.build.json DappConfigSchema --include src/config/dapp.ts --out src/config/schema/dapp.json --required",
"gen-schema:node": "typescript-json-schema tsconfig.build.json NodeConfig --include src/config/node.ts --out src/config/schema/node.json --required",
"gen-schema:key": "typescript-json-schema tsconfig.build.json KeySchema --include src/config/key.ts --out src/config/schema/key.json --required",
"build": "run-s build:ts build:copy",
"build:ts": "tsc -p tsconfig.build.json",
"build:copy": "mkdir -p ./dist/config/schema && run-for-every-file --src ./src/config/schema/ --file '*.json' --run 'cp ./src/config/schema/{{file-name}}.json ./dist/config/schema/'",
"lint": "tslint -c tslint.json -p tsconfig.json",
"test": "run-s test:build test:lint",
"test:build": "tsc -p tsconfig.json --noEmit",
"test:lint": "npm run lint"
},
"dependencies": {
"@uniqys/blockchain": "^0.3.0",
"@uniqys/config-validator": "^0.3.0",
"@uniqys/easy-framework": "^0.3.0",
"@uniqys/signature": "^0.3.0",
"@uniqys/store": "^0.3.0",
"@uniqys/types": "^0.3.0",
"fs-extra": "^7.0.0",
"leveldown": "^4.0.1",
"yargs": "^12.0.2"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/leveldown": "^4.0.0",
"@types/node": "^10.9.4",
"@types/yargs": "^11.1.2",
"@uniqys/type-definitions": "^0.3.0",
"npm-run-all": "^4.1.5",
"run-for-every-file": "^1.1.0",
"tslint": "^5.11.0",
"typescript": "^3.0.3",
"typescript-json-schema": "^0.32.0"
}
}