{"_id":"@auraxy/aliyun-captcha","_rev":"1-377ed453c08d851569495ba4d8eae595","name":"@auraxy/aliyun-captcha","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@auraxy/aliyun-captcha","version":"1.0.0","description":"aliyun-captcha","main":"./lib/umd/index.js","module":"./lib/es/index.js","unpkg":"./lib/umd/index.js","types":"./index.d.ts","scripts":{"build:css":"cross-env NODE_ENV=production node-sass ./src/css/index.scss ./lib/css/index.css --output-style compressed && ncp ./src/css/index.scss ./lib/css/index.scss","build:js":"cross-env NODE_ENV=production rollup -c","build:dts":"cross-env NODE_ENV=production BUILD_ENV=dts rollup -c","dev":"rimraf ./lib && cross-env BUILD_ENV=watch node watch.js","build":"rimraf ./lib && npm run build:css && npm run build:js","build:test":"rimraf ./test-lib && cross-env NODE_ENV=test rollup -c rollup.config.test.js --sourcemap","eslint":"eslint ./ --ext .js,.ts,.tsx --fix","test":"npm run build:test && cross-env NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- ./test","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","commit":"git-cz"},"repository":{"type":"git","url":""},"keywords":["aliyun captcha"],"author":"","license":"MIT","homepage":"","devDependencies":{"@babel/core":"^7.5.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.0","@babel/register":"^7.4.4","@babel/runtime":"^7.5.1","@livelybone/singleton":"^1.1.1","@types/react":"^16.8.23","@types/react-dom":"^16.8.5","@typescript-eslint/eslint-plugin":"^1.12.0","@typescript-eslint/parser":"^1.12.0","babel-eslint":"^10.0.2","babel-plugin-istanbul":"^5.1.4","babel-preset-react-app":"^9.0.0","chai":"^4.2.0","chalk":"^2.4.2","chokidar":"^3.0.2","commitizen":"^3.0.7","conventional-changelog-cli":"^2.0.12","cross-env":"^5.2.0","cross-spawn":"^6.0.5","cz-conventional-changelog":"^2.1.0","eslint":"^5.3.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"^3.11.1","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.2","eslint-plugin-react-hooks":"^1.6.1","express":"^4.17.1","husky":"^3.0.0","istanbul":"^1.1.0-alpha.1","jsdom":"^15.1.1","lint-staged":"^9.1.0","mocha":"^5.2.0","ncp":"^2.0.0","node-sass":"^4.13.0","prettier":"^1.18.2","react":"^16.8.6","react-dom":"^16.8.6","rollup":"^1.7.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^9.2.1","rollup-plugin-dts":"^1.1.5","rollup-plugin-license":"^0.8.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-postcss":"^2.0.3","rollup-plugin-uglify":"^6.0.2","typescript":"^3.5.3"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{js,ts,tsx}":["eslint --fix","git update-index --again"],"**/*.scss":["prettier --write","git update-index --again"]},"gitHead":"1cec1ba5bdb46980f032be777f065283fa0baa01","_id":"@auraxy/aliyun-captcha@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Hu4shraTRtJfMR/rRK19e9gsAmZ8Hw2t/wyBdaSvG98iVZySLqIPjeaSBpGxrY4CNl5MKhA507JG5ntKd4r1UQ==","shasum":"9a12dff9d1a97d38753c00c756a73f9674c699b3","tarball":"https://registry.npmjs.org/@auraxy/aliyun-captcha/-/aliyun-captcha-1.0.0.tgz","fileCount":9,"unpackedSize":22214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwqL2CRA9TVsSAnZWagAANWcP/2e89iwC8eVOqJQNmFoo\n6m9BpVFL3Lq1qO7SSr8tw8f+gjN97D+97nVREHyvD6/eJYDYkTh/gxp8SecN\nXCrtiuZfUV7h6SQ24oFKEIS/vAM3slqB/8MjA5Y3wBqHSDF0ukgLcrDww3tm\nMM92eIoGVBoE9s/QuAjOHN6HluPAzugHNAwQ57JuqEQmzQ3m9al9WzIKmsm/\nNfEI5/m408wEgJTeW+czrj6G+0e1su3+2CD3A2gx7oBMazSdknuww5PRtnxi\ne/bSOWT8VXoYocWDwbI90YS/1OGxpIxrqeA2y788clqPCES3EmN8uxY7F5Sf\ngETtAYzeTDJnKCR0j3hVtyTB9toK1f5YAbdu6T4x10xIAHUauu+g7iI+pYov\nZCn6rKdjukpJxjiq1xwILQKZAEHtrGbltVLYzSn05RTWFk1mQlGWixxC+Rvu\nMK9s4eDxkMCNJRNIMQ60lXoZnXkD8GNwm+Rf6ck0kn+1zdlELuX5XZxjkclY\nk+y0C9uUU1rQPMoJQgHtXKZ+ZSq9Pat+WsymsCrVu2NlyMFrnuD6RG5nou8B\nWmF/BC7JyRS+RgkD+rOwj547+6UKnYQfxYtrOvtVsOJgPd/YnMZcf/Q7RA5s\n4b65xkxBUYvuh87ZJ29NGMTXGGlyEKxcpvkfJQt4xJU6DoxKXigb7z/ymk3X\n3byK\r\n=6QbU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk5Xn0glNs4i1tjyzpowZIkB50KGOuIKHKYwTS//Fc/AiA5D8H0RUJ9AMCwUsyiNFC9vh2WBmk7OmWl/OWCcx7U7w=="}]},"maintainers":[{"name":"auraxy","email":"liuzhiping@auraxy.com"}],"_npmUser":{"name":"auraxy","email":"liuzhiping@auraxy.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aliyun-captcha_1.0.0_1573036790419_0.9022329519394146"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-06T10:39:50.211Z","1.0.0":"2019-11-06T10:39:50.537Z","modified":"2022-04-04T16:25:08.020Z"},"maintainers":[{"name":"auraxy","email":"liuzhiping@auraxy.com"}],"description":"aliyun-captcha","keywords":["aliyun captcha"],"repository":{"type":"git","url":""},"license":"MIT","readme":"# @auraxy/aliyun-captcha\n[![NPM Version](http://img.shields.io/npm/v/@auraxy/aliyun-captcha.svg?style=flat-square)](https://www.npmjs.com/package/@auraxy/aliyun-captcha)\n[![Download Month](http://img.shields.io/npm/dm/@auraxy/aliyun-captcha.svg?style=flat-square)](https://www.npmjs.com/package/@auraxy/aliyun-captcha)\n![gzip with dependencies: kb](https://img.shields.io/badge/gzip--with--dependencies-kb-brightgreen.svg \"gzip with dependencies: kb\")\n![typescript](https://img.shields.io/badge/typescript-supported-blue.svg \"typescript\")\n![pkg.module](https://img.shields.io/badge/pkg.module-supported-blue.svg \"pkg.module\")\n\n> `pkg.module supported`, which means that you can apply tree-shaking in you project\n\n[中文文档](./README-CN.md)\n\n@auraxy/aliyun-captcha\n\n## repository\n\n\n## Demo\n\n\n## Run Example\nYour can see the usage by run the example of the module, here is the step:\n\n1. Clone the library `git clone `\n2. Go to the directory `cd your-module-directory`\n3. Install npm dependencies `npm i`(use taobao registry: `npm i --registry=http://registry.npm.taobao.org`)\n4. Open service `npm run dev`\n5. See the example(usually is `http://127.0.0.1/examples/test.html`) in your browser\n\n## Installation\n```bash\nnpm i -S @auraxy/aliyun-captcha\n```\n\n## Global name - The variable the module exported in `umd` bundle\n`AliyunCaptcha`\n\n## Interface\nSee what method or params you can use in [index.d.ts](./index.d.ts)\n\n## Usage\n```js\nimport * as AliyunCaptcha from '@auraxy/aliyun-captcha'\n```\n\nUse in html, see what your can use in [CDN: unpkg](https://unpkg.com/@auraxy/aliyun-captcha/lib/umd/)\n```html\n<-- use what you want -->\n<script src=\"https://unpkg.com/@auraxy/aliyun-captcha/lib/umd/<--module-->.js\"></script>\n```\n\n## style\nFor building style, you may need to import the css or scss file:\n```js\n// scss\nimport 'node_modules/@auraxy/aliyun-captcha/lib/css/index.scss'\n\n// css\nimport 'node_modules/@auraxy/aliyun-captcha/lib/css/index.css'\n```\nOr\n```scss\n// scss\n@import 'node_modules/@auraxy/aliyun-captcha/lib/css/index.scss'\n\n// css\n@import 'node_modules/@auraxy/aliyun-captcha/lib/css/index.css'\n```\n\nOr, you can build your custom style by copying, editing and importing `node_modules/@auraxy/aliyun-captcha/lib/css/index.scss`\n\n## QA\n\n1. Error `Error: spawn node-sass ENOENT`\n\n> You may need install node-sass globally, `npm i -g node-sass`\n","readmeFilename":"README.md"}