Generator for me.
npm i -g generator-nju33
Libraries and es-modules.
- rollup (svelte|vue|babel[-preset-env])
- iife
- umd
- es
- xo
- ava
- browser-sync
yo nju33:npm <name> <module-name> <-m[inimum]>
- [required]
name
This package name - [required]
module-name
This module name
- [optional]
minimum
orm
Whether it is the minimum env
- Copy a set of files
- Install with
yarn
- Run
git init
Helpers and plugins.
yo nju33:petty <name> <module-name>
- [required]
name
This package name - [required]
module-name
This module name
- Copy a set of files
- Install with
yarn
- Run
git init
- babel-preset-env
- babel-plugin-transform-class-properties
- babel-plugin-transform-decorators-legacy
- babel-plugin-transform-object-rest-spread
When typing y
, install the following.
- babel-plugin-transform-runtime
- babel-plugin-external-helpers
If not, the following
- babel-plugin-add-module-exports
yo nju33:babel
? Compile further after converting with Babel? (Y/n): _
- Look for
package.json
and create.babelrc
in the same directory or edit already.babelrc
- Install plugins with
yarn
yo nju33:bookmarklet <project-name>
The MIT License (MIT)
Copyright (c) 2017 nju33 nju33.ki@gmail.com