From d31abd6060731d9da628c58bbaed4768df5c55dd Mon Sep 17 00:00:00 2001 From: Vinay Puppal Date: Mon, 1 Jan 2018 05:37:19 +0530 Subject: [PATCH] 2.0.0 --- package.json | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 273c2280d..caf2a15ce 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,11 @@ { "name": "coderplex-app", - "version": "1.0.0", + "version": "2.0.0", "description": "We are on a mission to improve the state of tech in India", "main": "index.js", "scripts": { "test": "xo && jest", - "lint": - "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", + "lint": "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", "precommit": "lint-staged", "analyze": "cross-env ANALYZE=1 next build", "dev": "cross-env NODE_ENV=development node server.js", @@ -18,19 +17,32 @@ }, "xo": { "parser": "babel-eslint", - "extends": ["prettier", "prettier/react", "plugin:react/recommended"], - "env": ["browser", "node"], + "extends": [ + "prettier", + "prettier/react", + "plugin:react/recommended" + ], + "env": [ + "browser", + "node" + ], "rules": { "linebreak-style": 0, "react/display-name": 0, "react/prop-types": 0 }, "space:": 2, - "ignores": ["next.config.js"], + "ignores": [ + "next.config.js" + ], "overrides": [ { "files": "**/__tests__/*.test.js", - "globals": ["describe", "it", "expect"] + "globals": [ + "describe", + "it", + "expect" + ] } ] }, @@ -41,8 +53,16 @@ "jest --findRelatedTests", "git add" ], - "**/*.md": ["prettier", "markdownlint", "git add"], - ".github/CONTRIBUTING.md": ["doctoc", "prettier", "git add"] + "**/*.md": [ + "prettier", + "markdownlint", + "git add" + ], + ".github/CONTRIBUTING.md": [ + "doctoc", + "prettier", + "git add" + ] }, "dependencies": { "babel-plugin-emotion": "^8.0.10",