-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 3.44 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@lifi/data-types",
"version": "5.15.2",
"description": "Data types for the LI.FI stack",
"keywords": [
"sdk",
"ethereum",
"dapp",
"bridge",
"swap",
"web3",
"lifi",
"ethers",
"cross-chain",
"defi",
"web3-react",
"cross-chain-applications",
"cross-chain-bridge",
"bridge-aggregation",
"multi-chain",
"metamask"
],
"homepage": "https://github.com/lifinance/data-types",
"bugs": {
"url": "https://github.com/lifinance/data-types"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/lifinance/data-types.git"
},
"license": "Apache-2.0",
"author": "Eugene Chybisov <[email protected]>",
"type": "module",
"exports": {
".": {
"types": "./src/_types/index.d.ts",
"import": "./src/_esm/index.js",
"default": "./src/_cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "./src/_cjs/index.js",
"module": "./src/_esm/index.js",
"types": "./src/_types/index.d.ts",
"typings": "./src/_types/index.d.ts",
"sideEffects": false,
"files": [
"src",
"!src/assets",
"!src/**/*.tsbuildinfo"
],
"scripts": {
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo src/tsconfig.build.tsbuildinfo src/_esm src/_cjs src/_types",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
"package": "npm run build && npm pack",
"postinstall": "husky install",
"postpack": "pinst --enable",
"pre-commit": "lint-staged",
"pre-push": "yarn build",
"prepublishOnly": "yarn node scripts/prepublishOnly.js",
"prepack": "pinst --disable",
"prettier:fix": "prettier --write ./src/.",
"release": "standard-version -a",
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
"release:beta": "standard-version -a --prerelease beta --skip.changelog",
"typecheck": "tsc --noEmit",
"test": "vitest --run",
"test:cov": "yarn test --coverage"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"yarn run lint:fix",
"yarn run prettier:fix"
]
},
"dependencies": {
"@lifi/types": "^v16.2.1"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.2.2",
"@solana/web3.js": "^1.95.1",
"@types/fs-extra": "^11.0.4",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitest/coverage-v8": "^2.0.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"fs-extra": "^11.2.0",
"husky": "^9.1.1",
"lint-staged": "^15.2.7",
"pinst": "^3.0.0",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"typescript": "^5.5.4",
"viem": "^2.18.0",
"vitest": "^2.0.4"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
}
}