mirror of https://github.com/waku-org/js-waku.git
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"name": "web-chat",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"homepage": "/examples/web-chat",
|
|
"dependencies": {
|
|
"@livechat/ui-kit": "^0.5.0-20",
|
|
"buffer": "^6.0.3",
|
|
"crypto-browserify": "^3.12.0",
|
|
"js-waku": "file:../../build/main",
|
|
"process": "^0.11.10",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"server-name-generator": "^1.0.5",
|
|
"stream-browserify": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "^17.0.14",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-dom": "^17.0.11",
|
|
"cra-webpack-rewired": "^1.0.1",
|
|
"cspell": "^5.18.2",
|
|
"gh-pages": "^3.2.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.5.1",
|
|
"react-scripts": "5.0.0",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"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",
|
|
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../../.cspell.json",
|
|
"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"
|
|
]
|
|
}
|
|
}
|