Skip to content

A Rollup CLI for create template with developing plugins

License

Notifications You must be signed in to change notification settings

ArthurYung/plugin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin-CLI NPM version NPM Downloads

A Rollup CLI for create template with developing plugins.

  • TypeScirpt/Babel 7.0
  • TS-lint/ES-lint
  • server-hot
  • postcss
  • ?jest

Installation

Aaron Swartz

$ npm install plugin-cli -g

or

$ yarn global add plugin-cli

Creating an project

Create

You can select preset which you need. and replace '-' in project name with Camel-Case when it exists.

$ plugin apps

Aaron Swartz

It will create a directory called apps inside the current folder.
and generate the initial project structure.

apps
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── build
│   ├── name.js 
│   ├── plugins.js 
│   ├── config.base.js 
│   ├── config.build.js 
│   └── config.env.js
├── public
│   ├── favicon.ico
│   └── index.html
└── src
    └── index.js

npm start or yarn start

serve with hot reload at localhost:10001

npm run build or yarn build

build your project with minification.

npm test or yarn test

Runs the jest test runner on your tests.

License

MIT

About

A Rollup CLI for create template with developing plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published