UNPKG

2.55 kBJSONView Raw
1{
2 "name": "loom-js",
3 "description": "NodeJS & browser client for Loom DAppChains.",
4 "author": {
5 "name": "Loom Network",
6 "url": "https://loomx.io"
7 },
8 "version": "1.18.0",
9 "keywords": [
10 "blockchain",
11 "dappchain"
12 ],
13 "license": "BSD-3-Clause",
14 "main": "dist/index.js",
15 "scripts": {
16 "build": "tsc",
17 "build:browser": "tsc && webpack",
18 "build:dev": "tsc --project es2017.tsconfig.json",
19 "format": "prettier --write \"src/**/*.ts\"",
20 "test": "yarn test:node && yarn test:browser",
21 "test:node": "yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec",
22 "test:browser": "yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec",
23 "e2e:node": "yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec",
24 "e2e:browser": "yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec",
25 "proto": "node ./scripts/gen-proto.js",
26 "plasmaabi": "node ./scripts/plasma-abi.js",
27 "prepublish": "yarn proto && yarn plasmaabi && yarn build && webpack"
28 },
29 "dependencies": {
30 "axios": "^0.18.0",
31 "bn.js": "^4.11.8",
32 "crypto-browserify": "^3.12.0",
33 "debug": "^3.1.0",
34 "ethereumjs-util": "^5.2.0",
35 "google-protobuf": "3.6",
36 "retry": "^0.12.0",
37 "ripemd160": "^2.0.1",
38 "rlp": "^2.1.0",
39 "rpc-websockets": "^4.1.1",
40 "tweetnacl": "^1.0.0",
41 "web3": "^1.0.0-beta.34"
42 },
43 "devDependencies": {
44 "@babel/core": "^7.0.0-beta.46",
45 "@babel/plugin-transform-runtime": "^7.0.0-beta.46",
46 "@babel/preset-env": "^7.0.0-beta.46",
47 "@babel/runtime": "^7.0.0-beta.46",
48 "@types/bn.js": "^4.11.1",
49 "@types/debug": "^0.0.30",
50 "@types/ethereumjs-util": "^5.2.0",
51 "@types/google-protobuf": "^3.2.7",
52 "@types/node": "^10.0.3",
53 "@types/retry": "^0.10.2",
54 "@types/tape": "^4.2.32",
55 "babel-cli": "^6.26.0",
56 "babel-loader": "^8.0.0-beta.2",
57 "dotenv": "^5.0.1",
58 "dotenv-webpack": "^1.5.5",
59 "prettier": "1.12.1",
60 "shelljs": "^0.8.2",
61 "tap-spec": "^5.0.0",
62 "tape": "4.9",
63 "ts-protoc-gen": "^0.6.0",
64 "tslint": "^5.9.1",
65 "tslint-config-prettier": "^1.12.0",
66 "tslint-config-standard": "^7.0.0",
67 "typescript": "^2.9.2",
68 "webpack": "^4.6.0",
69 "webpack-cli": "^2.1.2",
70 "webpack-tape-run": "^0.0.7"
71 },
72 "browserslist": "last 2 versions"
73}