Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/color

Package Overview
Dependencies
Maintainers
35
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/color - npm Package Compare versions

Comparing version 2.1.19-next.3 to 2.1.19

dist/index.d.ts

127

package.json
{
"name": "@sanity/color",
"version": "2.1.19-next.3+dc2d5edc",
"version": "2.1.19",
"description": "The Sanity color palette.",
"sideEffects": false,
"types": "./dist/types/src/index.d.ts",
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"module": "./dist/sanity-color.esm.js",
"main": "./dist/sanity-color.js",
"module": "./dist/index.esm.js",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"import": "./dist/sanity-color.esm.js",
"require": "./dist/sanity-color.js",
"default": "./dist/sanity-color.esm.js"
}
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"default": "./dist/index.esm.js"
},
"./package.json": "./package.json"
},

@@ -23,20 +24,54 @@ "files": [

],
"scripts": {
"build": "pkg build",
"check:package": "pkg --strict",
"clean": "rimraf dist",
"generate": "node -r esbuild-register scripts/generate.ts",
"lint": "eslint . --ext .js,.ts --quiet",
"postbuild": "run-s check:package",
"prebuild": "run-s clean generate",
"test": "jest",
"type-check": "tsc --build",
"watch": "pkg watch"
},
"devDependencies": {
"polished": "^4.2.2"
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@sanity/icons": "^1.3.6",
"@sanity/pkg-utils": "^1.18.0",
"@sanity/semantic-release-preset": "^2.0.2",
"@sanity/ui": "1.0.0-beta.32",
"@sanity/ui-workshop": "1.0.0-beta.5",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.2.3",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.15.15",
"esbuild-register": "^3.4.1",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-axe": "^7.0.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"polished": "^4.2.2",
"prettier": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"styled-components": "^5.3.6",
"typescript": "^4.9.3"
},
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/design.git"
"url": "git+https://github.com/sanity-io/color.git"
},

@@ -51,9 +86,49 @@ "keywords": [

"bugs": {
"url": "https://github.com/sanity-io/design/issues"
"url": "https://github.com/sanity-io/color/issues"
},
"homepage": "https://www.sanity.io/",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
]
},
"packageManager": "pnpm@7.12.2",
"publishConfig": {
"access": "public"
},
"gitHead": "dc2d5edccec2ac27f362f14447b40ea5b187bd00"
}
"release": {
"extends": "@sanity/semantic-release-preset",
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"scripts": {
"build": "run-s clean generate build:pkg check:pkg",
"build:pkg": "pkg build --strict",
"check:pkg": "pkg --strict",
"check:types": "tsc",
"clean": "rimraf .workshop dist",
"commit": "cz",
"dev": "workshop dev",
"format": "prettier --write --cache --ignore-unknown .",
"generate": "node -r esbuild-register scripts/generate.ts",
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx --quiet",
"release": "semantic-release",
"test": "jest",
"watch": "pkg watch --strict"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc