0.3.0 • Published 1 year ago
@theuiteam/lib-builder v0.3.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
0.3.0
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.0
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago