dumi-plugin-color-chunk
Version:
Dumi Plugin - Beautify inline color blocks
124 lines (123 loc) • 3.7 kB
JSON
{
"name": "dumi-plugin-color-chunk",
"version": "2.1.0",
"description": "Dumi Plugin - Beautify inline color blocks",
"keywords": [
"dumi"
],
"homepage": "https://github.com/Wxh16144/dumi-plugin-color-chunk#readme",
"bugs": {
"url": "https://github.com/Wxh16144/dumi-plugin-color-chunk/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/Wxh16144/dumi-plugin-color-chunk.git"
},
"license": "MIT",
"author": "Wxh16144(wxh1220@gmail.com)",
"sideEffects": false,
"exports": {
".": {
"types": "./es/index.d.ts",
"import": "./es/index.js",
"require": "./lib/index.js"
},
"./component": {
"types": "./es/components/index.d.ts",
"import": "./es/components/index.js",
"require": "./lib/components/index.js"
}
},
"main": "lib/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"dist",
"lib",
"es"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"ci": "pnpm run lint && pnpm run type-check && pnpm run doctor && pnpm run build",
"cy:open": "cypress open",
"cy:run": "cypress run",
"dev": "pnpm run --filter playground dev",
"diff-report": "cypress-image-diff-html-report start --rd cypress-image-diff/html-report --autoOpen",
"docker": "rimraf cypress-image-diff/* && bash ./scripts/update-baseline.sh",
"docs:build": "pnpm run --filter playground build",
"doctor": "father doctor",
"lint": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && pnpm run build",
"prepublishOnly": "pnpm run doctor && pnpm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:e2e": "wait-umi dev :8000 && pnpm run cy:open",
"test:e2e:ci": "wait-umi dev :8000 && pnpm run cy:run",
"test:e2e:update": "cross-env FAIL_ON_MISSING_BASELINE=0 pnpm run test:e2e:ci",
"test:unit:update": "vitest -u",
"test:update": "test:unit:update && test:e2e:update",
"type-check": "tsc -p tsconfig-check.json"
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ctrl/tinycolor": "^4"
},
"devDependencies": {
"@commitlint/cli": "^17",
"@commitlint/config-conventional": "^17",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"@umijs/lint": "^4",
"@vitest/coverage-v8": "latest",
"commitlint": "^17",
"concurrently": "^7",
"cross-env": "^7.0.3",
"cypress": "^13.7.3",
"cypress-image-diff-html-report": "^2.2.0",
"cypress-image-diff-js": "^2.3.0",
"dumi": "^2",
"eslint": "^8",
"fast-glob": "^3.3.1",
"father": "^4",
"husky": "^8",
"lint-staged": "^13",
"prettier": "^2",
"prettier-plugin-organize-imports": "^3",
"prettier-plugin-packagejson": "^2",
"react": "^18",
"react-dom": "^18",
"rimraf": "^6.0.1",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5",
"vitest": "latest",
"wait-umi": "0.0.1-beta.2"
},
"optionalDependencies": {
"dumi": "^2",
"react": "^18",
"react-dom": "^18"
},
"packageManager": "pnpm@8.15.8",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}