-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.68 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.68 KB
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
{
"name": "<pkg_name>",
"description": "<pkg_description>",
"version": "0.0.0",
"license": "Apache-2.0",
"sideEffects": false,
"exports": {
".": {
"require": "./src/index.ts",
"import": "./src/index.ts",
"types": "./src/index.ts"
},
"./client": {
"require": "./src/client/index.ts",
"import": "./src/client/index.ts",
"types": "./src/client/index.ts"
}
},
"files": [
"dist"
],
"scripts": {
"watch": "bun run script/tsgo-watch.ts",
"type-check": "tsgo --noEmit --pretty",
"format": "prettier --write .",
"lint": "eslint",
"fill-placeholders": "sh ./script/fill-placeholders.sh",
"build": "bun build:cjs && bun build:esm && bun build:types",
"build:cjs": "tsc --project ./tsconfig.cjs.json && tsc-alias --outDir ./dist/cjs && ts-add-js-extension --dir=dist/cjs --showprogress=false",
"build:esm": "tsc --project ./tsconfig.esm.json && tsc-alias --outDir ./dist/esm && ts-add-js-extension --dir=dist/esm --showprogress=false",
"build:types": "tsc --project ./tsconfig.types.json && tsc-alias --outDir ./dist/types",
"clean": "rm -rf dist tsconfig.tsbuildinfo node_modules bun.lockb",
"postinstall": "husky || true",
"prepack": "pinst --disable",
"package": "bun run build && npm pack",
"postpack": "pinst --enable",
"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)"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs,json,md,css}": [
"eslint --fix",
"prettier --write"
]
},
"resolutions": {
"eslint": "^9.17.0",
"typescript": "^5.8.0"
},
"dependencies": {
"type-fest-4": "npm:type-fest@latest",
"debug": "^4.4.1"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@types/bun": "^1.2.22",
"@types/debug": "^4.1.12",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"pinst": "^3.0.0",
"prettier": "^3.6.2",
"prettier-plugin-sh": "^0.18.0",
"standard-version": "^9.5.0",
"ts-add-js-extension": "^1.6.6",
"tsc-alias": "^1.8.16",
"tsc-files": "^1.1.4",
"typescript-eslint": "^8.44.0"
},
"homepage": "https://github.com/<github_username>/<pkg_name>",
"repository": "<github_username>/<pkg_name>",
"authors": [
"<github_username>"
],
"keywords": [
"npm",
"contracts",
"web3",
"ethereum",
"solidity",
"evm"
]
}