Ghost/ghost/portal/package.json
Hannah Wolfe 4c358d2cec Added ghost browser ESLint config and fixed errors
- added eslint-plugin-ghost, extended ghost/browser config & fixed all the issues
- did this because basic things like indent, quotes and semi-colons weren't being enforced resulting in inconsistencies
- we can customise this or create a ghost/react if desired
2020-04-10 16:32:37 +01:00

48 lines
1.2 KiB
JSON

{
"name": "membersjs",
"version": "0.1.0",
"license": "MIT",
"repository": "git@github.com:TryGhost/membersjs.git",
"author": "Ghost Foundation",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "react-scripts start",
"build": "npm run build:combined && npm run build:bundle",
"build:combined": "node ./scripts/build-combined.js",
"build:bundle": "webpack --config webpack.config.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src --ext .js --cache",
"posttest": "yarn lint"
},
"eslintConfig": {
"extends": ["react-app", "plugin:ghost/browser"],
"plugins": ["ghost"]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint-plugin-ghost": "1.1.0",
"rewire": "^5.0.0",
"webpack-cli": "^3.3.11"
}
}