UNPKG

gatsby-plugin-use-dark-mode

Version:

Gatsby plugin to prevent a flash of default styles when using the use-dark-mode hook

78 lines (77 loc) 2.31 kB
{ "name": "gatsby-plugin-use-dark-mode", "version": "2.1.0", "description": "Gatsby plugin to prevent a flash of default styles when using the use-dark-mode hook", "keywords": [ "gatsby", "gatsby-plugin", "use-dark-mode", "dark-mode" ], "author": { "name": "Justin Hall", "email": "justin.r.hall@gmail.com" }, "license": "MIT", "main": "index.js", "files": [ "index.js", "gatsby-node.js", "gatsby-ssr.js" ], "homepage": "https://github.com/wKovacs64/gatsby-plugin-use-dark-mode#readme", "repository": { "type": "git", "url": "https://github.com/wKovacs64/gatsby-plugin-use-dark-mode.git" }, "bugs": { "url": "https://github.com/wKovacs64/gatsby-plugin-use-dark-mode/issues" }, "scripts": { "build": "cross-env NODE_ENV=production babel src --extensions \".ts,.tsx\" --ignore \"**/__tests__/**\" --out-dir .", "changeset": "changeset", "changeset:version": "changeset version && npm install --package-lock-only", "changeset:publish": "changeset publish", "clean": "del-cli gatsby-node.js gatsby-ssr.js", "format": "prettier --cache --write .", "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .", "prebuild": "npm run --silent clean", "prepare": "npm run --silent build", "prepublishOnly": "run-p --silent lint build", "test": "vitest run", "test:watch": "vitest watch", "typecheck": "tsc --noEmit" }, "prettier": "@wkovacs64/prettier-config", "private": false, "publishConfig": { "access": "public" }, "dependencies": { "esbuild": "~0.24.0" }, "devDependencies": { "@babel/cli": "7.26.4", "@babel/core": "7.26.0", "@changesets/changelog-github": "0.5.0", "@changesets/cli": "2.27.11", "@wkovacs64/eslint-config": "7.4.0", "@wkovacs64/prettier-config": "4.1.1", "babel-preset-gatsby-package": "3.14.0", "cross-env": "7.0.3", "del-cli": "6.0.0", "eslint": "9.17.0", "gatsby": "5.14.1", "gatsby-plugin-utils": "4.14.0", "npm-run-all2": "7.0.2", "prettier": "3.4.2", "react": "19.0.0", "react-dom": "19.0.0", "typescript": "5.7.2", "vitest": "2.1.8" }, "peerDependencies": { "gatsby": "^4.0.0 || ^5.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0" } }