ci: fmt, lint and build offlinedocs (#8642)

Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
Muhammad Atif Ali
2023-07-24 10:54:08 +00:00
committed by GitHub
co-authored by Dean Sheather
parent 87f07b9f2f
commit 757ea68d4a
4 changed files with 945 additions and 674 deletions
+9 -1
View File
@@ -7,7 +7,12 @@
"build": "next build",
"start": "next start",
"export": "yarn copy-images && next build && next export",
"copy-images": "sh ./scripts/copyImages.sh"
"copy-images": "sh ./scripts/copyImages.sh",
"lint": "yarn run lint:types",
"lint:fix": "FIX=true yarn lint",
"lint:types": "tsc --noEmit",
"format:check": "prettier --cache --check './**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:write": "prettier --cache --write './**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'"
},
"dependencies": {
"@chakra-ui/react": "2.8.0",
@@ -27,11 +32,14 @@
"remark-gfm": "3.0.1"
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.2.0",
"@react-native-community/eslint-plugin": "^1.3.0",
"@types/node": "18.0.0",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.5",
"eslint": "8.45.0",
"eslint-config-next": "13.4.10",
"prettier": "3.0.0",
"typescript": "4.7.3"
}
}
+859 -669
View File
File diff suppressed because it is too large Load Diff