forked from RocketChat/Rocket.Chat.Livechat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.3 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@rocket.chat/livechat",
"version": "1.7.5",
"files": [
"/build"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/RocketChat/Rocket.Chat.Livechat"
},
"scripts": {
"clean": "rimraf build",
"build:app": "webpack --mode production",
"build:pack": "cp widget-demo.html ./build && tar -C build -czf build.tar.gz '.'",
"build": "run-s clean build:app build:pack",
"start": "webpack-dev-server --mode development",
"serve": "serve --debug build",
"dev": "webpack --mode development --watch",
"lint": "run-s eslint stylelint",
"eslint": "eslint src",
"stylelint": "stylelint 'src/**/*.scss'",
"storybook": "start-storybook -p 9001 -c .storybook",
"i18n": "i18nline synch && node_modules/.bin/eslint --fix src/i18n/index.js",
"deploy-storybook": "storybook-to-ghpages",
"release": "gh-release -c master --assets build.tar.gz",
"loki:test": "loki test --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
"loki:test-ci": "loki test --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
"loki:update": "loki update --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
"build-storybook": "build-storybook",
"build-storybook:loki": "cross-env NODE_ENV=loki build-storybook",
"update-storybook": "cross-env NODE_ENV=loki run-s build-storybook loki:update"
},
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"@rocket.chat/eslint-config": "^0.4.0",
"@storybook/addon-actions": "^6.0.12",
"@storybook/addon-backgrounds": "^6.0.12",
"@storybook/addon-essentials": "^6.0.16",
"@storybook/addon-knobs": "^6.0.12",
"@storybook/addon-viewport": "^6.0.12",
"@storybook/react": "^6.0.12",
"@storybook/storybook-deployer": "^2.8.6",
"@storybook/theming": "^6.0.12",
"autoprefixer": "^9.8.6",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"cross-env": "^7.0.2",
"css-loader": "^4.2.2",
"cssnano": "^4.1.10",
"desvg-loader": "^0.1.0",
"eslint": "^7.5.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.1.0",
"file-loader": "^6.1.0",
"gh-release": "^3.5.0",
"html-webpack-plugin": "^4.4.1",
"husky": "^4.2.5",
"if-env": "^1.0.4",
"image-webpack-loader": "^6.0.0",
"loki": "^0.24.0",
"lorem-ipsum": "^2.0.3",
"mini-css-extract-plugin": "^0.11.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"postcss-css-variables": "^0.17.0",
"postcss-dir-pseudo-class": "^5.0.0",
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-ie11-supports": "^0.1.3",
"postcss-loader": "^3.0.0",
"postcss-logical": "^4.0.2",
"postcss-selector-not": "^4.0.0",
"rimraf": "^3.0.2",
"sass-loader": "^9.0.2",
"serve": "^11.3.2",
"style-loader": "^1.2.1",
"stylelint": "^13.6.1",
"stylelint-order": "^4.1.0",
"svg-loader": "^0.0.2",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@kossnocorp/desvg": "^0.2.0",
"@rocket.chat/sdk": "^1.0.0-alpha.41",
"@rocket.chat/ui-kit": "^0.14.1",
"css-vars-ponyfill": "^2.3.2",
"date-fns": "^2.15.0",
"desvg": "^1.0.2",
"emoji-mart": "^3.0.0",
"history": "^5.0.0",
"i18nline": "^2.0.1",
"markdown-it": "^11.0.0",
"mem": "^6.1.0",
"mitt": "^2.1.0",
"preact": "^10.4.6",
"preact-i18nline": "^2.0.0",
"preact-router": "^3.2.1",
"query-string": "^6.13.1",
"whatwg-fetch": "^3.4.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie < 11"
],
"storybook-deployer": {
"gitUsername": "Guilherme Gazzo",
"gitEmail": "guilherme.gazzo@rocket.chat",
"commitMessage": "Deploy Storybook to GitHub Pages [skip ci]"
},
"husky": {
"hooks": {
"pre-commit": "run-s i18n && git add -A src/i18n"
}
},
"houston": {
"updateFiles": [
"package.json"
]
},
"loki": {
"configurations": {
"chrome": {
"target": "chrome.docker",
"width": 365,
"height": 500
}
}
}
}