-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 2.47 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
{
"name": "@cargo-eth/js",
"version": "7.1.3",
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/cargo-eth/cargo-js.git"
},
"resolutions": {
"lodash": "4.17.13",
"js-yaml": "3.13.1"
},
"dependencies": {
"@babel/runtime": "^7.6.2",
"bignumber.js": "^8.1.1",
"core-js": "2",
"isomorphic-fetch": "^2.2.1"
},
"peerDependencies": {
"web3": "1.2.6"
},
"jest": {
"automock": false,
"setupFiles": [
"<rootDir>/src/test/setup.jest.ts"
]
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.6.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^24.0.15",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"eslint": "^7.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.12.4",
"install-peers-cli": "^2.2.0",
"jest": "^24.8.0",
"jest-fetch-mock": "^2.1.2",
"prettier": "^2.2.1",
"source-map-loader": "^0.2.4",
"tsc": "^1.20150623.0",
"typescript": "^3.9.5",
"web3": "1.2.6",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.9",
"webpack-merge": "^4.2.2"
},
"scripts": {
"build": "rm -r ./dist; yarn build:types && NODE_ENV=production yarn webpack --config ./webpack.prod.js",
"build:client": "rm -r ./dist;NODE_ENV=production yarn webpack --config ./webpack.client.prod.js",
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly --declarationDir ./dist; mv ./dist/src/* ./dist; rm -r ./dist/src; exit 0",
"develop": "REQUEST_URL='http://localhost:3333' yarn webpack --watch --config ./webpack.dev.js",
"test": "jest",
"test:types": "tsc --skipLibCheck",
"pretest": "npm run build",
"build:module": "rm -r ./dist; yarn build:types && NODE_ENV=production yarn webpack --config ./webpack.prod.js",
"prepublishOnly": "yarn run build:module"
},
"files": [
"dist"
]
}