168 lines
5.1 KiB
JSON
168 lines
5.1 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=6.13.1",
|
|
"npm": ">=3.10.10"
|
|
},
|
|
"browserslist": [
|
|
">1%",
|
|
"last 4 versions",
|
|
"Firefox ESR",
|
|
"not ie < 9"
|
|
],
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.0.0",
|
|
"body-parser": "^1.18.3",
|
|
"classnames": "^2.2.6",
|
|
"cookie-parser": "^1.4.3",
|
|
"express": "^4.16.3",
|
|
"express-graphql": "^0.6.12",
|
|
"express-jwt": "^5.3.1",
|
|
"graphql": "^0.13.2",
|
|
"history": "^4.7.2",
|
|
"isomorphic-style-loader": "^4.0.0",
|
|
"jsonwebtoken": "^8.3.0",
|
|
"node-fetch": "^2.2.0",
|
|
"normalize.css": "^8.0.0",
|
|
"omi": "^6.0.3",
|
|
"omio": "^2.1.0",
|
|
"passport": "^0.4.0",
|
|
"passport-facebook": "^2.1.1",
|
|
"pretty-error": "^2.1.1",
|
|
"prop-types": "^15.6.2",
|
|
"query-string": "^6.1.0",
|
|
"react": "^16.5.2",
|
|
"react-dom": "^16.5.2",
|
|
"sequelize": "^4.38.1",
|
|
"serialize-javascript": "^1.5.0",
|
|
"source-map-support": "^0.5.9",
|
|
"sqlite3": "^4.0.2",
|
|
"to-string-loader": "^1.1.5",
|
|
"universal-router": "^6.0.0",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/node": "^7.0.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^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-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"autoprefixer": "^9.1.5",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-jest": "^23.6.0",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.18",
|
|
"browser-sync": "^2.24.7",
|
|
"chokidar": "^2.0.4",
|
|
"css-loader": "^1.0.0",
|
|
"enzyme": "^3.6.0",
|
|
"eslint": "^5.6.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^3.0.1",
|
|
"eslint-import-resolver-node": "^0.3.2",
|
|
"eslint-loader": "^2.1.1",
|
|
"eslint-plugin-css-modules": "^2.9.1",
|
|
"eslint-plugin-flowtype": "^2.50.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
"eslint-plugin-prettier": "^2.6.2",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"file-loader": "^2.0.0",
|
|
"flow-bin": "^0.81.0",
|
|
"front-matter": "^2.3.0",
|
|
"glob": "^7.1.3",
|
|
"husky": "^1.0.0-rc.15",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^23.6.0",
|
|
"lint-staged": "^7.3.0",
|
|
"markdown-it": "^8.4.2",
|
|
"mkdirp": "^0.5.1",
|
|
"null-loader": "^0.1.1",
|
|
"opn-cli": "^3.1.0",
|
|
"pixrem": "^4.0.1",
|
|
"pleeease-filters": "^4.0.0",
|
|
"postcss": "^7.0.2",
|
|
"postcss-calc": "^6.0.1",
|
|
"postcss-color-function": "^4.0.1",
|
|
"postcss-custom-media": "^7.0.3",
|
|
"postcss-custom-properties": "^8.0.5",
|
|
"postcss-custom-selectors": "^5.1.2",
|
|
"postcss-flexbugs-fixes": "^4.1.0",
|
|
"postcss-import": "^12.0.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-media-minmax": "^4.0.0",
|
|
"postcss-nested": "^4.1.0",
|
|
"postcss-nesting": "^7.0.0",
|
|
"postcss-pseudoelements": "^5.0.0",
|
|
"postcss-selector-matches": "^4.0.0",
|
|
"postcss-selector-not": "^4.0.0",
|
|
"prettier": "^1.14.3",
|
|
"raw-loader": "^0.5.1",
|
|
"react-deep-force-update": "^2.1.3",
|
|
"react-dev-utils": "^5.0.2",
|
|
"react-error-overlay": "^4.0.1",
|
|
"react-test-renderer": "^16.5.2",
|
|
"rimraf": "^2.6.2",
|
|
"stylelint": "^9.5.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"stylelint-order": "^1.0.0",
|
|
"svg-url-loader": "^2.3.2",
|
|
"url-loader": "^1.1.1",
|
|
"webpack": "^4.19.1",
|
|
"webpack-assets-manifest": "^3.0.2",
|
|
"webpack-bundle-analyzer": "^3.0.2",
|
|
"webpack-dev-middleware": "^3.3.0",
|
|
"webpack-hot-middleware": "^2.24.2",
|
|
"webpack-node-externals": "^1.7.2"
|
|
},
|
|
"lint-staged": {
|
|
"ignore": [
|
|
"package.json"
|
|
],
|
|
"linters": {
|
|
"*.{js,jsx}": [
|
|
"eslint --no-ignore --fix",
|
|
"git add --force"
|
|
],
|
|
"*.{json,md,graphql}": [
|
|
"prettier --write",
|
|
"git add --force"
|
|
],
|
|
"*.{css,less,styl,scss,sass,sss}": [
|
|
"stylelint --fix",
|
|
"git add --force"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint-js": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
|
|
"lint-css": "stylelint \"src/**/*.{css,less,styl,scss,sass,sss}\"",
|
|
"lint": "yarn run lint-js && yarn run lint-css",
|
|
"fix-js": "yarn run lint-js --fix",
|
|
"fix-css": "yarn run lint-css --fix",
|
|
"fix": "yarn run fix-js && yarn run fix-css",
|
|
"flow": "flow",
|
|
"flow:check": "flow check",
|
|
"test": "jest",
|
|
"test-watch": "yarn run test --watch --notify",
|
|
"test-cover": "yarn run test --coverage",
|
|
"coverage": "yarn run test-cover && opn coverage/lcov-report/index.html",
|
|
"clean": "babel-node tools/run clean",
|
|
"copy": "babel-node tools/run copy",
|
|
"bundle": "babel-node tools/run bundle",
|
|
"build": "babel-node tools/run build",
|
|
"build-stats": "yarn run build --release --analyse",
|
|
"deploy": "babel-node tools/run deploy",
|
|
"render": "babel-node tools/run render",
|
|
"serve": "babel-node tools/run runServer",
|
|
"start": "babel-node tools/run start"
|
|
}
|
|
}
|