2018-05-26 18:53:54 +00:00
|
|
|
{
|
2020-05-07 18:56:51 +00:00
|
|
|
"name": "private-safesupport-chatbox",
|
2020-05-07 19:09:22 +00:00
|
|
|
"version": "1.0.0",
|
2020-04-29 00:36:15 +00:00
|
|
|
"description": "A secure and private embeddable chatbox that connects to Riot",
|
|
|
|
"main": "dist/chatbox.js",
|
2018-05-26 18:53:54 +00:00
|
|
|
"scripts": {
|
2020-02-02 18:36:11 +00:00
|
|
|
"build": "NODE_ENV=production webpack-cli --mode production",
|
2019-06-15 01:57:28 +00:00
|
|
|
"start": "webpack-dev-server",
|
2018-06-03 18:28:12 +00:00
|
|
|
"test": "jest",
|
2018-06-03 18:56:18 +00:00
|
|
|
"test-update-snapshots": "jest --updateSnapshot",
|
2020-02-02 18:36:11 +00:00
|
|
|
"deploy": "yarn build && gh-pages -d dist",
|
2019-06-21 00:43:09 +00:00
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook -c .storybook -o dist/storybook",
|
2019-06-20 17:26:02 +00:00
|
|
|
"lint": "./node_modules/.bin/eslint ."
|
2018-05-26 18:53:54 +00:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2020-04-02 17:42:40 +00:00
|
|
|
"airbnb",
|
2020-04-17 22:04:34 +00:00
|
|
|
[
|
|
|
|
"@babel/preset-env",
|
|
|
|
{
|
|
|
|
"targets": {
|
|
|
|
"node": "12"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-04-02 17:42:40 +00:00
|
|
|
"@babel/preset-react"
|
2019-06-15 01:57:28 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
|
|
"@babel/plugin-syntax-import-meta",
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-json-strings",
|
|
|
|
[
|
|
|
|
"@babel/plugin-proposal-decorators",
|
|
|
|
{
|
|
|
|
"legacy": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@babel/plugin-proposal-function-sent",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
|
|
"@babel/plugin-proposal-numeric-separator",
|
2020-04-02 17:42:40 +00:00
|
|
|
"@babel/plugin-proposal-throw-expressions",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2018-05-26 18:53:54 +00:00
|
|
|
]
|
|
|
|
},
|
2020-04-02 17:42:40 +00:00
|
|
|
"browserslist": "> 0.25%, not dead",
|
2018-05-30 01:56:01 +00:00
|
|
|
"jest": {
|
2018-05-30 02:11:02 +00:00
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
2018-06-03 18:28:12 +00:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.js?(x)"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/test-helpers/"
|
|
|
|
],
|
2018-05-30 01:56:01 +00:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.(css|scss)$": "<rootDir>/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/jest/setup.js"
|
2018-06-03 18:28:12 +00:00
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
2018-05-30 01:56:01 +00:00
|
|
|
]
|
|
|
|
},
|
2018-05-31 00:45:33 +00:00
|
|
|
"serve": {
|
2018-06-03 18:28:12 +00:00
|
|
|
"content": [
|
|
|
|
"./dist",
|
|
|
|
"./public"
|
|
|
|
]
|
2018-05-31 00:45:33 +00:00
|
|
|
},
|
2020-04-29 00:36:15 +00:00
|
|
|
"author": "Nomadic Labs <sharon@nomadiclabs.ca",
|
2018-05-26 18:53:54 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2019-12-19 01:06:32 +00:00
|
|
|
"@babel/core": "7.7.7",
|
2019-11-22 23:47:54 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-decorators": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-function-sent": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-json-strings": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "7.7.4",
|
|
|
|
"@babel/plugin-proposal-throw-expressions": "7.7.4",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "7.7.4",
|
|
|
|
"@babel/plugin-syntax-import-meta": "7.7.4",
|
2020-04-02 17:42:40 +00:00
|
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
|
|
"@babel/preset-env": "^7.9.0",
|
|
|
|
"@babel/preset-react": "^7.9.4",
|
|
|
|
"autoprefixer": "^9.7.5",
|
2019-06-15 02:48:30 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2019-08-25 21:38:04 +00:00
|
|
|
"babel-eslint": "10.0.3",
|
2019-08-24 13:42:21 +00:00
|
|
|
"babel-jest": "24.9.0",
|
2019-05-12 13:07:14 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2019-11-20 20:01:34 +00:00
|
|
|
"babel-preset-airbnb": "4.4.0",
|
2019-06-15 02:44:10 +00:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-12-12 10:05:09 +00:00
|
|
|
"copy-webpack-plugin": "5.1.1",
|
2020-01-03 15:41:46 +00:00
|
|
|
"css-loader": "3.4.1",
|
2019-04-16 18:11:59 +00:00
|
|
|
"cssimportant-loader": "0.4.0",
|
2020-03-12 17:08:57 +00:00
|
|
|
"enzyme": "^3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
2019-10-18 17:13:38 +00:00
|
|
|
"enzyme-to-json": "3.4.3",
|
2020-03-12 17:08:57 +00:00
|
|
|
"enzyme-wait": "^1.0.9",
|
2019-12-20 21:44:53 +00:00
|
|
|
"eslint": "6.8.0",
|
2019-08-24 13:55:28 +00:00
|
|
|
"eslint-config-airbnb": "18.0.1",
|
2019-12-08 07:53:23 +00:00
|
|
|
"eslint-import-resolver-webpack": "0.12.0",
|
2019-12-06 12:46:47 +00:00
|
|
|
"eslint-loader": "3.0.3",
|
2019-12-09 13:06:49 +00:00
|
|
|
"eslint-plugin-import": "2.19.1",
|
2019-08-24 13:32:49 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
2019-11-29 07:41:24 +00:00
|
|
|
"eslint-plugin-react": "7.17.0",
|
2020-02-02 03:11:46 +00:00
|
|
|
"gh-pages": "^2.2.0",
|
2019-08-24 13:42:21 +00:00
|
|
|
"jest": "24.9.0",
|
|
|
|
"jest-cli": "24.9.0",
|
2019-12-20 15:45:00 +00:00
|
|
|
"mini-css-extract-plugin": "0.9.0",
|
2020-02-02 04:18:09 +00:00
|
|
|
"node-sass": "^4.13.1",
|
2019-04-16 18:11:59 +00:00
|
|
|
"postcss-increase-specificity": "0.6.0",
|
|
|
|
"postcss-loader": "3.0.0",
|
2019-09-03 12:56:03 +00:00
|
|
|
"sass-loader": "8.0.0",
|
2019-12-25 13:07:47 +00:00
|
|
|
"style-loader": "1.1.2",
|
2020-03-13 04:05:12 +00:00
|
|
|
"wait-for-expect": "^3.0.2",
|
2019-12-27 21:15:43 +00:00
|
|
|
"webpack": "4.41.5",
|
2020-05-07 18:56:51 +00:00
|
|
|
"webpack-bundle-analyzer": "^3.7.0",
|
2019-10-31 05:02:44 +00:00
|
|
|
"webpack-cli": "3.3.10",
|
2019-12-19 11:23:08 +00:00
|
|
|
"webpack-dev-server": "3.10.1",
|
2020-01-09 18:19:03 +00:00
|
|
|
"webpack-obfuscator": "0.22.0",
|
2019-09-19 15:22:40 +00:00
|
|
|
"webpack-serve": "3.2.0"
|
2018-05-26 18:53:54 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-03-19 00:35:59 +00:00
|
|
|
"browser-encrypt-attachment": "^0.3.0",
|
2020-03-25 23:01:29 +00:00
|
|
|
"emoji-picker-react": "^3.1.3",
|
2020-03-19 00:35:59 +00:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2020-03-15 04:47:19 +00:00
|
|
|
"linkifyjs": "^2.1.9",
|
2020-02-01 05:30:58 +00:00
|
|
|
"matrix-js-sdk": "^4.0.0",
|
2020-02-02 18:36:11 +00:00
|
|
|
"node-localstorage": "^2.1.5",
|
2020-02-02 04:18:09 +00:00
|
|
|
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
|
2019-01-06 16:24:40 +00:00
|
|
|
"prop-types": "^15.6.2",
|
2019-03-30 12:53:10 +00:00
|
|
|
"react": "^16.8.6",
|
|
|
|
"react-dom": "^16.8.6",
|
2020-03-25 23:01:29 +00:00
|
|
|
"react-onclickoutside": "^6.9.0",
|
2020-03-12 17:08:57 +00:00
|
|
|
"react-test-renderer": "^16.13.0",
|
2020-02-01 05:30:58 +00:00
|
|
|
"react-transition-group": "^4.0.0",
|
|
|
|
"uuidv4": "^6.0.2"
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
}
|