This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 3.2 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
{
"name": "@kiltprotocol/portablegabi",
"version": "0.4.0",
"description": "Typescript API and WASM wrapper of Go library Gabi enabling anonymous credentials",
"main": "./build/index.js",
"typings": "./build/index.d.ts",
"scripts": {
"chain:start": "docker run -d -p 9944:9944 kiltprotocol/portablegabi-node:latest",
"chain:stop": "docker stop $(docker ps -f ancestor=kiltprotocol/portablegabi-node -q)",
"_comment": "NODE_ENV=custom is set because otherwise tests won't compile (see https://github.com/polkadot-js/common/issues/321)",
"test": "yarn build && export NODE_ENV=custom; jest --group=-integration --coverage",
"test:ci": "yarn test --ci",
"testf": "export NODE_ENV=custom; jest --group=-integration",
"testf -c": "yarn test quick",
"testWatch": "jest --watch --coverage --group=-integration",
"test:integration": "export NODE_ENV=custom;jest --bail --runInBand --group=integration",
"test:integration:detached": "yarn chain:start && yarn test:integration && yarn chain:stop",
"test:examples_offchain": "yarn ts-node docs/examples/exampleSingle.ts && yarn ts-node docs/examples/exampleCombined.ts",
"test:examples_onchain": "yarn ts-node docs/examples/exampleSingle.chain.ts && yarn ts-node docs/examples/exampleCombined.chain.ts",
"test:examples_onchain:detached": "yarn chain:start && yarn test:examples_onchain && yarn chain:stop",
"test:tutorial": "yarn ts-node docs/examples/tutorial/tutorial.ts",
"lint": "eslint 'src/**'",
"lint:fix": "yarn lint --fix",
"style": "prettier -l src/**/*.ts",
"style:fix": "yarn style --write",
"build": "yarn build:typescript && yarn build:wasm",
"build:typescript": "tsc --declaration",
"build:wasm": "cd go-wasm && dep ensure && env GOOS=js GOARCH=wasm go build -o ../build/wasm/main.wasm main.go",
"build:docs": "typedoc --theme default --out docs/api --includeVersion && touch docs/api/.nojekyll",
"publish": "npm publish --access public"
},
"author": "KILT Protocol",
"files": [
"/build"
],
"license": "BSD-4-Clause",
"bugs": {
"url": "https://github.com/KILTprotocol/portablegabi/issues"
},
"homepage": "https://github.com/KILTprotocol/portablegabi#readme",
"devDependencies": {
"@types/jest": "^26.0.7",
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^30.0.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-tsc": "^1.2.0",
"jest": "^26.1.0",
"jest-docblock": "^26.0.0",
"jest-runner": "^26.1.0",
"jest-runner-groups": "^2.0.1",
"prettier": "^2.0.5",
"ts-jest": "^26.1.4",
"ts-node": "^8.10.1",
"typedoc": "^0.17.8",
"typescript": "^3.9.7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KILTprotocol/portablegabi.git"
},
"dependencies": {
"@polkadot/api": "^2.0.1",
"@polkadot/keyring": "^3.5.1",
"@polkadot/rpc-provider": "^2.0.1",
"@polkadot/types": "^2.0.1",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1"
}
}