-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
122 lines (122 loc) · 4.04 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
{
"name": "@plebbit/plebbit-react-hooks",
"keywords": [
"plebbit",
"subplebbit"
],
"repository": "github:plebbit/plebbit-react-hooks",
"license": "GPL-2.0",
"publishConfig": {
"access": "public"
},
"version": "0.0.1",
"files": [
"dist"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc --project config/tsconfig.json",
"build:watch": "tsc --project config/tsconfig.json --watch",
"webpack": "webpack --mode development --config config/webpack.config.js",
"webpack:watch": "while true; do webpack watch --mode development --config config/webpack.config.js; sleep 1; done",
"test": "vitest run --config config/vitest.config.ts",
"test:e2e": "yarn test:e2e:mock && yarn test:e2e:browser && yarn test:e2e:electron",
"test:e2e:mock": "karma start config/karma.conf.js --plebbit-js-mock",
"test:e2e:mock-content": "karma start config/karma.conf.js --plebbit-js-mock-content",
"test:e2e:browser": "karma start config/karma.conf.js",
"test:e2e:electron": "rm -rf /tmp/.plebbit-electron && karma start config/karma-electron.conf.js",
"test:server": "rm -rf .plebbit/ && node test/test-server",
"test:server:wait-on": "wait-on http://localhost:59281 --timeout 120000",
"test:mock-content": "jest --config config/jest.config.cjs --testRegex plebbit-js-mock-content.donttest.ts",
"prettier": "prettier {src,test,config}/**/*.{cjs,js,jsx,ts,tsx} --config config/prettier.config.js --write",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"dependencies": {
"@plebbit/plebbit-js": "https://github.com/plebbit/plebbit-js.git#5ff48e9b9a906a098a51b474a52692eebfb6561d",
"@plebbit/plebbit-logger": "https://github.com/plebbit/plebbit-logger.git",
"assert": "2.0.0",
"ethers": "5.6.9",
"localforage": "1.10.0",
"lodash.isequal": "4.5.0",
"memoizee": "0.4.15",
"quick-lru": "5.1.1",
"uint8arrays": "3.1.1",
"uuid": "8.3.2",
"zustand": "4.0.0"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.17.12",
"@babel/preset-env": "7.17.12",
"@testing-library/react-hooks": "7.0.2",
"@tsconfig/recommended": "1.0.1",
"@types/jest": "27.0.2",
"@types/lodash.isequal": "4.5.6",
"@types/memoizee": "0.4.8",
"@types/node": "16.9.0",
"@types/node-fetch": "^2.6.11",
"@types/react": "17.0.21",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.7.0",
"@typescript-eslint/parser": "5.7.0",
"babel-loader": "8.2.5",
"chai": "4.3.6",
"chokidar": "3.5.3",
"conventional-changelog-cli": "4.1.0",
"cz-conventional-changelog": "3.3.0",
"dotenv": "16.0.1",
"electron": "19.0.1",
"eslint": "8.4.1",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-tsdoc": "0.2.14",
"fs-extra": "10.1.0",
"go-ipfs": "0.16.0",
"husky": "4.3.8",
"jest": "27.2.4",
"karma": "6.3.20",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-electron": "7.2.0",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
"karma-sinon": "1.0.5",
"karma-spec-reporter": "0.0.34",
"lint-staged": "12.3.8",
"mocha": "10.0.0",
"prettier": "2.3.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2",
"sinon": "14.0.0",
"tcp-port-used": "^1.0.2",
"tempy": "1.0.1",
"ts-jest": "27.0.5",
"typescript": "5.1.3",
"vite": "^5.1.2",
"vitest": "^1.2.2",
"wait-on": "6.0.1",
"webpack": "5.72.1",
"webpack-cli": "4.9.2",
"webpack-watch-files-plugin": "1.2.1"
},
"lint-staged": {
"{src,test,config}/**/*.{cjs,js,jsx,ts,tsx}": [
"prettier --config config/prettier.config.js --write"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && cz --hook || true",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}