1 | {
|
2 | "name": "js-conflux-sdk",
|
3 | "description": "JavaScript Conflux Software Development Kit",
|
4 | "version": "0.9.0-alpha",
|
5 | "license": "LGPL-3.0",
|
6 | "author": "Haizhou@conflux-chain.org",
|
7 | "homepage": "https://github.com/Conflux-Chain/js-conflux-sdk#readme",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "git+https://github.com/Conflux-Chain/js-conflux-sdk.git"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/Conflux-Chain/js-conflux-sdk/issues"
|
14 | },
|
15 | "keywords": [
|
16 | "conflux",
|
17 | "sdk"
|
18 | ],
|
19 | "main": "lib/main.js",
|
20 | "module": "esm/index.js",
|
21 | "browser": {
|
22 | "secp256k1": "secp256k1/elliptic",
|
23 | "lib/main.js": "esm/main.js"
|
24 | },
|
25 | "files": [
|
26 | "mock",
|
27 | "lib",
|
28 | "esm",
|
29 | "dist"
|
30 | ],
|
31 | "browserslit": "cover 99.5%",
|
32 | "esm": {
|
33 | "cjs": {
|
34 | "dedefault": true
|
35 | }
|
36 | },
|
37 | "dependencies": {
|
38 | "@babel/runtime": "^7.8.4",
|
39 | "big.js": "^5.2.2",
|
40 | "esm": "^3.2.25",
|
41 | "jsbi": "^3.1.1",
|
42 | "keccak": "^2.0.0",
|
43 | "lodash": "^4.17.15",
|
44 | "secp256k1": "^3.7.1",
|
45 | "superagent": "^5.1.0"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@babel/core": "^7.8.4",
|
49 | "@babel/plugin-transform-runtime": "^7.8.3",
|
50 | "@babel/preset-env": "^7.8.4",
|
51 | "babel-plugin-lodash": "^3.3.4",
|
52 | "babelify": "^10.0.0",
|
53 | "browserify": "^16.5.0",
|
54 | "concurrently": "^5.1.0",
|
55 | "eslint": "^6.3.0",
|
56 | "eslint-config-airbnb-base": "^14.0.0",
|
57 | "eslint-plugin-import": "^2.18.2",
|
58 | "exorcist": "^1.0.1",
|
59 | "fs-extra": "^8.1.0",
|
60 | "jest": "^24.9.0",
|
61 | "js-conflux-sdk": "^0.7.5",
|
62 | "prepend-file": "^1.3.1",
|
63 | "tinyify": "^2.5.2",
|
64 | "walker": "^1.0.7"
|
65 | },
|
66 | "resolutions": {
|
67 | "tinyify/acorn-node/acorn": "7.1.1",
|
68 | "eslint/espree/acorn": "7.1.1",
|
69 | "tinyify/unassertify/unassert/acorn": "7.1.1",
|
70 | "**/minimist": "1.2.2",
|
71 | "jest/jest-cli/jest-config/jest-environment-jsdom/jsdom/acorn-globals/acorn": "6.4.1"
|
72 | },
|
73 | "scripts": {
|
74 | "eslint:fix": "eslint --fix ./src ./test ./mock",
|
75 | "build": "npm run build:backend & npm run build:frontend",
|
76 | "build:frontend": "node development/build-frontend.js",
|
77 | "build:backend": "node development/build-backend.js",
|
78 | "prepublishOnly": "npm run build",
|
79 | "test": "jest"
|
80 | }
|
81 | }
|