97 lines
3.2 KiB
JSON
97 lines
3.2 KiB
JSON
{
|
|
"name": "dispatch",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"browserslist": [
|
|
">0.4%",
|
|
"not op_mini all"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
"@babel/plugin-transform-react-constant-elements": "^7.0.0",
|
|
"@babel/plugin-transform-react-inline-elements": "^7.0.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"autoprefixer": "^9.1.5",
|
|
"babel-core": "^7.0.0-0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^23.6.0",
|
|
"babel-loader": "^8.0.4",
|
|
"brotli": "^1.3.1",
|
|
"css-loader": "^1.0.0",
|
|
"cssnano": "^4.1.4",
|
|
"del": "^3.0.0",
|
|
"eslint": "^5.6.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-prettier": "^3.1.0",
|
|
"eslint-import-resolver-webpack": "^0.10.1",
|
|
"eslint-loader": "^2.1.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"express": "^4.14.1",
|
|
"express-http-proxy": "^1.4.0",
|
|
"gulp": "4.0.0",
|
|
"gulp-util": "^3.0.8",
|
|
"jest": "^23.6.0",
|
|
"mini-css-extract-plugin": "^0.4.3",
|
|
"postcss-flexbugs-fixes": "^4.1.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"prettier": "1.14.3",
|
|
"style-loader": "^0.23.0",
|
|
"through2": "^2.0.3",
|
|
"webpack": "^4.20.2",
|
|
"webpack-dev-middleware": "^3.4.0",
|
|
"webpack-hot-middleware": "^2.24.2"
|
|
},
|
|
"dependencies": {
|
|
"@sindresorhus/fnv1a": "^1.0.0",
|
|
"autolinker": "^1.7.1",
|
|
"backo": "^1.1.0",
|
|
"classnames": "^2.2.6",
|
|
"es6-promise": "^4.2.5",
|
|
"fontfaceobserver": "^2.0.9",
|
|
"formik": "1.3.1",
|
|
"history": "4.5.1",
|
|
"hsluv": "^0.0.3",
|
|
"immer": "^1.7.2",
|
|
"js-cookie": "^2.1.4",
|
|
"lodash": "^4.17.11",
|
|
"react": "^16.5.2",
|
|
"react-dom": "^16.5.2",
|
|
"react-hot-loader": "^4.3.11",
|
|
"react-redux": "^5.0.2",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-window": "^1.2.1",
|
|
"redux": "^4.0.0",
|
|
"redux-thunk": "^2.3.0",
|
|
"reselect": "^4.0.0",
|
|
"url-pattern": "^1.0.3"
|
|
},
|
|
"scripts": {
|
|
"prettier": "prettier --write {.*,*.js,src/css/*.css,src/**/*.test.js}",
|
|
"prettier:all": "prettier --write {.*,*.js,src/**/*.js,src/css/*.css}",
|
|
"test": "jest",
|
|
"test:verbose": "jest --verbose",
|
|
"test:watch": "jest --watch",
|
|
"gen:install": "GO111MODULE=off go get -u github.com/andyleap/gencode github.com/mailru/easyjson/... github.com/SlinSo/egon/cmd/egon",
|
|
"gen:binary": "gencode go -package storage -schema ../storage/storage.schema -unsafe",
|
|
"gen:json": "easyjson -all -lower_camel_case -omit_empty ../server/json.go ../server/index_data.go && easyjson -lower_camel_case -omit_empty ../storage/user.go",
|
|
"gen:template": "egon -s -m ../server"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"^components(.*)$": "<rootDir>/src/js/components$1",
|
|
"^containers(.*)$": "<rootDir>/src/js/containers$1",
|
|
"^state(.*)$": "<rootDir>/src/js/state$1",
|
|
"^utils(.*)$": "<rootDir>/src/js/utils$1"
|
|
}
|
|
}
|
|
}
|