1.0.0 • Published 6 months ago
@theuiteam/lib-builder v1.0.0
uiteam / lib-builder
Opinionated toolbox boilerplate to create Typescript React components, based on ts-react-toolbox
Install
yarn add --dev @theuiteam/lib-builder
Setup
After you have installed it, run this from the root of your package:
$ node_modules/.bin/lib-builder init
That will add all the boilerplate and scripts to your project
Contains
- Typescript ✅
- React + ReactDom ✅
- Webpack + WebpackDevServer ✅
- Jest ✅
- Travis config ✅
- TSLint ✅
- Prettier ✅
- ES5 support ✅
- ES2015 support ✅
- Git hooks ✅
- Bundle size analyzer ✅
Folder structure
__tests__
example
src
Commands
- init: Initializes project
- test: jest + watch mode
- build: Typescript build
docz:dev Dev mode
release: build + run tests + version bump + publish to registry
- static: deploys example to github pages
- lint: tslint
- format: prettier
- analyze: webpack-bundle-analyzer
Entry points
- package.json
"main": "dist/es5/index.js",
"jsnext:main": "dist/es2015/index.js",
"module": "dist/es2015/index.js",
"types": "dist/es5/index.d.ts"
Inspired by
Dan Abramov - The Melting Pot of JavaScript : https://www.youtube.com/watch?v=G39lKaONAlA
1.0.0
6 months ago
0.3.0
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago