113 lines
3.7 KiB
JSON
113 lines
3.7 KiB
JSON
{
|
|
"name": "dispatch",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"browserslist": [
|
|
"Edge >= 79",
|
|
"Firefox >= 60",
|
|
"Chrome >= 61",
|
|
"Safari >= 10.1",
|
|
"iOS >= 10.3"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
|
"@babel/plugin-proposal-export-default-from": "^7.10.1",
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.10.1",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-transform-react-constant-elements": "^7.10.1",
|
|
"@babel/plugin-transform-react-inline-elements": "^7.10.1",
|
|
"@babel/preset-env": "^7.10.2",
|
|
"@babel/preset-react": "^7.10.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.0.1",
|
|
"babel-loader": "^8.1.0",
|
|
"brotli": "^1.3.1",
|
|
"canvas": "^2.6.1",
|
|
"copy-webpack-plugin": "^6.0.2",
|
|
"cross-env": "^7.0.2",
|
|
"css-loader": "^3.5.3",
|
|
"cssnano": "^4.1.10",
|
|
"del": "^5.1.0",
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-airbnb": "^18.2.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-import-resolver-webpack": "^0.12.2",
|
|
"eslint-loader": "^4.0.2",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-jsx-a11y": "^6.3.0",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-react-hooks": "^4.0.4",
|
|
"express": "^4.17.1",
|
|
"express-http-proxy": "^1.6.0",
|
|
"gulp": "4.0.2",
|
|
"gulp-util": "^3.0.8",
|
|
"jest": "^26.0.1",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"postcss-flexbugs-fixes": "^4.2.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "2.0.5",
|
|
"react-test-renderer": "16.13.1",
|
|
"style-loader": "^1.2.1",
|
|
"terser-webpack-plugin": "^3.0.6",
|
|
"through2": "^3.0.1",
|
|
"webpack": "^4.43.0",
|
|
"webpack-dev-middleware": "^3.7.2",
|
|
"webpack-hot-middleware": "^2.25.0",
|
|
"webpack-plugin-hash-output": "^3.2.1",
|
|
"workbox-webpack-plugin": "^5.1.3"
|
|
},
|
|
"dependencies": {
|
|
"@sindresorhus/fnv1a": "^2.0.1",
|
|
"autolinker": "^3.14.1",
|
|
"backo": "^1.1.0",
|
|
"classnames": "^2.2.6",
|
|
"formik": "^2.1.4",
|
|
"history": "^5.0.0-beta.8",
|
|
"hsluv": "^0.1.0",
|
|
"immer": "^7.0.1",
|
|
"js-cookie": "^2.2.1",
|
|
"lodash": "^4.17.15",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"react-hot-loader": "^4.12.21",
|
|
"react-icons": "^3.7.0",
|
|
"react-modal": "^3.11.2",
|
|
"react-redux": "^7.2.0",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-window": "^1.8.5",
|
|
"redux": "^4.0.5",
|
|
"redux-thunk": "^2.3.0",
|
|
"reselect": "^4.0.0",
|
|
"url-pattern": "^1.0.3",
|
|
"workbox-core": "^5.1.3",
|
|
"workbox-precaching": "^5.1.3",
|
|
"workbox-routing": "^5.1.3"
|
|
},
|
|
"scripts": {
|
|
"prettier": "prettier --write {.*,*.js,css/*.css,**/*.test.js}",
|
|
"prettier:all": "prettier --write {.*,*.js,**/*.js,css/*.css}",
|
|
"test": "jest",
|
|
"test:verbose": "jest --verbose",
|
|
"test:watch": "jest --watch",
|
|
"gen:install": "cross-env GO111MODULE=off go get -u github.com/andyleap/gencode github.com/mailru/easyjson/...",
|
|
"gen:binary": "gencode go -package storage -schema ../storage/storage.schema -unsafe",
|
|
"gen:json": "cross-env GO111MODULE=off easyjson -all -lower_camel_case -omit_empty ../server/json.go ../server/index_data.go ../storage/network.go && cross-env GO111MODULE=off easyjson -lower_camel_case -omit_empty ../storage/user.go"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"^components(.*)$": "<rootDir>/js/components$1",
|
|
"^containers(.*)$": "<rootDir>/js/containers$1",
|
|
"^state(.*)$": "<rootDir>/js/state$1",
|
|
"^utils(.*)$": "<rootDir>/js/utils$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/?!(history)"
|
|
]
|
|
}
|
|
}
|