1.2.1 • Published 7 years ago

plugin-cli v1.2.1

Weekly downloads
19
License
MIT
Repository
github
Last release
7 years ago

plugin-cli

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

1.2.1

7 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago