forked from PaulRBerg/prb-math
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 4.43 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
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@prb/math",
"description": "Smart contract library for advanced fixed-point math",
"version": "2.5.0",
"author": {
"name": "Paul Razvan Berg",
"url": "https://paulrberg.com"
},
"bugs": {
"url": "https://github.com/paulrberg/prb-math/issues"
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
"decimal.js": "^10.3.1",
"evm-bn": "^1.1.1",
"mathjs": "^10.4.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@ethersproject/abi": "^5.5.0",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/constants": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@ethersproject/wallet": "^5.5.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"@typechain/ethers-v5": "^9.0.0",
"@typechain/hardhat": "^5.0.0",
"@types/chai": "^4.3.0",
"@types/mocha-each": "^2.0.0",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"chai": "^4.3.6",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.0.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.4",
"hardhat": "^2.9.1",
"husky": "^7.0.4",
"lint-staged": "^12.3.5",
"lodash": "^4.17.21",
"mocha": "^9.2.1",
"mocha-each": "^2.0.1",
"nyc": "^15.1.0",
"pinst": "^3.0.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"rollup": "^2.70.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-terser": "^7.0.2",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.20",
"ts-generator": "^0.1.1",
"ts-node": "^10.7.0",
"typechain": "^7.0.1",
"typescript": "^4.6.2"
},
"files": [
"/contracts",
"/dist/**/*.d.ts",
"/dist/**/*.d.ts.map",
"/dist/**/*.js",
"/dist/**/*.js.map",
"CHANGELOG.md"
],
"homepage": "https://github.com/paulrberg/prb-math#readme",
"keywords": [
"blockchain",
"ethereum",
"library",
"math",
"smart-contracts",
"solidity",
"typescript"
],
"license": "Unlicense",
"main": "./dist/node/index.js",
"packageManager": "[email protected]",
"peerDependencies": {
"@ethersproject/bignumber": "5.x",
"evm-bn": "1.x",
"mathjs": "10.x"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/paulrberg/prb-math"
},
"resolutions": {
"@ethersproject/wallet": "^5.5.0"
},
"scripts": {
"build": "yarn build:node && yarn build:browser",
"build:browser": "yarn rollup --config ./rollup.config.ts",
"build:node": "tsc --project ./tsconfig.prod.json",
"clean": "shx rm -rf ./.nyc_output ./artifacts ./coverage-contracts ./coverage-ts ./dist ./typechain ./coverage.json ",
"clean:node_modules": "shx rm -rf ./node_modules",
"compile": "hardhat compile",
"coverage": "yarn coverage:contracts && yarn coverage:ts",
"coverage:contracts": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/contracts/**/*.test.ts\"",
"coverage:ts": "yarn nyc --nycrc-path ./.nycrc.yaml mocha",
"generate:types": "hardhat typechain",
"lint": "yarn lint:contracts && yarn lint:ts && yarn prettier:check",
"lint:contracts": "solhint --config ./.solhint.json --ignore-path ./.solhintignore --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepack": "yarn build",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config ./.prettierrc.yaml ./.prettierignore --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml --ignore-path ./.prettierignore \"**/*.{js,json,md,sol,ts}\"",
"test": "yarn mocha --config ./.mocharc.yaml ./test/**/*.test.ts",
"test:contracts": "yarn mocha --config ./.mocharc.yaml ./test/contracts/**/*.test.ts",
"test:ts": "yarn mocha --config ./.mocharc.yaml ./test/ts/**/*.test.ts"
},
"types": "./dist/node/index.d.ts"
}