2022-06-17 00:48:15 +00:00
|
|
|
{
|
|
|
|
"name": "web-chat",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"homepage": "/examples/web-chat",
|
|
|
|
"dependencies": {
|
|
|
|
"@livechat/ui-kit": "^0.5.0-20",
|
|
|
|
"browserify-zlib": "^0.2.0",
|
|
|
|
"buffer": "^6.0.3",
|
|
|
|
"http-browserify": "^1.7.0",
|
|
|
|
"https-browserify": "^1.0.0",
|
|
|
|
"js-waku": "^0.24.0",
|
2022-08-08 00:48:14 +00:00
|
|
|
"libp2p-interfaces": "^4.0.6",
|
|
|
|
"long": "^5.2.0",
|
|
|
|
"multiaddr": "^10.0.1",
|
|
|
|
"peer-id": "^0.16.0",
|
2022-06-17 00:48:15 +00:00
|
|
|
"process": "^0.11.10",
|
2022-08-08 00:48:14 +00:00
|
|
|
"protobufjs": "^7.0.0",
|
2022-08-08 00:31:21 +00:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2022-06-17 00:48:15 +00:00
|
|
|
"server-name-generator": "^1.0.5",
|
|
|
|
"stream-browserify": "^3.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/jest": "^27.5.0",
|
|
|
|
"@types/node": "^17.0.32",
|
2022-08-08 00:31:21 +00:00
|
|
|
"@types/react": "^17.0.39",
|
|
|
|
"@types/react-dom": "^17.0.11",
|
2022-06-17 00:48:15 +00:00
|
|
|
"assert": "^2.0.0",
|
|
|
|
"cra-webpack-rewired": "^1.0.1",
|
|
|
|
"cspell": "^6.0.0",
|
|
|
|
"gh-pages": "^4.0.0",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"prettier": "^2.6.2",
|
|
|
|
"react-scripts": "5.0.1",
|
|
|
|
"typescript": "^4.6.4",
|
|
|
|
"url": "^0.11.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"start": "cra-webpack-rewired start",
|
|
|
|
"build": "cra-webpack-rewired build",
|
|
|
|
"test:unit": "cra-webpack-rewired test",
|
|
|
|
"fix": "run-s fix:*",
|
|
|
|
"test": "run-s build test:*",
|
|
|
|
"test:lint": "eslint src --ext .ts --ext .tsx",
|
|
|
|
"test:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" \"./config/*.js\" --list-different",
|
2022-08-08 01:26:39 +00:00
|
|
|
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../.cspell.json",
|
2022-06-17 00:48:15 +00:00
|
|
|
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" \"./config/*.js\" --write",
|
|
|
|
"fix:lint": "eslint src --ext .ts --ext .tsx --fix",
|
|
|
|
"proto": "run-s proto:*",
|
|
|
|
"proto:build": "buf generate",
|
|
|
|
"js-waku:build": "cd ../; npm run build",
|
|
|
|
"predeploy": "run-s js-waku:build build",
|
|
|
|
"deploy": "gh-pages -d build"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not ie <= 99",
|
|
|
|
"not android <= 4.4.4",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|