-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
119 lines (119 loc) · 2.71 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
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@devprotocol/dev-kit",
"type": "module",
"version": "8.7.0",
"description": "Dev Kit for JavaScript",
"author": "abyssparanoia",
"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/dev-kit.d.ts"
},
"./l2": {
"import": "./l2/index.mjs",
"require": "./l2/index.js",
"types": "./l2/index.d.ts"
},
"./agent": {
"import": "./agent/index.mjs",
"require": "./agent/index.js",
"types": "./agent/index.d.ts"
}
},
"types": "./dist/dev-kit.d.ts",
"files": [
"dist/*.mjs",
"dist/*.js",
"dist/*.ts",
"lib/**/*.ts",
"l2",
"agent",
"!**/*.spec.*"
],
"scripts": {
"build": "yarn clean && yarn build:ts && yarn build:rollup",
"build:ts": "tsc --target esnext",
"build:rollup": "rollup -c && rollup -c rollup.config.d.js",
"lint": "yarn lint:eslint && yarn lint:format",
"lint:eslint": "eslint . --ext .ts --fix --cache --quiet",
"lint:format": "prettier --write '**/*.{ts,js,json,md,yml}'",
"test": "jest",
"test:coverage": "jest --coverage",
"prepack": "yarn build",
"clean": "rimraf dist l2 agent",
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-env": "7.26.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "16.0.0",
"@types/jest": "29.5.14",
"@types/ramda": "0.30.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-functional": "4.4.1",
"eslint-plugin-jest": "28.10.0",
"ethers": "6.13.4",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.3.0",
"npm-run-all2": "7.0.2",
"pre-commit": "1.2.2",
"prettier": "3.4.2",
"rimraf": "5.0.10",
"rollup": "4.29.1",
"rollup-plugin-dts": "6.1.1",
"ts-jest": "29.2.5",
"typescript": "5.7.2"
},
"lint-staged": {
"./lib/**/*.ts": [
"eslint --fix -c ./.eslintrc.json"
]
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
},
"moduleFileExtensions": [
"js",
"ts",
"json"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testTimeout": 500000
},
"dependencies": {
"@devprotocol/util-ts": "4.0.0",
"bignumber.js": "9.1.2",
"js-base64": "^3.7.2",
"ramda": "^0.30.0"
},
"peerDependencies": {
"ethers": "^6.0.0"
},
"directories": {
"lib": "lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dev-protocol/dev-kit-js.git"
},
"bugs": {
"url": "https://github.com/dev-protocol/dev-kit-js/issues"
},
"homepage": "https://github.com/dev-protocol/dev-kit-js#readme"
}