-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
45 lines (45 loc) · 1.81 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
{
"name": "zns",
"description": "Zilliqa Naming Service",
"author": {
"name": "Unstoppable Domains",
"email": "support@unstoppabledomains.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/unstoppabledomains/zns.git"
},
"version": "0.3.0",
"devDependencies": {
"@types/jest": "^24.0.23",
"@types/lodash": "^4.14.136",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"typescript": "^3.8.3"
},
"dependencies": {
"@zilliqa-js/zilliqa": "^3.3.3",
"hash.js": "^1.1.7",
"lodash": "^4.17.15",
"tslib": "^1.9.3"
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"testEnvironment": "node"
},
"scripts": {
"zilliqa:start": "docker run -d -p 5555:5555 us-central1-docker.pkg.dev/unstoppable-domains/zilliqa/zilliqa-dev-node:latest",
"zilliqa:stop": "docker kill `docker ps --filter 'ancestor=us-central1-docker.pkg.dev/unstoppable-domains/zilliqa/zilliqa-dev-node:latest' -q`",
"build": "tsc -p . && cp -R scilla build; docker build --tag us-central1-docker.pkg.dev/unstoppable-domains/zilliqa/zilliqa-dev-node:latest docker/build",
"contracts": "docker run --entrypoint /bin/sh -v \"$(pwd)\":/zns-contracts us-central1-docker.pkg.dev/unstoppable-domains/zilliqa/zilliqa-dev-node:latest -c /zns-contracts/docker/scripts/generate-contract-info.sh",
"test": "yarn contracts && yarn test:standalone-node",
"test:standalone-node": "ZIL_NODE_TYPE=standalone-node jest smart-contract.test.ts",
"test:testnet": "ZIL_NODE_TYPE=testnet jest smart-contract.test.ts",
"update-snapshot": "jest -u -t",
"firebase-auth": "firebase login",
"migrate": "yarn build && ZIL_NETWORK=mainnet yarn node ./scripts/migrate.js",
"migrate:testnet": "yarn build && ZIL_NETWORK=testnet yarn node ./scripts/migrate.js"
}
}