docbrown/package.json
Mac Siri 7cb65649e4 Update chat app (#326)
* Fix spacing

* Update webpacker gem to 3.5

* Add custom preact-compact config

* Add babel-loader to resolve a weird issue

* Add react-textarea-autocomplete

* Move 2 dependencies into devDependencies

* Add babel-eslint & eslint-plugin-babel

* Refactor chat

* Add fixed width to chat's channels

* Add timestamp for chat

* Fix long word issue

* Add showTimestamp options to chat

* Add profile image to chat

* Make profile image in chat circle

* Improve message send logic

* Add proper user session handling for chat

* Choose profile user image source for chat

* Adjust user's text color

* Fix lint
2018-05-21 13:19:56 -04:00

83 lines
2.3 KiB
JSON

{
"name": "Dev.to",
"version": "1.0.0",
"description": "Where programmers share ideas and help each other grow",
"main": "index.js",
"directories": {
"doc": "docs",
"lib": "lib",
"test": "test"
},
"scripts": {
"test": "jest app/javascript/ --coverage",
"test:watch": "jest app/javascript/ --coverage --watch",
"storybook": "start-storybook -p 6006 -c app/javascript/.storybook",
"build-storybook": "build-storybook -c app/javascript/.storybook",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/thepracticaldev/dev.to_private.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/thepracticaldev/dev.to_private/issues"
},
"homepage": "https://github.com/thepracticaldev/dev.to_private#readme",
"devDependencies": {
"@storybook/addon-actions": "^3.3.15",
"@storybook/addon-links": "^3.3.15",
"@storybook/addons": "^3.3.15",
"@storybook/react": "^3.3.15",
"babel-core": "^6.26.0",
"babel-eslint": "8",
"babel-jest": "^22.1.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-preact": "^1.1.0",
"eslint": "^4.9.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-ignore-erb": "^0.1.1",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"husky": "^0.14.3",
"jest": "^22.1.2",
"jest-fetch-mock": "^1.4.0",
"lint-staged": "^7.0.2",
"preact-compat": "^3.18.0",
"preact-render-spy": "^1.2.1",
"preact-render-to-json": "^3.6.6",
"prettier": "^1.11.1",
"webpack-dev-server": "^2.11.1"
},
"dependencies": {
"@rails/webpacker": "^3.5.3",
"@webscopeio/react-textarea-autocomplete": "^2.2.0",
"preact": "^8.2.5",
"prop-types": "^15.6.0",
"pusher-js": "^4.2.2",
"sendbird": "^3.0.52"
}
}