-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
executable file
·82 lines (82 loc) · 2.19 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
{
"name": "leap-core",
"version": "3.0.0",
"description": "transaction and block implementation",
"main": "dist/index.js",
"types": "./index.d.ts",
"keywords": [
"leap",
"plasma",
"scaling",
"ethereum"
],
"files": [
"dist",
"index.d.ts",
"README.md"
],
"scripts": {
"lint": "yarn lint:js",
"lint:eslint": "eslint --fix --ignore-path .gitignore --ignore-pattern internals/scripts --ignore-pattern dist",
"lint:js": "yarn lint:eslint . ",
"check-coverage": "nyc check-coverage --statements 50 --branches 50 --functions 50 --lines 50",
"test": "mocha --require @babel/register --require @babel/polyfill lib/*.spec.js",
"cover": "nyc --reporter=lcov yarn test",
"prebuild": "rm -rf dist",
"build": "babel --ignore '**/*.spec.js' --out-dir dist lib && parcel build -t browser --global LeapCore lib/index.js -o dist/leap-core.min.js",
"prepublish": "yarn prebuild && yarn build"
},
"config": {
"ghooks": {
"pre-commit": "yarn cover && yarn check-coverage"
}
},
"nyc": {
"exclude": [
"**/*.spec.js",
"test",
"dist"
]
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
},
"author": "Leap DAO",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"babel-eslint": "^10.0.3",
"babel-plugin-add-module-exports": "^1.0.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"parcel-bundler": "^1.12.4",
"prettier": "^1.18.2",
"utf8": "^2.1.2"
},
"dependencies": {
"@types/web3": "^1.0.18",
"ethereumjs-util": "6.0.0",
"node-fetch": "^2.3.0",
"web3-core-promievent": "^1.2.4"
},
"resolutions": {
"parcel-bundler/**/terser": "4.1.0"
}
}