generated from InverterNetwork/npm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.85 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
{
"name": "@inverter-network/abis",
"description": "INVERTER typescript ABIs",
"version": "0.3.6",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"directories": {
"tool": "tools",
"test": "tests"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"watch": "tsc -w -p ./tsconfig.json",
"dev": "nodemon",
"type-check": "tsc-files --pretty --project ./tsconfig.build.json --noEmit --module ESNext --declaration",
"prep:configs": "bun tools/prep/configs/index.ts && prettier --write ./deployments > /dev/null 2>&1",
"clean:configs": "bun tools/clean/configs.ts",
"clean:redundant": "bun tools/clean/redundantConfigs.ts",
"check:missing:descriptions": "bun tools/check/missingDescriptions.ts",
"compile": "bun tools/compile/index.ts && prettier --write ./src/data.ts",
"build": "bun clean && bun build:cjs && bun build:esm && bun build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && tsc-alias --outDir ./dist/cjs && ts-add-js-extension --dir=dist/cjs --showchanges=false",
"build:esm": "tsc --project ./tsconfig.build.json --module ESNext --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json && tsc-alias --outDir ./dist/esm && ts-add-js-extension --dir=dist/esm --showchanges=false",
"build:types": "tsc --project ./tsconfig.build.json --module ESNext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap && tsc-alias --outDir ./dist/types",
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
"postinstall": "husky || true",
"prepack": "pinst --disable",
"package": "bun run build && npm pack",
"postpack": "pinst --enable",
"pre-commit": "lint-staged",
"pre-push": "bun run build",
"release": "standard-version -a",
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
"release:beta": "standard-version -a --prerelease beta --skip.changelog",
"release:pub": "git push --follow-tags origin $(git rev-parse --abbrev-ref HEAD)",
"trans:tags": "bun tools/transition/singleTagToTagArray.ts && prettier --write ./deployments > /dev/null 2>&1",
"cp:dist-sdk": "bun compile && bun run build && cp -r dist ../sdk/node_modules/@inverter-network/abis/ && cp package.json ../sdk/node_modules/@inverter-network/abis/"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"bun type-check",
"eslint --fix",
"prettier --write"
]
},
"peerDependencies": {
"typescript": "^5.6.2"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/bun": "^1",
"@types/lodash": "^4.17.1",
"abitype": "^1",
"husky": "^9",
"lint-staged": "^15",
"nodemon": "^3.1.7",
"pinst": "^3",
"prettier": "^3",
"standard-version": "^9",
"ts-add-js-extension": "^1.6.4",
"tsc-alias": "^1.8.10",
"eslint-plugin-import-x": "^4.3.1",
"eslint-plugin-prettier": "^5.2.1",
"typescript-eslint": "^8.6.0",
"tsc-files": "^1.1.4"
},
"license": "LGPL-3.0",
"homepage": "https://github.com/InverterNetwork/abis",
"repository": "inverter-network/abis",
"authors": [
"mguleryuz"
],
"bugs": {
"url": "https://github.com/InverterNetwork/abis"
},
"keywords": [
"InverterNetwork",
"npm",
"contracts",
"web3",
"ethereum",
"solidity",
"evm",
"abis"
]
}