This repository has been archived by the owner on Nov 25, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
131 lines (131 loc) · 2.97 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "portal-sync",
"version": "1.5.1",
"description": "Zero-config peer-to-peer encrypted live folder syncing that respects your .gitignore",
"main": "index.js",
"author": "jackyzha0 <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/jackyzha0/portal#readme",
"repository": {
"type": "git",
"url": "https://github.com/jackyzha0/portal.git"
},
"keywords": [
"peer-to-peer",
"decentralized",
"file-sharing",
"hypercore"
],
"bin": {
"portal": "./build/cli.js"
},
"scripts": {
"build": "pastel build",
"dev": "pastel dev",
"prepare": "husky install && pastel build",
"test": "xo && ava",
"lint": "xo --fix",
"pkg": "pkg package.json -o dist/cli"
},
"files": [
"build"
],
"engines": {
"node": ">=12.22.1"
},
"dependencies": {
"chokidar": "^3.5.1",
"exponential-backoff": "^3.1.0",
"hyper-sdk": "^3.0.8",
"ink": "^3.0.8",
"ink-select-input": "^4.2.0",
"ink-spinner": "^4.0.2",
"ink-use-stdout-dimensions": "^1.0.5",
"nanoid": "^3.1.23",
"p-queue": "^6.6.2",
"parse-gitignore": "^1.0.1",
"pastel": "^1.1.1",
"pretty-bytes": "^5.6.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-async-hook": "^4.0.0",
"speedometer": "^1.1.0",
"update-notifier": "^5.1.0"
},
"devDependencies": {
"@types/parse-gitignore": "^1.0.0",
"@types/react": "^17.0.11",
"@types/update-notifier": "^5.1.0",
"ava": "^3.15.0",
"babel-eslint": "^10.1.0",
"eslint-config-xo-react": "^0.25.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.4",
"xo": "^0.43.0"
},
"xo": {
"extends": "xo-react",
"space": true,
"semicolon": false,
"rules": {
"unicorn/prefer-node-protocol": "off",
"promise/prefer-await-to-then": "off",
"react-hooks/exhaustive-deps": "off",
"react/no-array-index-key": "off",
"@typescript-eslint/no-this-alias": "off",
"react/boolean-prop-naming": "off",
"import/no-cycle": "off",
"unicorn/no-this-assignment": "off",
"no-return-assign": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-array-callback-reference": "off",
"@typescript-eslint/no-empty-function": [
"error",
{
"allow": [
"arrowFunctions"
]
}
],
"unicorn/filename-case": [
"error",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
]
}
},
"ava": {
"extensions": {
"ts": "module"
},
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"nodeArguments": [
"--loader=ts-node/esm/transpile-only"
]
},
"pkg": {
"assets": [
"./node_modules/opn/xdg-open",
"./node_modules/utp-native/prebuilds/**",
"./node_modules/sodium-native/prebuilds/**",
"./node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js",
"build/**"
],
"targets": [
"node14-linux-x64",
"node14-macos-x64",
"node14-win-x64"
]
}
}