84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"name": "apollo-upload-examples-app",
|
|
"private": true,
|
|
"dependencies": {
|
|
"apollo-upload-client": "^5.1.0",
|
|
"babel-plugin-transform-inline-environment-variables": "^0.1.1",
|
|
"next": "^3.0.3",
|
|
"react": "^15.6.1",
|
|
"react-apollo": "^1.4.11",
|
|
"react-display-name": "^0.2.3",
|
|
"react-dom": "^15.6.1",
|
|
"zoo": "^0.1.9"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.2.3",
|
|
"eslint": "^4.4.1",
|
|
"eslint-config-standard-jsx": "^4.0.2",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-node": "^5.1.1",
|
|
"eslint-plugin-prettier": "^2.1.2",
|
|
"eslint-plugin-react": "^7.2.0",
|
|
"prettier": "^1.5.3"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"dev": "zoo next",
|
|
"build": "zoo next build",
|
|
"start": "zoo next start"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.1.2",
|
|
"npm": ">=5"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"next/babel"
|
|
],
|
|
"plugins": [
|
|
"transform-inline-environment-variables"
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 2017,
|
|
"ecmaFeatures": {
|
|
"experimentalObjectRestSpread": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:node/recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"plugins": [
|
|
"import",
|
|
"node",
|
|
"react",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"node/no-missing-require": "off",
|
|
"node/no-unsupported-features": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"semi": false,
|
|
"singleQuote": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|