-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
79 lines (79 loc) · 2.33 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
{
"name": "bp-sdk-server",
"version": "1.4.0",
"description": "Blockpass Sdk server",
"license": "MIT",
"repository": "https://github.com/blockpass-org/blockpass-serversdk",
"homepage": "https://blockpass.org/",
"main": "dist/node/index.js",
"module": "dist/es6/index.js",
"author": {
"name": "Blockpass"
},
"engines": {
"node": ">=6"
},
"files": ["dist"],
"scripts": {
"test": "jest",
"coverage": "npm test -- --coverage",
"postcoverage": "opn coverage/lcov-report/index.html",
"lint": "eslint src",
"flow": "flow check",
"docs": "documentation build src -f md -o doc/api.md",
"clean": "rimraf dist",
"flowbuild":
"flow-copy-source src dist/node && flow-remove-types src/ --out-dir dist/es6",
"prebuild": "npm run docs && npm run clean && npm run flowbuild",
"build": "babel src -d dist/node",
"watch": "npm-watch",
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"prepublishOnly": "npm run lint && npm test && npm run build",
"postpublish": "git push origin master --follow-tags"
},
"watch": {
"test": "{src,test}/*.js",
"lint": "{src,test}/*.js",
"build": "src"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": ["src/**"]
},
"dependencies": {
"jsonwebtoken": "^8.2.1",
"superagent": "^3.8.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.3",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-2": "^6.24.1",
"documentation": "^6.1.0",
"eslint": "^5.5.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-flowtype-errors": "^3.5.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-config-prettier": "^2.9.0",
"faker": "^4.1.0",
"flow-bin": "^0.69.0",
"flow-copy-source": "^1.3.0",
"flow-remove-types": "^1.2.3",
"jest-cli": "^22.4.3",
"nock": "^9.2.5",
"npm-watch": "^0.3.0",
"opn-cli": "^3.1.0",
"prettier": "^1.11.1",
"rimraf": "^2.6.2"
}
}