75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
{
|
|
"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",
|
|
"process": "^0.11.10",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0",
|
|
"server-name-generator": "^1.0.5",
|
|
"stream-browserify": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.2.0",
|
|
"@testing-library/user-event": "^14.1.1",
|
|
"@types/jest": "^27.5.0",
|
|
"@types/node": "^17.0.32",
|
|
"@types/react": "^18.0.9",
|
|
"@types/react-dom": "^18.0.3",
|
|
"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",
|
|
"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"
|
|
]
|
|
}
|
|
}
|