GithubHelp home page GithubHelp logo

runrunmeme / cooking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elemefe/cooking

0.0 0.0 0.0 2.28 MB

👨‍🍳 更易上手的前端构建工具

Home Page: http://elemefe.github.io/cooking/

License: MIT License

Makefile 1.04% JavaScript 98.86% Shell 0.10%

cooking's Introduction

cooking

A front-end build tool that comes handy

Build Status Coverage Status npm npm Gitter

Links

Discussion

Hit Gitter if you come across any problem while using cooking. Issues are only for bug reports and feature requests.

Features

  • Simplified webpack configuring with humanistic parameters
  • Use cooking CLI to efficiently scaffold projects without installing dependencies repeatedly (based on webpack 2)
  • Compatible with both webpack 1 and 2 with just one set of configuration
  • Generated configuration fully compatible with webpack CLI

Installation

runtime environment

  • Node.js 4+
  • npm 3+
  • Python 2.7.x

Using cooking CLI

npm i cooking-cli -g

Step 1. create a vue-based project (vue scaffold will be downloaded automatically if not installed)

$ cooking create my-project vue
$ cd my-project

Step 2. start developing

$ cooking watch

Using cooking core

npm i cooking -D

# install webpack dependencies (take webpack 1 for example)
npm i babel-core babel-loader css-loader file-loader postcss postcss-loader\
 html-loader html-webpack-plugin json-loader style-loader url-loader\
 webpack@1 webpack-dev-server@1 extract-text-webpack-plugin@1 -D

# or install webpack dependencies (take webpack 2)
npm i babel-core babel-loader css-loader file-loader postcss postcss-loader\
 html-loader html-webpack-plugin json-loader style-loader url-loader\
 webpack webpack-dev-server [email protected] -D

# start developing
node_modules/.bin/cooking watch # or webpack --config cooking.conf.js

# if cooking-cli is globally installed, you can also do this (it still runs your local cooking)
cooking watch

License

MIT

cooking's People

Contributors

furybean avatar hsunboy avatar leopoldthecoder avatar nyaapass avatar qingwei-li avatar tiye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.