This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
110 lines (110 loc) · 2.78 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "skynet-js",
"version": "3.0.2",
"description": "Sia Skynet Javascript Client",
"main": "dist/index.js",
"files": [
"dist/*"
],
"browserslist": [
"defaults",
"not IE 11",
"not OperaMini all"
],
"scripts": {
"build": "rimraf dist && babel src --out-dir dist --extensions .ts --ignore src/**/*.test.ts && tsc --project tsconfig.build.json",
"lint:eslint": "eslint --ext .ts utils src --max-warnings 0",
"lint:tsc": "tsc",
"prepublishOnly": "yarn build",
"test": "jest --coverage --coverageDirectory ../coverage"
},
"jest": {
"testTimeout": 60000,
"clearMocks": true,
"collectCoverageFrom": [
"**/*.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"rootDir": "src"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --ext .ts --fix",
"tsc --esModuleInterop --noemit",
"prettier --write"
],
"*.{json,yml,md}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/NebulousLabs/skynet-js.git"
},
"keywords": [
"sia",
"skynet"
],
"author": "Karol Wypchlo",
"license": "MIT",
"bugs": {
"url": "https://github.com/NebulousLabs/skynet-js/issues"
},
"homepage": "https://github.com/NebulousLabs/skynet-js",
"dependencies": {
"@babel/runtime": "^7.11.2",
"axios": "^0.21.0",
"base32-encode": "^1.1.1",
"base64-js": "^1.3.1",
"blakejs": "^1.1.0",
"buffer": "^6.0.1",
"mime": "^2.5.2",
"path-browserify": "^1.0.1",
"randombytes": "^2.1.0",
"sjcl": "^1.0.8",
"tweetnacl": "^1.0.3",
"url-join": "^4.0.1",
"url-parse": "^1.4.7"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@types/base64-js": "^1.3.0",
"@types/jest": "^26.0.14",
"@types/mime": "^2.0.3",
"@types/node": "^14.11.2",
"@types/randombytes": "^2.0.0",
"@types/sjcl": "^1.0.29",
"@types/url-join": "^4.0.0",
"@types/url-parse": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"axios-mock-adapter": "^1.18.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"eslint": "^7.11.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-jsdoc": "^32.0.0",
"husky": "^5.0.9",
"jest": "^26.4.2",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"typescript": "^4.0.3"
}
}