forked from hop-protocol/hop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.44 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.44 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
88
89
90
91
{
"name": "@hop-protocol/core",
"version": "0.0.1-beta.62",
"description": "Hop Protocol networks config",
"main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=14",
"yarn": "^1.22.11"
},
"scripts": {
"test": "jest test",
"dev": "npm run version && tsc --watch",
"build": "npm run version && npm run build:typechain && npm run build:ts",
"build:ts": "tsc",
"build:typechain": "typechain --target=ethers-v5 --out-dir=./src/contracts ./src/abi/**/*.json && sh ./scripts/ts-nocheck.sh",
"clean": "rimraf dist abi addresses contracts metadata networks version.js index.js",
"version": "echo \"export default '$(cat package.json | jq -r '.version')'\" > src/version.ts",
"version:bump": "npm version prerelease --preid=beta",
"lint": "eslint --fix \"src/**/*\" \"test/**/*\"",
"publish:latest": "npm publish --tag latest --access public",
"publish:beta": "npm publish --tag beta --access public",
"publish:next": "npm publish --tag next --access public",
"dist-tag:latest": "npm dist-tag add \"@hop-protocol/core@$(jq -r .version <package.json)\" latest",
"dist-tag:beta": "npm dist-tag add \"@hop-protocol/core@$(jq -r .version <package.json)\" beta",
"dist-tag:next": "npm dist-tag add \"@hop-protocol/core@$(jq -r .version <package.json)\" next",
"lerna:sync": "lerna-sync-version",
"release": "npm run clean && npm test && npm run publish:latest",
"bump-release": "npm run version:bump && npm run lerna:sync && npm run release",
"prepare": "npm run lint && npm run build",
"json:mainnet": "node -e \"console.log(JSON.stringify(require('./addresses').mainnet, null, 2))\" > build/addresses/mainnet.json",
"json:staging": "node -e \"console.log(JSON.stringify(require('./addresses').staging, null, 2))\" > build/addresses/staging.json",
"upload": "npm run build && node s3upload/main"
},
"directories": {},
"author": "",
"license": "MIT",
"dependencies": {
"ethers": "^5.5.1"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.44.0",
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.5.2",
"@babel/preset-es2015": "^7.0.0-beta.53",
"@babel/runtime": "^7.7.2",
"@typechain/ethers-v5": "^9.0.0",
"@types/jest": "^25.2.3",
"@types/node": "^12.11.7",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"concat-md": "^0.3.5",
"dotenv": "^10.0.0",
"eslint": "^7.30.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"eslint-plugin-unused-imports": "^1.1.2",
"jest": "^26.6.3",
"lerna-sync-version": "0.0.6",
"prettier-standard": "^16.4.1",
"rimraf": "^3.0.2",
"standard": "^12.0.1",
"ts-jest": "^26.5.4",
"tsify": "^4.0.1",
"typechain": "^7.0.0",
"typescript": "^4.4.4",
"uglify-es": "^3.3.9"
},
"standard": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
},
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
}
}