-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
77 lines (77 loc) · 2.55 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
{
"name": "@uphold/uphold-sdk-javascript",
"version": "2.4.4",
"description": "Uphold SDK for JavasScript",
"keywords": [
"api",
"javascript",
"sdk",
"uphold"
],
"license": "MIT",
"author": "Uphold Inc.",
"main": "dist/node/index.js",
"repository": "[email protected]:uphold/uphold-sdk-javascript.git",
"scripts": {
"build": "rm -rf dist && yarn build:node && yarn build:browser",
"build:browser": "yarn && webpack --progress -p",
"build:node": "babel src/node -d dist/node && babel src/core -d dist/core",
"changelog": "github-changelog-generator --owner uphold --repo uphold-sdk-javascript --future-release=v$npm_package_version > CHANGELOG.md",
"cover": "yarn test --coverage",
"docs": "yarn docs:build && yarn docs:prepare && yarn docs:publish",
"docs:build": "gitbook install && cd docs && ../node_modules/.bin/gitbook build && cp -R images/* _book/gitbook/images",
"docs:prepare": "cd docs/_book && git init && git checkout -b gh-pages && git add . && git commit -m 'Update documentation'",
"docs:publish": "cd docs/_book && git push [email protected]:uphold/uphold-sdk-javascript gh-pages --force && cd .. && rm -rf _book",
"lint": "eslint --cache src test",
"release": "tasks/release.sh",
"tdd": "yarn test --watch",
"test": "jest --config jest.json",
"version": "yarn build && yarn changelog && git add -f dist CHANGELOG.md"
},
"browser": "dist/browser/uphold-sdk-javascript.js",
"dependencies": {
"content-range": "1.1.0",
"request": "2.88.2",
"request-promise": "4.2.5",
"standard-error": "1.1.0"
},
"devDependencies": {
"@babel/cli": "7.10.1",
"@babel/core": "7.10.2",
"@babel/preset-env": "7.10.2",
"@babel/register": "7.10.1",
"@uphold/github-changelog-generator": "1.0.2",
"babel-eslint": "10.1.0",
"babel-loader": "8.1.0",
"babel-plugin-istanbul": "6.0.0",
"babel-plugin-lodash": "3.3.4",
"core-js": "3.6.5",
"eslint": "6.8.0",
"eslint-config-seegno": "15.0.0",
"eslint-plugin-babel": "5.3.0",
"fetch-mock": "5.13.1",
"gitbook-cli": "2.3.2",
"is-html": "2.0.0",
"isomorphic-fetch": "2.2.1",
"jest": "26.0.1",
"lodash": "4.17.21",
"lodash-webpack-plugin": "0.11.5",
"nock": "12.0.3",
"pre-commit": "1.2.2",
"terser-webpack-plugin": "3.0.2",
"webpack": "4.43.0",
"webpack-cli": "3.3.11"
},
"resolutions": {
"braces": "^3.0.2",
"hoek": "^6.1.3",
"ssri": "^8.0.0",
"tunnel-agent": "^0.6.0"
},
"engines": {
"node": ">=4"
},
"pre-commit": [
"lint"
]
}