docbrown/package.json
jituraj98 e2edf960dc
[deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* Move channel settings to sidecar

* added spec for chat_channels_memberships_controller.rb (#6539)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* Refining "Move sidecar to iframe" branch (#6634)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* 🚀 Finalising the connect group/channel feature.  (#6829)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

* mod members can now invite user who have left the channel

* 🐞 Bug Fix: Ability to open sidecar on mention all properly

* Eslint Changes

* send email notification on inviting user feature added

* 🛠  Email design enhancements for channel invitation

* send invitation to mod user added from internal

* 🛠  Gif changes for Mod

* spec fixed

* inviter name issue fixed

* 🚀 Open sidecar when automatically if you use link from email

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* review changes

* added spec for channel_invite_email

* Bug🐞: Design problem with sidecar after merge

* Bug🐞: Design problem with invitation alert box

* replaced instance variables with local variable

* Bug🐞: Wrong css classes fixed

* Bug🐞: Edit option bug

* yarn.lock file updated

* code review changes

* updated manually constructed urls with rails path helpers in spec

* user name url issue fix in invite email

* user url corrected

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
Co-authored-by: benhalpern <bendhalpern@gmail.com>
2020-04-01 12:13:26 -04:00

148 lines
4.3 KiB
JSON

{
"name": "dev.to",
"version": "1.0.0",
"description": "Where programmers share ideas and help each other grow",
"engines": {
"yarn": ">=1.21.x"
},
"main": "index.js",
"directories": {
"doc": "docs",
"lib": "lib",
"test": "test"
},
"scripts": {
"api-docs:lint": "spectral lint -F hint -v docs/api_v0.yml && lint-openapi -e docs/api_v0.yml",
"api-docs:serve": "redoc-cli serve docs/api_v0.yml --options.pathInMiddlePanel --options.jsonSampleExpandLevel=all --options.menuToggle -t docs/api_template.hbs --watch",
"build-storybook": "build-storybook -c app/javascript/.storybook -s app/assets --quiet",
"storybook": "start-storybook -p 6006 -c app/javascript/.storybook -s app/assets",
"test": "jest app/javascript/ --coverage",
"test:watch": "jest app/javascript/ --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"app/assets/config/manifest.js": [
"prettier --write",
"eslint --fix -c app/assets/javascripts/.eslintrc.js"
],
"docs/api_v0.yml": [
"spectral lint -F hint",
"lint-openapi -e"
],
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"{app,spec,config,lib}/**/*.rb": [
"bundle exec rubocop --require rubocop-rspec --safe-auto-correct"
],
"Gemfile": [
"bundle exec rubocop --require rubocop-rspec --safe-auto-correct"
],
"app/**/*.html.erb": [
"bundle exec erblint"
],
"*.json": [
"prettier --write"
],
"*.scss": [
"prettier --write"
],
"*.md": [
"prettier --write --prose-wrap always"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/thepracticaldev/dev.to.git"
},
"author": "",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/thepracticaldev/dev.to/issues"
},
"homepage": "https://github.com/thepracticaldev/dev.to#readme",
"devDependencies": {
"@stoplight/spectral": "5.2.0",
"@storybook/addon-actions": "^5.3.17",
"@storybook/addon-knobs": "^5.3.17",
"@storybook/addon-links": "^5.3.17",
"@storybook/addons": "^5.3.17",
"@storybook/preact": "^5.3.17",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.1.0",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-ignore-erb": "^0.1.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"faker": "^4.1.0",
"husky": "^4.2.3",
"ibm-openapi-validator": "0.26.0",
"jest": "25.2.0",
"jest-axe": "^3.4.0",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^16.2.1",
"lint-staged": "^10.0.9",
"mutationobserver-shim": "^0.3.3",
"node-sass": "^4.13.1",
"preact-render-spy": "1.3.0",
"preact-render-to-json": "^3.6.6",
"prettier": "^2.0.2",
"redoc-cli": "0.9.7",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.0",
"@github/clipboard-copy-element": "^1.1.2",
"@rails/webpacker": "5.0.0",
"babel-preset-preact": "^2.0.0",
"chart.js": "^2.9.3",
"clipboard-polyfill": "^2.8.6",
"core-js": "3",
"file-loader": "^6.0.0",
"focus-visible": "^5.0.2",
"honeybadger-js": "2.2.0",
"intersection-observer": "^0.7.0",
"linkstate": "^1.1.1",
"lodash.debounce": "4.0.8",
"marked": "^0.8.2",
"postscribe": "^2.0.8",
"preact": "^8.5.3",
"preact-compat": "^3.19.0",
"preact-textarea-autosize": "^4.0.7",
"prop-types": "^15.7.2",
"pusher-js": "^5.1.1",
"rails-erb-loader": "^5.5.2",
"stimulus": "^1.1.1",
"twilio-video": "^2.3.0",
"web-share-wrapper": "^0.2.1"
},
"jest": {
"setupFiles": [
"jest-localstorage-mock"
]
}
}