-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
42 lines (42 loc) · 1.86 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
{
"version": "2.0.4",
"private": true,
"repository": "[email protected]:parallel-finance/parallel-js.git",
"author": "Parallel Finance Team",
"license": "Apache-2.0",
"workspaces": [
"packages/*"
],
"resolutions": {
"@polkadot/api": "12.3.1",
"@polkadot/types": "12.3.1"
},
"scripts": {
"build": "yarn build:interfaces && polkadot-dev-build-ts",
"build:interfaces": "node -r ts-node/register -r tsconfig-paths/register packages/types/scripts/generate.ts && node -r ts-node/register -r tsconfig-paths/register packages/type-definitions/scripts/generate.ts",
"lint": "polkadot-dev-run-lint",
"clean": "polkadot-dev-clean-build",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --coverage",
"update-metadata": "ts-node --project ./tsconfig.json packages/types/scripts/updateMetadata.ts",
"generate:defs": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/polkadot-types-from-defs --package @parallel-finance/types/interfaces --endpoint ./packages/types/src/metadata/static-latest.json --input packages/types/src/interfaces",
"generate:meta": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/polkadot-types-from-chain --package @parallel-finance/types/interfaces --endpoint ./packages/types/src/metadata/static-latest.json --output packages/types/src/interfaces",
"bump": "yarn workspaces foreach version"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/register": "^7.21.0",
"@babel/runtime": "^7.21.0",
"@open-web3/dev-config": "^0.2.9",
"@open-web3/util": "^2.0.1",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "latest",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.5"
},
"packageManager": "[email protected]",
"dependencies": {
"@polkadot/typegen": "^12.3.1"
}
}