forked from hop-protocol/hop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 4.17 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
{
"name": "@hop-protocol/sdk",
"version": "0.0.1-beta.500",
"description": "The Hop Protocol JavaScript SDK",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"engines": {
"node": ">=14"
},
"scripts": {
"test": "jest",
"dev": "npm run version && tsc --watch",
"build": "npm run version && npm run build:ts",
"build:ts": "tsc",
"build:browser": "browserify -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/plugin-transform-runtime ] ] dist/src/index.js | uglifyjs --compress --mangle > hop.js",
"clean": "rimraf dist && rimraf hop.js",
"clean:docs": "rimraf docs",
"version": "echo \"export default '$(cat package.json | jq -r '.version')'\" > src/version.ts",
"lint": "eslint --fix \"src/**/*\" \"test/**/*\"",
"version:bump": "npm version prerelease --preid=beta",
"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/sdk@$(jq -r .version <package.json)\" latest",
"dist-tag:beta": "npm dist-tag add \"@hop-protocol/sdk@$(jq -r .version <package.json)\" beta",
"dist-tag:next": "npm dist-tag add \"@hop-protocol/sdk@$(jq -r .version <package.json)\" next",
"lerna:sync": "lerna-sync-version",
"release": "npm run clean && npm test && npm run publish:latest",
"bump": "npm run clean && npm run build && npm test && npm run version:bump && npm run lerna:sync",
"bump-release": "npm run version:bump && npm run lerna:sync && npm run release",
"prepare": "npm run lint && npm run build && npm run build:browser",
"docs": "npm run clean:docs && typedoc --plugin typedoc-plugin-markdown --theme markdown --hideGenerator --excludeExternals --excludePrivate --disableSources --hideBreadcrumbs --namedAnchors --out docs src/index.ts",
"docs:concat": "npm run clean:docs && typedoc --plugin typedoc-plugin-markdown --theme markdown --hideGenerator --excludeExternals --excludePrivate --disableSources --hideBreadcrumbs --namedAnchors --out docs src/index.ts && npx concat-md --toc --decrease-title-levels --dir-name-as-title docs > docs/README.md",
"docs:update-gitbook": "./scripts/update_gitbook.sh"
},
"directories": {},
"author": "",
"license": "MIT",
"dependencies": {
"@eth-optimism/contracts": "0.5.2",
"@hop-protocol/core": "0.0.1-beta.156",
"@maticnetwork/maticjs": "3.4.0-beta.0",
"dotenv": "8.6.0",
"ethereum-block-by-date": "^1.4.6",
"ethereumjs-util": "7.1.5",
"ethers": "5.7.1",
"eventemitter3": "4.0.7",
"fast-memoize": "2.5.2",
"isomorphic-fetch": "3.0.0",
"luxon": "2.5.0",
"merkletreejs": "0.2.32",
"web3": "1.7.5"
},
"devDependencies": {
"@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",
"@types/isomorphic-fetch": "0.0.35",
"@types/jest": "^27.0.3",
"@types/luxon": "^1.27.1",
"@types/node": "^17.0.21",
"@types/node-fetch": "2.5.10",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"eslint": "^7.30.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"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",
"rimraf": "^3.0.2",
"standard": "^12.0.1",
"ts-jest": "^26.5.4",
"tsify": "^4.0.1",
"typedoc": "^0.23.10",
"typedoc-plugin-markdown": "^3.13.4",
"typescript": "^4.8.4",
"uglify-es": "^3.3.9"
},
"standard": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
},
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
}
}