-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
73 lines (73 loc) · 2.14 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
{
"name": "fabric-client-wrapper",
"version": "1.1.1",
"description": "A wrapper around the Fabric Node SDK",
"main": "dist/index.js",
"author": "",
"license": "ISC",
"nyc": {
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false,
"exclude": [
"dist",
"test",
"lib/**/*.spec.js"
]
},
"scripts": {
"build": "BABEL_ENV=production babel lib -d dist",
"build-publish": "npm run lint && rm -rf ./dist && npm run build-doc && npm run build && npm publish",
"lint": "eslint \"**/*.js\"",
"format": "eslint --fix \"**/*.js\"",
"test": "BABEL_ENV=test GOPATH=./test/fixtures/chaincode HFC_LOGGING={} nyc mocha --compilers js:babel-core/register --require babel-polyfill test/testRunner.js",
"precommit": "lint-staged",
"flow": "flow",
"build-doc": "documentation --config documentation.yml build lib/index.js -f md -o DOCUMENTATION.md",
"serve-doc": "documentation --config documentation.yml serve --watch lib/index.js"
},
"lint-staged": {
"**/*.js": "eslint"
},
"dependencies": {
"lodash": "^4.17.4"
},
"peerDependencies": {
"fabric-client": "^1.1.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-3": "^6.24.1",
"chai": "^4.1.2",
"documentation": "^5.3.3",
"eslint": "^4.11.0",
"eslint-config-airbnb-base": "11.3.2",
"eslint-config-prettier": "1.6.0",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-flowtype-errors": "^3.3.6",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-lodash-fp": "^2.1.3",
"eslint-plugin-prettier": "2.3.1",
"fabric-ca-client": "^1.1.0",
"fabric-client": "^1.1.0",
"flow-bin": "^0.59.0",
"glob": "^7.1.2",
"husky": "^0.14.3",
"lint-staged": "^4.3.0",
"mocha": "^3.5.0",
"nyc": "^11.3.0",
"prettier": "1.8.2",
"request": "^2.83.0",
"rimraf": "^2.6.2",
"superagent": "^3.8.1",
"superagent-promise": "^1.1.0",
"uuid": "^3.1.0"
}
}