forked from w3f/1k-validators-be
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 2.11 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
{
"name": "@1kv/common",
"version": "3.3.1",
"description": "Services for running the Thousand Validator Program.",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "tsc --build tsconfig.json",
"docker": "docker-compose rm -f; docker-compose build --no-cache; docker-compose up -d",
"lint": "../../node_modules/.bin/eslint 'src/**/*.{js,ts,tsx}' --quiet",
"lint:fix": "../../node_modules/.bin/eslint 'src/**/*.{js,ts,tsx, json}' --quiet --fix",
"clean": "../../node_modules/.bin/rimraf ./build tsconfig.tsbuildinfo combined.log",
"clean:build": "yarn clean && yarn build",
"writeCandidatesFile": "../../node_modules/.bin/esbuild src/scripts/writeCandidatesFile.ts --platform=node --bundle | node && yarn lint:fix",
"test:unit": "SKIP_MD5=true LOG_LEVEL=info ../../node_modules/.bin/vitest --config vitest.unit.config.mts --run --no-file-parallelism --coverage",
"test:unit:silent": "SKIP_MD5=true LOG_LEVEL=warn ../../node_modules/.bin/vitest --config vitest.unit.config.mts --run --no-file-parallelism --coverage",
"test:int": "SKIP_MD5=true LOG_LEVEL=info ../../node_modules/.bin/vitest --config vitest.int.config.mts --run --no-file-parallelism --coverage",
"test:int:silent": "SKIP_MD5=true LOG_LEVEL=warn ../../node_modules/.bin/vitest --config vitest.int.config.mts --run --no-file-parallelism --coverage",
"test:chaindata:int": " ../../node_modules/.bin/vitest chaindata.int.test.ts -c vitest.int.config.mts --coverage --run",
"test:apihandler:int": " ../../node_modules/.bin/vitest ApiHandler.int.test.ts -c vitest.int.config.mts --coverage --run",
"test:nominator:int": "../../node_modules/.bin/vitest Nominator.int.test.ts -c vitest.int.config.mts --coverage --run",
"test:scorekeeper:int": "../../node_modules/.bin/vitest scorekeeper.int.test.ts NumNominations.int.test.ts -c vitest.int.config.mts --coverage --run",
"test": "yarn test:unit && yarn test:int",
"ci:checkCandidatesFile": "../../node_modules/.bin/ts-node src/scripts/ci/checkCandidatesFile.ts"
},
"author": "Web3 Foundation <[email protected]>",
"license": "GPL-3.0"
}