gatsby-plugin-use-dark-mode
Version:
Gatsby plugin to prevent a flash of default styles when using the use-dark-mode hook
77 lines (76 loc) • 2.3 kB
JSON
{
"name": "gatsby-plugin-use-dark-mode",
"version": "2.1.1",
"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": {
"url": "git+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.27.0"
},
"devDependencies": {
"@babel/cli": "7.28.3",
"@babel/core": "7.28.5",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.29.7",
"@wkovacs64/eslint-config": "7.11.1",
"@wkovacs64/prettier-config": "4.2.2",
"babel-preset-gatsby-package": "3.15.0",
"cross-env": "10.1.0",
"del-cli": "7.0.0",
"eslint": "9.39.1",
"gatsby": "5.15.0",
"gatsby-plugin-utils": "4.15.0",
"npm-run-all2": "8.0.4",
"prettier": "3.6.2",
"react": "19.2.0",
"react-dom": "19.2.0",
"typescript": "5.9.3",
"vitest": "4.0.14"
},
"peerDependencies": {
"gatsby": "^4.0.0 || ^5.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}
}