{"_id":"@01-monorepo-startup/first_package_published","name":"@01-monorepo-startup/first_package_published","dist-tags":{"latest":"2.0.7"},"versions":{"2.0.7":{"name":"@01-monorepo-startup/first_package_published","version":"2.0.7","description":"first_package_published.","author":{"name":"lsy"},"license":"MIT","exports":{".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"types":"./dist/cjs/index.d.ts","main":"./dist/cjs/index.js","module":"./dist/mjs/index.js","keywords":["rarity","nft","web3","nonfungibletoken","crypto","algorithm","nftgo","nodejs","javascript"],"homepage":"https://github.com/lyszxm/first_package_published#readme","repository":{"type":"git","url":"git+https://github.com/lyszxm/first_package_published.git"},"bugs":{"url":"https://github.com/lyszxm/first_package_published/issues"},"engines":{"node":">=16.16.0"},"packageManager":"pnpm@8.15.4","devDependencies":{"@types/jest":"^29.4.0","@types/node":"^18.14.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.0","jest":"29.4.0","onchange":"^7.1.0","prettier":"^2.8.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"4.9.5","standard-version":"^9.5.0","rimraf":"^5.0.5"},"scripts":{"test":"node -v","lint":"eslint ./ --max-warnings=0 --ext .ts","lint-fix":"eslint ./ --max-warnings=0 --ext .ts --fix","format":"prettier --config .prettierrc . --write","format-watch":"onchange -- prettier . --write {{changed}}","clean":"rimraf ./dist ./tsconfig.tsbuildinfo","compile":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh","build":"pnpm run clean && pnpm run compile","output":"tsc -p tsconfig.json","tag-push":"git push --follow-tags origin master","tagPush":"git push origin --tags","release:dry":"standard-version --release-as patch --dry-run","release":"standard-version --release-as patch"},"_id":"@01-monorepo-startup/first_package_published@2.0.7","_integrity":"sha512-ENHRfcPLQ7S6dRYtaU/qZG5ZMKrQy8KwlMLnSQQq6tiYFD6pudZPetb6iNtB13XELW6vmG28k/wCKsF36OHYzw==","_resolved":"/tmp/4273eb3425fe445eafc6a2646923a83b/01-monorepo-startup-first_package_published-2.0.7.tgz","_from":"file:01-monorepo-startup-first_package_published-2.0.7.tgz","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ENHRfcPLQ7S6dRYtaU/qZG5ZMKrQy8KwlMLnSQQq6tiYFD6pudZPetb6iNtB13XELW6vmG28k/wCKsF36OHYzw==","shasum":"12108fba9d78912b958663003b3c388ee0c23baa","tarball":"https://registry.npmjs.org/@01-monorepo-startup/first_package_published/-/first_package_published-2.0.7.tgz","fileCount":19,"unpackedSize":64045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANMLLfbzL7ZJSMNqHkXt1waJB9knInl/JeELycpWjRUAiEA5V4o5jVkYaopAcKok38v3aNqQ/Rg1zDUZ3/6dN7g778="}]},"_npmUser":{"name":"lyszxm","email":"1774795243@qq.com"},"directories":{},"maintainers":[{"name":"lyszxm","email":"1774795243@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/first_package_published_2.0.7_1710065130482_0.492987940146945"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-10T10:05:30.361Z","2.0.7":"2024-03-10T10:05:30.668Z","modified":"2024-03-10T10:05:31.554Z"},"maintainers":[{"name":"lyszxm","email":"1774795243@qq.com"}],"description":"first_package_published.","homepage":"https://github.com/lyszxm/first_package_published#readme","keywords":["rarity","nft","web3","nonfungibletoken","crypto","algorithm","nftgo","nodejs","javascript"],"repository":{"type":"git","url":"git+https://github.com/lyszxm/first_package_published.git"},"author":{"name":"lsy"},"bugs":{"url":"https://github.com/lyszxm/first_package_published/issues"},"license":"MIT","readme":"- `\"exports\"`：该字段定义了模块的导出方式。在这个例子中，模块的根目录被指定为默认导出（`\".\"`），并且使用不同的导入和导出路径来支持不同的模块系统。`\"import\"` 字段定义了 ES 模块的导入路径，`\"types\"` 表示类型声明文件的路径，`\"default\"` 表示默认导出的路径。类似地，`\"require\"` 字段定义了 CommonJS 模块的导入路径。\n- `\"types\"`：这个字段指定了类型声明文件（TypeScript 类型定义文件）的路径。在这个例子中，类型声明文件位于 `./dist/cjs/index.d.ts`。\n- `\"main\"`：该字段指定了模块的主入口文件（CommonJS 模块）。在这个例子中，主入口文件为 `./dist/cjs/index.js`。\n- `\"module\"`：这个字段指定了模块的 ES 模块入口文件。在这个例子中，ES 模块入口文件为 `./dist/mjs/index.js`。\n- `\"files\"`：该字段列出了要包含在发布的 npm 包中的文件或目录。在这个例子中，只有 `dist` 目录会被包含在发布的包中。\n\n通过这些配置，其他开发者可以根据不同的模块系统（ES 模块或 CommonJS）使用您的模块，并且可以正确地导入类型声明文件。\n","readmeFilename":"README.md"}