-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
104 lines (104 loc) · 3.25 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
{
"name": "@lifi/types",
"version": "16.2.1",
"description": "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/types",
"bugs": {
"url": "https://github.com/lifinance/types"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/lifinance/types.git"
},
"license": "Apache-2.0",
"author": "LI.FI <github@li.finance>",
"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",
"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"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"yarn run lint:fix",
"yarn run prettier:fix"
]
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/fs-extra": "^11.0.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"fs-extra": "^11.2.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"pinst": "^3.0.0",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"typescript": "^5.6.2"
},
"packageManager": "yarn@4.3.1",
"publishConfig": {
"access": "public"
},
"standard-version": {
"scripts": {
"postbump": "git add ."
}
}
}