81 lines
2.7 KiB
JSON
81 lines
2.7 KiB
JSON
|
{
|
||
|
"name": "reddichat",
|
||
|
"version": "1.0.0",
|
||
|
"license": "MIT",
|
||
|
"scripts": {
|
||
|
"build:client": "SIDE=CLIENT webpack --mode production --config webpack.config.js",
|
||
|
"build:docker": "yarn run build:client && yarn run build:server && docker build",
|
||
|
"build:server": "SIDE=SERVER webpack --mode production --config webpack.config.js",
|
||
|
"client": "SIDE=CLIENT webpack-dev-server --verbose --disable-host-check --host localhost --port 31345 --mode development --config webpack.config.js",
|
||
|
"docker": "docker-compose -p reddichat up -d",
|
||
|
"inspect": "node ./inspect.js",
|
||
|
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
|
||
|
"repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/reddichat-*.sock | tail -n 1)",
|
||
|
"server": "SIDE=SERVER webpack --watch --mode development --config webpack.config.js",
|
||
|
"test:client": "NODE_PRESERVE_SYMLINKS=1 SIDE=client mocha --watch",
|
||
|
"test:server": "NODE_PRESERVE_SYMLINKS=1 SIDE=server mocha --watch"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@avocado/core": "1.x",
|
||
|
"@avocado/net": "1.x",
|
||
|
"@reduxjs/toolkit": "1.4.0",
|
||
|
"ansi-html": "0.0.7",
|
||
|
"bcrypt": "^5.0.0",
|
||
|
"classnames": "2.2.6",
|
||
|
"connect-redis": "^5.0.0",
|
||
|
"contempo": "1.x",
|
||
|
"debug": "^4.1.1",
|
||
|
"deepmerge": "^4.2.2",
|
||
|
"express": "^4.17.1",
|
||
|
"express-session": "^1.17.1",
|
||
|
"express-socket.io-session": "^1.3.5",
|
||
|
"glob": "^7.1.6",
|
||
|
"html-entities": "1.3.1",
|
||
|
"immer": "^7.0.1",
|
||
|
"lodash.debounce": "^4.0.8",
|
||
|
"lodash.memoize": "^4.1.2",
|
||
|
"mysql2": "^2.1.0",
|
||
|
"normalizr": "^3.6.0",
|
||
|
"passport": "^0.4.1",
|
||
|
"passport-local": "^1.0.0",
|
||
|
"prop-types": "^15",
|
||
|
"react": "16.8.6",
|
||
|
"react-dom": "16.8.6",
|
||
|
"react-hot-loader": "^4.12.21",
|
||
|
"react-markdown": "^4.3.1",
|
||
|
"react-redux": "^7.2.0",
|
||
|
"react-sortable-tree": "^2.7.1",
|
||
|
"react-tabs": "^3.1.1",
|
||
|
"redis": "^3.0.2",
|
||
|
"redux": "^4.0.5",
|
||
|
"scwp": "1.x",
|
||
|
"sequelize": "^6.2.4",
|
||
|
"socket.io-redis": "^5.3.0",
|
||
|
"source-map-support": "^0.5.11"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@neutrinojs/airbnb": "^9.1.0",
|
||
|
"@neutrinojs/airbnb-base": "^9.1.0",
|
||
|
"@neutrinojs/copy": "^9.2.0",
|
||
|
"@neutrinojs/mocha": "^9.1.0",
|
||
|
"@neutrinojs/node": "^9.1.0",
|
||
|
"@neutrinojs/react": "^9.1.0",
|
||
|
"autoprefixer": "9.8.0",
|
||
|
"babel-plugin-webpack-alias": "^2.1.2",
|
||
|
"eslint": "^6",
|
||
|
"eslint-import-resolver-webpack": "^0.12.1",
|
||
|
"mocha": "^7",
|
||
|
"neutrino": "^9.1.0",
|
||
|
"node-sass": "4.12.0",
|
||
|
"node-sass-glob-importer": "5.3.2",
|
||
|
"postcss-loader": "3.0.0",
|
||
|
"raw-loader": "1.x",
|
||
|
"sass-loader": "7.1.0",
|
||
|
"sequelize-cli": "^6.1.0",
|
||
|
"v8-natives": "^1.1.0",
|
||
|
"webpack": "^4",
|
||
|
"webpack-cli": "^3",
|
||
|
"webpack-dev-server": "^3"
|
||
|
}
|
||
|
}
|