| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- {
- "name": "@jiaminghi/color",
- "version": "1.1.3",
- "author": "JiaMing <743192023@qq.com>",
- "description": "Color extension",
- "main": "cjs/index.js",
- "unpkg": "umd/color.umd.js",
- "module": "es/index.mjs",
- "types": "es/index.d.ts",
- "repository": {
- "type": "git",
- "url": "https://github.com/DataV-Team/Color.git"
- },
- "scripts": {
- "prepare": "husky install",
- "dev": "ts-node scripts/dev/init.ts && vite --config scripts/dev/vite.config.ts",
- "clear": "rm es cjs umd -rf",
- "build": "yarn clear && yarn build:es && yarn build:umd",
- "build:es": "vite build --config scripts/build/vite.config.ts",
- "build:umd": "vite build --config scripts/build/vite.config.umd.ts",
- "check": "yarn lint && yarn lint:type && yarn lint:format && yarn test",
- "lint": "eslint --ext js,ts src test",
- "lint:type": "tsc --project ./tsconfig.json --noEmit",
- "lint:format": "prettier --check \"src/**/*.ts\"",
- "format": "prettier --write \"src/**/*.ts\"",
- "test": "mocha",
- "version:test": "ts-node scripts/release/version-generator --type=test"
- },
- "files": [
- "es",
- "cjs",
- "umd"
- ],
- "husky": {
- "hooks": {
- "pre-commit": "yarn run check",
- "pre-push": "yarn run check"
- }
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/DataV-Team/Color/issues"
- },
- "keywords": [
- "color",
- "hex",
- "rgb",
- "rgba",
- "darken",
- "lighten"
- ],
- "homepage": "https://github.com/DataV-Team/Color#readme",
- "devDependencies": {
- "@types/chai": "^4.2.11",
- "@types/mocha": "^7.0.2",
- "@types/node": "^18.7.18",
- "@types/prettier": "^2.7.2",
- "@types/semver": "^7.3.13",
- "@typescript-eslint/eslint-plugin": "^5.36.1",
- "@typescript-eslint/parser": "^5.36.1",
- "@vitejs/plugin-react": "^3.0.0",
- "chai": "^4.2.0",
- "eslint": "^8.23.0",
- "eslint-plugin-import": "^2.26.0",
- "fs-extra": "^11.1.0",
- "husky": "^8.0.2",
- "less": "^4.1.3",
- "mocha": "^6.2.3",
- "ora": "5.4.1",
- "prettier": "^2.0.4",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "semver": "^7.3.8",
- "ts-node": "^8.8.2",
- "typescript": "^4.8.3",
- "vite": "^4.0.0",
- "vite-plugin-dts": "^1.7.1"
- }
- }
|