diff --git a/package.json b/package.json index eecb3137..1be920e6 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,51 @@ { - "name": "OpenCore-Desktop-Guide", - "version": "0.0.1", - "description": "", - "main": "index.js", - "authors": { - "name": "", - "email": "" - }, - "repository": "/OpenCore-Desktop-Guide", - "scripts": { - "dev": "vuepress dev", - "build": "vuepress build" - }, - "license": "MIT", - "devDependencies": { - "@vuepress/plugin-back-to-top": "^1.5.3", - "vuepress": "^1.5.3", - "vuepress-plugin-medium-zoom": "^1.1.8", - "vuepress-plugin-smooth-scroll": "0.0.9", - "vuepress-plugin-zooming": "^1.1.7", - "vuepress-theme-book": "0.0.3", - "vuepress-theme-dark-new": "^0.1.2", - "vuepress-theme-succinct": "^1.5.3" - }, - "dependencies": { - "vuepress-theme-yuu": "^2.3.0" - } + "name": "OpenCore-Post-Install", + "version": "0.6.3", + "description": "OpenCore post-install guide", + "main": "", + "author": { + "name": "Dortania", + "url": "https://github.com/dortania" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/dortania/OpenCore-Post-Install.git" + }, + "scripts": { + "dev": "vuepress dev", + "build": "vuepress build", + "fix-lint": "run-script-os", + "fix-lint:default": "(echo Attempting to fix lint... && markdownlint '**/*.md' -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", + "fix-lint:win32": "(echo Attempting to fix lint... && markdownlint **/*.md -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", + "lint": "run-script-os", + "lint:default": "(echo Linting... && markdownlint '**/*.md' && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", + "lint:win32": "(echo Linting... && markdownlint **/*.md && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", + "lint-ci": "run-script-os", + "lint-ci:default": "(echo Linting... && markdownlint '**/*.md' && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint '**/*.md' -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", + "lint-ci:win32": "(echo Linting... && markdownlint **/*.md && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint **/*.md -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", + "sort-dict": "node ./scripts/sortDict.js", + "spellcheck": "run-script-os", + "spellcheck:default": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries dictionary/dictionary.txt dictionary/opencorekeys.txt --files '**/*.md' && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", + "spellcheck:win32": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries dictionary/dictionary.txt dictionary/opencorekeys.txt --files **/*.md && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", + "test": "run-script-os", + "test:default": "npm run lint --silent; npm run spellcheck --silent", + "test:win32": "npm run lint --silent & npm run spellcheck --silent" + }, + "license": "CC-BY-NC-SA-4.0", + "devDependencies": { + "@vuepress/plugin-back-to-top": "^1.5.4", + "markdown-it-multimd-table": "^4.0.3", + "markdown-link-check": "^3.8.1", + "markdownlint-cli": "^0.22.0", + "run-script-os": "^1.1.1", + "spellchecker-cli": "^4.2.0", + "vuepress": "^1.5.4", + "vuepress-plugin-medium-zoom": "^1.1.8", + "vuepress-plugin-zooming": "^1.1.7", + "vuepress-theme-book": "0.0.3", + "vuepress-theme-dark-new": "^0.1.2", + "vuepress-theme-succinct": "^1.5.3", + "vuepress-theme-yuu": "^2.3.0" + }, + "homepage": "https://dortania.github.io/OpenCore-Post-Install/" }