gaearon/library-boilerplate
Tentang
An opinionated boilerplate for React libraries including ESLint, Mocha, Babel, Webpack and an example powered by Webpack Dev Server and React Hot Loader
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslilibrary-boilerplate
An opinionated setup I plan to use for my libraries.
It has CommonJS and UMD builds via Babel and Webpack, ESLint, and Mocha.
It also has React-friendly examples folder with library code mapped to the sources.
If you use this, make sure to grep for “library-boilerplate” and replace every occurrence.
See package.json in the root and the example folder for the list of the available commands.
Note that this is an opinionated boilerplate. You might want to:
- Set
stageto2in.babelrcso you don’t depend on language features that might be gone tomorrow; - Remove
loose: ["all"]from.babelrcso the behavior is spec-compliant.
You have been warned.
Jelajahi proyek terkait
Memuat…