JSPM

regexp-replace

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q34005F
  • License MIT

regexp-replace

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,esm and .d.ts

scripts

执行 npm run init:rename

作用为替换 package.json 中默认包含的所有名称为 npm-lib-template 的字段

默认替换为新建代码仓库的文件夹名称!