Package Exports
- regexp-replace
- regexp-replace/dist/index.es.js
- regexp-replace/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regexp-replace) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
npm-lib-template
本人用于编写的一个 npm 包的一个模板
- 使用
tsc或者rollup打包 - 使用
jest设置作为单元测试 - 使用
eslint来规范代码风格,默认风格为standard - 输出
dist->cjs,esmand.d.ts
scripts
执行 npm run init:rename
作用为替换 package.json 中默认包含的所有名称为 npm-lib-template 的字段
默认替换为新建代码仓库的文件夹名称!