mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-11-25 04:04:53 +00:00
153 lines
4.6 KiB
JSON
153 lines
4.6 KiB
JSON
{
|
|
"name": "private-safesupport-chatbox",
|
|
"version": "2.3.1",
|
|
"description": "A secure and private embeddable chatbox that connects to Riot",
|
|
"main": "dist/chatbox.js",
|
|
"scripts": {
|
|
"build": "NODE_ENV=production webpack-cli --mode production",
|
|
"build:profile": "webpack --mode production --config webpack.config.profile.js",
|
|
"start": "webpack-dev-server",
|
|
"test": "jest",
|
|
"test-update-snapshots": "jest --updateSnapshot",
|
|
"deploy": "yarn build && gh-pages -d dist",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook -c .storybook -o dist/storybook",
|
|
"lint": "./node_modules/.bin/eslint ."
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"airbnb",
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "12"
|
|
}
|
|
}
|
|
],
|
|
"@babel/preset-react"
|
|
],
|
|
"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",
|
|
"@babel/plugin-proposal-throw-expressions",
|
|
"@babel/plugin-transform-runtime"
|
|
]
|
|
},
|
|
"browserslist": "> 0.25%, not dead",
|
|
"jest": {
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"<rootDir>/src/**/*.js?(x)"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/test-helpers/"
|
|
],
|
|
"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"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
]
|
|
},
|
|
"serve": {
|
|
"content": [
|
|
"./dist",
|
|
"./public"
|
|
]
|
|
},
|
|
"author": "Nomadic Labs <sharon@nomadiclabs.ca",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.3",
|
|
"@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",
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
"@babel/preset-env": "^7.9.0",
|
|
"@babel/preset-react": "^7.9.4",
|
|
"autoprefixer": "^9.7.5",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.0.3",
|
|
"babel-jest": "24.9.0",
|
|
"babel-loader": "8.0.6",
|
|
"babel-preset-airbnb": "4.4.0",
|
|
"clean-webpack-plugin": "3.0.0",
|
|
"copy-webpack-plugin": "5.1.1",
|
|
"css-loader": "3.4.1",
|
|
"cssimportant-loader": "0.4.0",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
"enzyme-to-json": "3.4.3",
|
|
"enzyme-wait": "^1.0.9",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-airbnb": "18.0.1",
|
|
"eslint-import-resolver-webpack": "0.12.0",
|
|
"eslint-loader": "3.0.3",
|
|
"eslint-plugin-import": "2.19.1",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.17.0",
|
|
"gh-pages": "^2.2.0",
|
|
"jest": "24.9.0",
|
|
"jest-cli": "24.9.0",
|
|
"mini-css-extract-plugin": "0.9.0",
|
|
"node-sass": "^4.13.1",
|
|
"postcss-increase-specificity": "0.6.0",
|
|
"postcss-loader": "3.0.0",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"sass-loader": "8.0.0",
|
|
"style-loader": "1.1.2",
|
|
"wait-for-expect": "^3.0.2",
|
|
"webpack": "4.41.5",
|
|
"webpack-bundle-analyzer": "^3.8.0",
|
|
"webpack-cli": "3.3.10",
|
|
"webpack-dev-server": "3.10.1",
|
|
"webpack-obfuscator": "0.22.0",
|
|
"webpack-serve": "3.2.0"
|
|
},
|
|
"dependencies": {
|
|
"airtable": "^0.10.0",
|
|
"browser-encrypt-attachment": "^0.3.0",
|
|
"emoji-picker-react": "^3.1.3",
|
|
"isomorphic-fetch": "^2.2.1",
|
|
"linkifyjs": "^2.1.9",
|
|
"matrix-js-sdk": "^4.0.0",
|
|
"node-localstorage": "^2.1.5",
|
|
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
|
|
"prop-types": "^15.6.2",
|
|
"react-onclickoutside": "^6.9.0",
|
|
"react-test-renderer": "^16.13.0",
|
|
"react-transition-group": "^4.0.0",
|
|
"uuidv4": "^6.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6"
|
|
}
|
|
}
|