-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.93 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
{
"name": "chatrix",
"version": "0.9.1",
"description": "Embedded Matrix client for WordPress",
"repository": "[email protected]:Automattic/chatrix.git",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"scripts": {
"start": "vite --config frontend/vite.ts",
"start:block": "wp-scripts start --webpack-src-dir=frontend/block --output-path=build/block && cp ./frontend/block/block.json ./build/block/",
"build": "tsc && yarn run init && vite build --config frontend/vite-app.ts --emptyOutDir && yarn run build:logout && yarn run build:iframe && yarn run build:block",
"build:logout": "yarn run init && vite build --config frontend/vite-logout.ts",
"build:iframe": "yarn run init && vite build --config frontend/vite.ts --emptyOutDir",
"build:block": "wp-scripts build --webpack-src-dir=frontend/block --output-path=build/block && cp ./frontend/block/block.json ./build/block/",
"init": "mkdir -p build/.tmp",
"lint": "eslint frontend/"
},
"devDependencies": {
"@types/node": "^18.7.21",
"@types/tapable": "^2.2.2",
"@types/wordpress__block-editor": "^7.0.0",
"@types/wordpress__blocks": "^11.0.7",
"@types/wordpress__i18n": "^3.11.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@vitejs/plugin-react": "^1.3.2",
"@wordpress/scripts": "^24.2.0",
"eslint": "^8.25.0",
"fake-indexeddb": "^4.0.0",
"postcss-css-variables": "^0.18.0",
"postcss-flexbugs-fixes": "^5.0.2",
"rollup-plugin-external-globals": "^0.7.1",
"typescript": "4.7.*",
"vite": "^2.9.16",
"vite-plugin-css-injected-by-js": "^2.1.1",
"xxhashjs": "^0.2.2"
},
"dependencies": {
"@wordpress/compose": "^5.17.0",
"bs58": "^5.0.0",
"hydrogen-web": "Automattic/hydrogen-web#chatrix-0.8.3",
"node-html-parser": "^4.0.0"
},
"resolutions": {
"@sideway/formula": "^3.0.1",
"@types/react": "^17.0.2",
"json5": "^2.2.*"
}
}