{"_id":"@cyber-insight/cps-icons","name":"@cyber-insight/cps-icons","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.4":{"name":"@cyber-insight/cps-icons","version":"0.1.4","description":"Cyber Design Icons","module":"lib/index.es.js","main":"lib/index.js","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"contributors":[{"name":"HeskeyBaozi","email":"hezhiyu233@foxmail.com"}],"license":"MIT","scripts":{"build":"npm run build:lib && npm run build:index-es &&  npm run build:umd","build:lib":"cross-env NODE_ENV=production rimraf lib && tsc --project ./tsconfig.json --outDir lib","build:index-es":"cross-env NODE_ENV=production rimraf lib/index.es.js && babel --extensions '.ts' --presets @babel/preset-typescript src/index.ts --out-file lib/index.es.js","generate":"cross-env TS_NODE_PROJECT=build/tsconfig.json node --require ts-node/register build/index.ts","clean:src":"cross-env TS_NODE_PROJECT=build/tsconfig.json node --require ts-node/register build/scripts/clean.ts","test":"npm run test:unit","test:unit":"jest","lint":"tslint -c tslint.json 'src/**/*.{ts,tsx}' 'site/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}'","clean:build":"rimraf .cache es lib","start":"gatsby develop","build:umd":"webpack --config umd.webpack.config.js -p","prepublish":"npm run lint && npm run generate && npm run build"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.0.0","@babel/runtime":"^7.0.0","@svgr/core":"^2.1.1","@types/fs-extra":"^5.0.4","@types/globby":"^8.0.0","@types/history":"^4.7.0","@types/jest":"^23.3.1","@types/lodash":"^4.14.115","@types/node":"^10.5.5","@types/parse5":"^5.0.0","@types/prettier":"^1.13.2","@types/react":"^16.4.7","@types/react-router":"3.0.20","@types/rimraf":"^2.0.2","@types/svgo":"^1.0.1","antd":"^3.8.2","babel-core":"^6.26.3","babel-jest":"^23.4.2","babel-plugin-macros":"^2.4.0","chalk":"^2.4.1","cross-env":"^5.2.0","fs-extra":"^7.0.0","gatsby":"^2.4.2","gatsby-plugin-page-creator":"^2.0.12","gatsby-plugin-typescript":"^2.0.13","globby":"^8.0.1","jest":"^23.4.2","lodash":"^4.17.10","mobx":"^5.0.4","mobx-react":"^5.2.5","parse5":"^5.1.0","prettier":"1.14.2","react":"^16.4.2","react-dom":"^16.4.2","rimraf":"^2.6.2","rxjs":"^6.2.2","styled-components":"^3.4.4","svgo":"^1.0.5","ts-jest":"^23.1.0","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.0.1","webpack-cli":"^3.1.0","webpackbar":"^2.6.1"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"globals":{"ts-jest":{"tsConfigFile":"./test/tsconfig.json","skipBabel":true}},"testURL":"http://localhost","testPathIgnorePatterns":["<rootDir>/packages/","<rootDir>/node_modules/","<rootDir>/.cache/"]},"gitHead":"225d4d2189720ee3b7e4a4d7a6d80e076fa15cbc","bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"homepage":"https://github.com/ant-design/ant-design-icons#readme","_id":"@cyber-insight/cps-icons@0.1.4","_nodeVersion":"16.8.0","_npmVersion":"6.14.10","dist":{"integrity":"sha512-8alNgsv8wBoXb8jcVEMrW5EMTAkSaWk3XDS6LlzGPAFv8oGjfKrXGPXOJy7kgYjtf58z1JrVJ8t9FExKEXduPA==","shasum":"fc150568a48a169ef4f561721392d50ee553a372","tarball":"https://registry.npmjs.org/@cyber-insight/cps-icons/-/cps-icons-0.1.4.tgz","fileCount":266,"unpackedSize":419388,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJe0qbUPOCCxdc4EXwPyCkTVb6zwl62k0C0NlwxefXNAiB5wEmWabK7tvR87MBk3AQRPGAPfT/pIbsHCbyxoyhRzw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1mFpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEyBAAhCSNhY6pGcH5H35eF23mcNphUcxvOUsIhaiXfF3mbt+oTbfo\r\ntVEhD+9rXRggnptAtU4WvqHhoMhCOei4CL0Mf3fgxgVA0IJ7X/jBC1jtoO8v\r\n+qtLQQOxnvLoGAgXCxfkk7DOLGvygJUdUPikxXF0ZqBM0O4Y5El/GomTaTMQ\r\nbkORxTRbOfhr5KMFPfdoHykuGHD6S2POA4HQNzylhHNFQ6dHMyN4bOygEyRc\r\ntIg8FoGAyqsriP0/PncWiA43MSMp/fvN2ICzhdpIj+ZTG27943dctj+a6zJa\r\n2whtfstJKqKEW6y6I6Vkdsr+0pZs/IXxxDGLV7oUg0BiVxF5V5kJDWeBoOeu\r\nKi4g6UlYbifadwCWRjNzGyNVaYucUdB1RulKpB5Js5A/rl4hj1JNEyhvnCb/\r\nhu1y4CJNpOOYOnCPULLBRCe5FVi5nvYfe9nSdZT8bH6TS7iCOFcvpqSHOXUO\r\ngj8Pmqk2ouXWx33NPJJDwu5w14KlRUIMhSqmLfpK/m+HxF4yhU9mpZWxJgHF\r\n/tzfhGFfAq0bh0u2oZJgDHR7fBM+GD7oOkfVwd8YqyRK8G4gQ8TMv43OyA5b\r\nyelf8RBrUTmZolv/JXpGhOkyaXxmpW2A5HeWOjm5/d6vPoqNoj0GJ9BcAWsS\r\nwBlflYUfvwc0ScKxwAO5Gqr4zjZDidQBY4c=\r\n=ZMpk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cyber-insight","email":"ping.guan@cyber-insight.com"},"directories":{},"maintainers":[{"name":"cyber-insight","email":"ping.guan@cyber-insight.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cps-icons_0.1.4_1658216808853_0.969131311002748"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-19T07:46:48.738Z","0.1.4":"2022-07-19T07:46:49.200Z","modified":"2022-07-19T07:46:49.376Z"},"maintainers":[{"name":"cyber-insight","email":"ping.guan@cyber-insight.com"}],"description":"Cyber Design Icons","homepage":"https://github.com/ant-design/ant-design-icons#readme","repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"contributors":[{"name":"HeskeyBaozi","email":"hezhiyu233@foxmail.com"}],"bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"license":"MIT","readme":"<h1 align=\"center\">\r\nCyber Design Icons\r\n</h1>\r\n\r\n<p align=\"center\">\r\n⭐ The abstract trees of the Cyber Design SVG icons.\r\n</p>\r\n\r\n<div align=\"center\">\r\n\r\n[![NPM version](https://img.shields.io/npm/v/@ant-design/icons.svg?style=flat)](https://npmjs.org/package/@ant-design/icons)\r\n[![NPM downloads](http://img.shields.io/npm/dm/@ant-design/icons.svg?style=flat)](https://npmjs.org/package/@ant-design/icons)\r\n\r\n</div>\r\n\r\n## Install\r\n\r\n```bash\r\nyarn add @ant-design/icons # or npm install @ant-design/icons --save\r\n```\r\n\r\n## Use Library Adapter\r\n\r\n- React: See [@ant-design/icons-react](../icons-react) to learn about detail usage.\r\n\r\n## Basic Usage\r\n\r\n```ts\r\nimport { AlertOutline } from '@ant-design/icons';\r\n// or import AlertOutline from '@ant-design/icons/lib/outline/AlertOutline';\r\n\r\nconsole.log(AlertOutline);\r\n// Output:\r\n// {\r\n//     name: 'alert',\r\n//     theme: 'outline',\r\n//     icon: {\r\n//         tag: 'svg',\r\n//         attrs: { viewBox: '64 64 896 896' },\r\n//         children: [\r\n//             {\r\n//                 tag: 'path',\r\n//                 attrs: {\r\n//                     d: 'M193 796a32 32 0 0 0 32 32h574a32....'\r\n//                 }\r\n//             }\r\n//         ]\r\n//     }\r\n// }\r\n```\r\n\r\n- Interfaces\r\n\r\nThis library export all SVG files as `IconDefinition`.\r\n\r\n```ts\r\ninterface AbstractNode {\r\n  tag: string;\r\n  attrs: {\r\n    [key: string]: string;\r\n  };\r\n  children?: AbstractNode[];\r\n}\r\n\r\ninterface IconDefinition {\r\n  name: string; // kebab-case-style\r\n  theme: ThemeType;\r\n  icon:\r\n    | ((primaryColor: string, secondaryColor: string) => AbstractNode)\r\n    | AbstractNode;\r\n}\r\n```\r\n\r\n## Render Helpers\r\n```ts\r\nimport { AccountBookFill } from '@ant-design/icons';\r\nimport { renderIconDefinitionToSVGElement } from '@ant-design/icons/lib/helpers';\r\n\r\nconst svgHTMLString = renderIconDefinitionToSVGElement(\r\n  AccountBookFill,\r\n  { extraSVGAttrs: { width: '1em', height: '1em', fill: 'currentColor' } }\r\n);\r\n\r\nconsole.log(svgHTMLString);\r\n// Output:\r\n// '<svg viewBox=\"64 64 896 896\" width=\"1em\" height=\"1em\" fill=\"currentColor\"><path d=\"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 0 1 8.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z\"></path></svg>'\r\n```\r\n\r\n- Interfaces\r\n\r\n```ts\r\ndeclare function renderIconDefinitionToSVGElement(icon: IconDefinition, options?: HelperRenderOptions): string;\r\n\r\ninterface HelperRenderOptions {\r\n  placeholders?: {\r\n    primaryColor?: string; // default #333\r\n    secondaryColor?: string; // default #E6E6E6\r\n  };\r\n  extraSVGAttrs?: {\r\n    [key: string]: string;\r\n  };\r\n}\r\n```\r\n\r\n## Build Project\r\n```bash\r\nnpm run generate # Generate files to ./src\r\nnpm run build # Build library\r\nnpm run test # Runing Test\r\n```\r\n","readmeFilename":"README.md"}