2021-04-14 04:44:12 +00:00
|
|
|
{
|
|
|
|
"name": "web-chat",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
2022-02-02 00:35:28 +00:00
|
|
|
"homepage": "/examples/web-chat",
|
2021-04-14 04:44:12 +00:00
|
|
|
"dependencies": {
|
2022-01-06 06:39:08 +00:00
|
|
|
"@livechat/ui-kit": "^0.5.0-20",
|
|
|
|
"buffer": "^6.0.3",
|
|
|
|
"crypto-browserify": "^3.12.0",
|
2022-02-02 00:35:28 +00:00
|
|
|
"js-waku": "file:../../build/main",
|
2022-01-06 06:39:08 +00:00
|
|
|
"process": "^0.11.10",
|
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2021-04-29 05:30:00 +00:00
|
|
|
"server-name-generator": "^1.0.5",
|
2022-01-06 06:39:08 +00:00
|
|
|
"stream-browserify": "^3.0.0"
|
2021-04-29 01:53:21 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-04 02:19:38 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.2",
|
2022-01-06 06:40:40 +00:00
|
|
|
"@testing-library/react": "^12.1.2",
|
|
|
|
"@testing-library/user-event": "^13.5.0",
|
|
|
|
"@types/jest": "^27.4.0",
|
2022-02-14 03:58:54 +00:00
|
|
|
"@types/node": "^17.0.17",
|
2022-02-04 10:52:54 +00:00
|
|
|
"@types/react": "^17.0.39",
|
2022-01-06 06:40:40 +00:00
|
|
|
"@types/react-dom": "^17.0.11",
|
2022-01-07 04:05:25 +00:00
|
|
|
"cra-webpack-rewired": "^1.0.1",
|
2022-02-09 07:50:40 +00:00
|
|
|
"cspell": "^5.18.4",
|
2022-01-06 06:40:40 +00:00
|
|
|
"gh-pages": "^3.2.3",
|
2021-04-29 01:53:21 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2022-01-06 06:40:40 +00:00
|
|
|
"prettier": "^2.5.1",
|
2022-01-06 06:39:08 +00:00
|
|
|
"react-scripts": "5.0.0",
|
2022-01-24 08:38:04 +00:00
|
|
|
"typescript": "^4.5.5"
|
2021-04-14 04:44:12 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-01-07 04:05:25 +00:00
|
|
|
"start": "cra-webpack-rewired start",
|
|
|
|
"build": "cra-webpack-rewired build",
|
|
|
|
"test:unit": "cra-webpack-rewired test",
|
2021-04-19 02:55:33 +00:00
|
|
|
"fix": "run-s fix:*",
|
2021-08-04 04:53:07 +00:00
|
|
|
"test": "run-s build test:*",
|
2021-04-22 07:03:33 +00:00
|
|
|
"test:lint": "eslint src --ext .ts --ext .tsx",
|
2022-01-07 04:18:37 +00:00
|
|
|
"test:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" \"./config/*.js\" --list-different",
|
2021-05-05 06:40:23 +00:00
|
|
|
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\" -c ../../.cspell.json",
|
2022-01-07 04:18:37 +00:00
|
|
|
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" \"./*.json\" \"./config/*.js\" --write",
|
2021-04-22 11:29:24 +00:00
|
|
|
"fix:lint": "eslint src --ext .ts --ext .tsx --fix",
|
2021-08-06 07:20:30 +00:00
|
|
|
"proto": "run-s proto:*",
|
|
|
|
"proto:build": "buf generate",
|
2021-05-13 06:49:29 +00:00
|
|
|
"js-waku:build": "cd ../; npm run build",
|
|
|
|
"predeploy": "run-s js-waku:build build",
|
2021-04-22 11:29:24 +00:00
|
|
|
"deploy": "gh-pages -d build"
|
2021-04-14 04:44:12 +00:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
2022-01-05 05:49:46 +00:00
|
|
|
"not ie <= 99",
|
|
|
|
"not android <= 4.4.4",
|
2021-04-14 04:44:12 +00:00
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|