{"_id":"@digitalc/find-nudges-rect","_rev":"4-7b2e21ff8b1aed617fb6df9ed45fd1cd","name":"@digitalc/find-nudges-rect","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@digitalc/find-nudges-rect","version":"0.0.1","author":{"name":"markyun"},"license":"MIT","_id":"@digitalc/find-nudges-rect@0.0.1","maintainers":[{"name":"markyun","email":"mygood@126.com"},{"name":"liu.feihang","email":"1500529741@qq.com"},{"name":"shi.tianxin","email":"stx0320@163.com"},{"name":"wei.chenyu","email":"894295845@qq.com"},{"name":"fengyebb","email":"fengyebb@zohomail.com"}],"homepage":"https://github.com/markyun/find-nudges-rect#readme","bugs":{"url":"https://github.com/markyun/find-nudges-rect/issues"},"dist":{"shasum":"ab3eee6a213f777aa12aa3ba919e3baa2fdfdcd3","tarball":"https://registry.npmjs.org/@digitalc/find-nudges-rect/-/find-nudges-rect-0.0.1.tgz","fileCount":14,"integrity":"sha512-QJWCZZJlqsvlib6LMilbRsrNsvzi3AvIHzR18+YSvCu03YSsEunOqt927/dCUVIX5SDSExAeWGXIObSGQkhRIg==","signatures":[{"sig":"MEUCIQDaXq2tgp8wHetQ/Ckei5wmD4HXpGzjuCL0gznTOhXlWQIgSLeYaUISCohtAiHxFPlRkRQQqVAqJPIUtb1q+XmAP58=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":463953},"main":"dist/index.js","types":"./types/index.d.ts","config":{"commitizen":{"path":"@commitlint/cz-commitlint"}},"module":"dist/index.esm.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{"node":{"import":"./dist/index.mjs","default":"./dist/index.js"},"default":{"import":"./dist/index.mjs","default":"./dist/index.js"}},"scripts":{"ci":"commit","cz":"git-cz","lint":"eslint -c .eslintrc.cjs 'src/**/*.ts'","test":"nyc mocha","build":"npm run clean && npm run build:self && npm run build:esm && npm run build:aio","clean":"rimraf ./dist ./types","start":"http-server -p 3000 -c-1","prepare":"husky install","release":"npm test && npm run build && git commit -am \"build: $npm_package_version\" && git tag $npm_package_version && git push && git push --tags","lint:fix":"eslint --fix -c .eslintrc.cjs 'src/**/*.ts' --fix","build:aio":"rollup -c config/rollup.config.aio.cjs","build:esm":"rollup -c config/rollup.config.esm.cjs","coveralls":"nyc report --reporter=text-lcov | coveralls","build:self":"rollup -c config/rollup.config.cjs","preinstall":"npx only-allow npm"},"_npmUser":{"name":"markyun","email":"mygood@126.com"},"repository":{"url":"git://github.com/markyun/find-nudges-rect.git","type":"git"},"_npmVersion":"10.9.0","description":"Get Nudges Component Info","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"zod":"^3.24.1","@babel/runtime-corejs3":"^7.26.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","husky":"^8.0.3","mocha":"^10.2.0","tslib":"^2.8.1","eslint":"^8.57.1","rimraf":"^5.0.10","rollup":"^4.30.0","ts-node":"^10.9.2","es5-shim":"^4.6.7","prettier":"3.4.2","coveralls":"^3.1.1","cross-env":"^7.0.3","expect.js":"^0.3.1","commitizen":"^4.3.1","typescript":"^5.7.2","@js-lib/cli":"^3.0.0-alpha.0","http-server":"^14.1.1","lint-staged":"^15.3.0","@jsmini/extend":"^0.5.0","@commitlint/cli":"^18.6.1","@babel/preset-env":"^7.26.0","@commitlint/format":"^18.6.1","source-map-support":"^0.5.21","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"^2.31.0","@rollup/plugin-terser":"^0.4.4","babel-plugin-istanbul":"^7.0.0","@commitlint/prompt-cli":"^18.6.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^28.0.2","@commitlint/cz-commitlint":"^18.6.1","@typescript-eslint/parser":"^8.19.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.0","@babel/plugin-transform-runtime":"^7.25.9","@commitlint/config-conventional":"^18.6.3","@typescript-eslint/eslint-plugin":"^8.19.0"},"_npmOperationalInternal":{"tmp":"tmp/find-nudges-rect_0.0.1_1736305798265_0.05493562971772592","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-01-08T03:09:58.195Z","modified":"2025-04-25T09:11:57.357Z","0.0.1":"2025-01-08T03:09:58.469Z"},"bugs":{"url":"https://github.com/markyun/find-nudges-rect/issues"},"author":{"name":"markyun"},"license":"MIT","homepage":"https://github.com/markyun/find-nudges-rect#readme","repository":{"url":"git://github.com/markyun/find-nudges-rect.git","type":"git"},"description":"Get Nudges Component Info","maintainers":[],"readme":"# [find-nudges-rect](https://github.com/markyun/find-nudges-rect)\n[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/markyun/find-nudges-rect/blob/master/LICENSE)\n[![CI](https://github.com/markyun/find-nudges-rect/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/markyun/find-nudges-rect/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/badge/npm-0.1.0-orange.svg)](https://www.npmjs.com/package/find-nudges-rect)\n[![NPM downloads](http://img.shields.io/npm/dm/find-nudges-rect.svg?style=flat-square)](http://www.npmtrends.com/find-nudges-rect)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/markyun/find-nudges-rect.svg)](http://isitmaintained.com/project/markyun/find-nudges-rect \"Percentage of issues still open\")\n\n最好用的 `JS|TS` 第三方库脚手架\n\n## :star: 特性\n\n- 支持ES6+或TypeScript编写源码，编译生成生产代码\n- 多环境支持（支持浏览器原生，支持AMD，CMD，支持Webpack，Rollup，fis等，支持Node）\n- 集成[jsmini](https://github.com/jsmini)\n\n> 注意: 如果不同时使用 `export` 与 `export default` 可打开 `legacy模式`，`legacy模式` 下的模块系统可以兼容 `ie6-8`，见rollup配置文件\n\n## :pill: 兼容性\n单元测试保证支持如下环境：\n\n| IE   | CH   | FF   | SF   | OP   | IOS  | Android   | Node  |\n| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ----- |\n| 11+   | 100+ | 100+  | 16+   | 100+  | 10.3+   | 4.1+   | 14+ |\n\n**注意：编译代码依赖ES5环境，对于ie6-8需要引入[es5-shim](http://github.com/es-shims/es5-shim/)才可以兼容，可以查看[demo/demo-global.html](./demo/demo-global.html)中的例子**\n\n## :open_file_folder: 目录介绍\n\n```\n.\n├── demo 使用demo\n├── dist 编译产出代码\n├── doc 项目文档\n├── src 源代码目录\n├── test 单元测试\n├── CHANGELOG.md 变更日志\n└── TODO.md 计划功能\n```\n\n## :rocket: 使用者指南\n\n通过npm下载安装代码\n\n```bash\n$ npm install --save find-nudges-rect\n```\n\n如果你是node环境\n\n```js\nconst find-nudges-rect = require('find-nudges-rect');\n```\n\n如果你是webpack等环境\n\n```js\nimport find-nudges-rect from 'find-nudges-rect';\n```\n\n如果你是浏览器环境\n\n```html\n<script src=\"node_modules/find-nudges-rect/dist/index.aio.js\"></script>\n```\n\n## :bookmark_tabs: 文档\n[API](./doc/api.md)\n\n## :kissing_heart: 贡献者指南\n首次运行需要先安装依赖\n\n```bash\n$ npm install\n```\n\n一键打包生成生产代码\n\n```bash\n$ npm run build\n```\n\n运行单元测试:\n\n```bash\n$ npm test\n```\n\n> 注意：浏览器环境需要手动测试，位于`test/browser`\n\n修改 package.json 中的版本号，修改 README.md 中的版本号，修改 CHANGELOG.md，然后发布新版\n\n```bash\n$ npm run release\n```\n\n将新版本发布到npm\n\n```bash\n$ npm publish\n```\n\n## 贡献者列表\n\n[contributors](https://github.com/markyun/find-nudges-rect/graphs/contributors)\n\n## :gear: 更新日志\n[CHANGELOG.md](./CHANGELOG.md)\n\n## :airplane: 计划列表\n[TODO.md](./TODO.md)\n","readmeFilename":"README.zh.md"}