-
Notifications
You must be signed in to change notification settings - Fork 220
/
package.json
107 lines (107 loc) · 3.05 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
{
"name": "react-chat-elements",
"version": "12.0.17",
"description": "Reactjs chat components",
"author": "Avare Kodcu <[email protected]>",
"main": "dist/main.js",
"types": "dist/type.d.ts",
"module": "dist/main.es.js",
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/preset-react": "^7.17.12",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/identicon.js": "^2.3.1",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.34",
"@types/progressbar.js": "^1.1.2",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@types/react-icons": "^3.0.0",
"babel-jest": "21.2.0",
"babel-loader": "^8.2.5",
"copyfiles": "^2.4.1",
"css-loader": "^6.7.1",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"identicon.js": "^2.3.1",
"jest": "21.2.1",
"lorem-ipsum": "^1.0.4",
"mini-css-extract-plugin": "^2.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"ts-loader": "^9.3.0",
"typescript": "^4.6.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/detaysoft/react-chat-elements.git"
},
"keywords": [
"react",
"reactjs",
"chat",
"css",
"chat",
"components",
"detaysoft"
],
"license": "MIT",
"jest": {
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
]
},
"browser": {
"[module-name]": false
},
"bugs": {
"url": "https://github.com/detaysoft/react-chat-elements/issues"
},
"homepage": "https://github.com/detaysoft/react-chat-elements#readme",
"scripts": {
"dev-server": "webpack-dev-server --config webpack.dev.config.js",
"build": "yarn run clear:build && node node_modules/typescript/bin/tsc -p tsconfig.prod.json && yarn run copy-files",
"copy-files": "copyfiles -u 1 src/**/*.css build/",
"clear:build": "rimraf dist build",
"move:types": "copyfiles -u 1 src/type.d.ts dist/",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm run test -- --coverage --collectCoverageFrom=src/**/*.js --collectCoverageFrom=!src/index.js",
"build:lib": "yarn run build && rollup -c && yarn run move:types",
"prepare": "npm run build:lib"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "18.2.0"
},
"dependencies": {
"classnames": "^2.2.5",
"progressbar.js": "^1.1.0",
"react-icons": "^4.3.1",
"react-spinkit": "^3.0.0",
"timeago.js": "^4.0.2"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}