forked from w3f/1k-validators-be
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 2.84 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 2.84 KB
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
{
"name": "@1kv/core",
"version": "3.2.2",
"description": "Services for running the Thousand Validator Program.",
"main": "index.js",
"scripts": {
"open:polkadot-apps": "open-cli https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9944#/staking",
"open:telemetry": "open-cli http://localhost:3000",
"build": "tsc --build tsconfig.json",
"build:prod": "node esbuild.js --prod",
"docker": "docker-compose rm -f; docker-compose build --no-cache; docker-compose up -d",
"clean": "../../node_modules/.bin/rimraf ./build tsconfig.tsbuildinfo combined.log",
"clean:build": "yarn clean && yarn build",
"create-config-kusama-current-dev": "cp ./config/kusama.current.dev.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-polkadot-current-dev": "cp ./config/polkadot.current.dev.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-kusama-microservice-dev": "cp ./config/kusama.microservice.dev.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-polkadot-microservice-dev": "cp ./config/polkadot.microservice.dev.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-kusama-current": "cp ./config/kusama.current.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-polkadot-current": "cp ./config/polkadot.current.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-kusama-microservice": "cp ./config/kusama.microservice.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"create-config-polkadot-microservice": "cp ./config/polkadot.microservice.sample.json ./config/main.json && cp ./config/secret.sample.json ./config/secret.json",
"lint": "../../node_modules/.bin/eslint 'src/**/*.{js,ts,tsx}' --quiet",
"lint:fix": "../../node_modules/.bin/eslint 'src/**/*.{js,ts,tsx, json}' --quiet --fix",
"start": "NODE_OPTIONS='--max-old-space-size=8096' ts-node src/index.ts start",
"start:watch": "nodemon --watch build --exec node --max-old-space-size=8024 build/index.js",
"start:dev": "node esbuild.js --watch & nodemon --watch build --exec node --max-old-space-size=8024 build/index.mjs",
"js:start": "NODE_OPTIONS='--max-old-space-size=10096' node build/index.js start",
"test": "yarn test:unit && yarn test:int",
"test:unit": "jest --config=jest.unit.config.js --verbose",
"test:int": "jest --config=jest.int.config.js --verbose",
"test:watch": "jest --watch",
"test:candidates": "ts-node test/validateCandidates.ts",
"writeMatrix": "ts-node test/candidatesMatrix.ts"
},
"author": "Web3 Foundation <teched@web3.foundation>",
"license": "GPL-3.0"
}