|
1 | 1 | { |
2 | 2 | "name": "coderplex-app", |
3 | | - "version": "1.0.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "We are on a mission to improve the state of tech in India", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | 7 | "test": "xo && jest", |
8 | | - "lint": |
9 | | - "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", |
| 8 | + "lint": "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", |
10 | 9 | "precommit": "lint-staged", |
11 | 10 | "analyze": "cross-env ANALYZE=1 next build", |
12 | 11 | "dev": "cross-env NODE_ENV=development node server.js", |
|
18 | 17 | }, |
19 | 18 | "xo": { |
20 | 19 | "parser": "babel-eslint", |
21 | | - "extends": ["prettier", "prettier/react", "plugin:react/recommended"], |
22 | | - "env": ["browser", "node"], |
| 20 | + "extends": [ |
| 21 | + "prettier", |
| 22 | + "prettier/react", |
| 23 | + "plugin:react/recommended" |
| 24 | + ], |
| 25 | + "env": [ |
| 26 | + "browser", |
| 27 | + "node" |
| 28 | + ], |
23 | 29 | "rules": { |
24 | 30 | "linebreak-style": 0, |
25 | 31 | "react/display-name": 0, |
26 | 32 | "react/prop-types": 0 |
27 | 33 | }, |
28 | 34 | "space:": 2, |
29 | | - "ignores": ["next.config.js"], |
| 35 | + "ignores": [ |
| 36 | + "next.config.js" |
| 37 | + ], |
30 | 38 | "overrides": [ |
31 | 39 | { |
32 | 40 | "files": "**/__tests__/*.test.js", |
33 | | - "globals": ["describe", "it", "expect"] |
| 41 | + "globals": [ |
| 42 | + "describe", |
| 43 | + "it", |
| 44 | + "expect" |
| 45 | + ] |
34 | 46 | } |
35 | 47 | ] |
36 | 48 | }, |
|
41 | 53 | "jest --findRelatedTests", |
42 | 54 | "git add" |
43 | 55 | ], |
44 | | - "**/*.md": ["prettier", "markdownlint", "git add"], |
45 | | - ".github/CONTRIBUTING.md": ["doctoc", "prettier", "git add"] |
| 56 | + "**/*.md": [ |
| 57 | + "prettier", |
| 58 | + "markdownlint", |
| 59 | + "git add" |
| 60 | + ], |
| 61 | + ".github/CONTRIBUTING.md": [ |
| 62 | + "doctoc", |
| 63 | + "prettier", |
| 64 | + "git add" |
| 65 | + ] |
46 | 66 | }, |
47 | 67 | "dependencies": { |
48 | 68 | "babel-plugin-emotion": "^8.0.10", |
|
0 commit comments