{"id":13671358,"url":"https://github.com/ElemeFE/cooking","last_synced_at":"2025-04-27T18:31:05.738Z","repository":{"id":57207051,"uuid":"53587175","full_name":"ElemeFE/cooking","owner":"ElemeFE","description":"👨‍🍳 更易上手的前端构建工具","archived":true,"fork":false,"pushed_at":"2017-11-14T01:28:22.000Z","size":2333,"stargazers_count":1937,"open_issues_count":27,"forks_count":288,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-02-28T06:15:28.168Z","etag":null,"topics":["build","cooking","react","vue","webpack"],"latest_commit_sha":null,"homepage":"http://elemefe.github.io/cooking/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElemeFE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING_en-us.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-10T13:39:20.000Z","updated_at":"2025-02-20T13:30:31.000Z","dependencies_parsed_at":"2022-09-11T05:30:26.135Z","dependency_job_id":null,"html_url":"https://github.com/ElemeFE/cooking","commit_stats":null,"previous_names":[],"tags_count":107,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fcooking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fcooking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fcooking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fcooking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElemeFE","download_url":"https://codeload.github.com/ElemeFE/cooking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251187041,"owners_count":21549576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","cooking","react","vue","webpack"],"created_at":"2024-08-02T09:01:07.358Z","updated_at":"2025-04-27T18:31:05.451Z","avatar_url":"https://github.com/ElemeFE.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\u003ca href=\"http://elemefe.github.io/cooking/\" target=\"_blank\"\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/7565692/19318700/4f595bec-90dc-11e6-9911-c9ca322e5bf8.png\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003ch3 align=\"center\"\u003ecooking\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  A front-end build tool that comes handy\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://travis-ci.org/ElemeFE/cooking\"\u003e\u003cimg src=\"https://travis-ci.org/ElemeFE/cooking.svg?branch=master\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href='https://coveralls.io/github/ElemeFE/cooking?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/ElemeFE/cooking/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/cooking\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/cooking.svg?maxAge=2592000\" alt=\"npm\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/cooking\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/cooking.svg?maxAge=6000\" alt=\"npm\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://gitter.im/QingWei-Li/cooking?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link\"\u003e\u003cimg src=\"https://img.shields.io/gitter/room/QingWei-Li/cooking.svg?maxAge=2592000\" alt=\"Gitter\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Links\n- [中文版 README](https://github.com/ElemeFE/cooking/blob/master/README_zh-cn.md)\n- [Documentation](http://cookingjs.github.io)\n- [Demo](https://github.com/cooking-demo)\n- [教程: 用 cooking 搭建一个简单又优雅的 Vue 项目开发环境 (入门篇)](https://zhuanlan.zhihu.com/p/22387692)\n- [教程: 用 cooking 搭建一个多页面易配置的 Vue 2 项目（进阶篇）](https://zhuanlan.zhihu.com/p/22610408)\n\n## Discussion\nHit [Gitter](https://gitter.im/QingWei-Li/cooking?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link) if you come across any problem while using cooking. Issues are only for bug reports and feature requests.\n\n## Features\n- Simplified webpack configuring with humanistic parameters\n- Use cooking CLI to efficiently scaffold projects without installing dependencies repeatedly (based on webpack 2)\n- Compatible with both webpack 1 and 2 with just one set of configuration\n- Generated configuration fully compatible with webpack CLI\n\n## Installation\n\nruntime environment\n- Node.js 4+\n- npm 3+\n- Python 2.7.x\n\n\n### Using cooking CLI\n```shell\nnpm i cooking-cli -g\n```\n\nStep 1. create a vue-based project (vue scaffold will be downloaded automatically if not installed)\n```shell\n$ cooking create my-project vue\n$ cd my-project\n```\n\nStep 2. start developing\n```shell\n$ cooking watch\n```\n\n### Using cooking core\n```shell\nnpm i cooking -D\n\n# install webpack dependencies (take webpack 1 for example)\nnpm i babel-core babel-loader css-loader file-loader postcss postcss-loader\\\n html-loader html-webpack-plugin json-loader style-loader url-loader\\\n webpack@1 webpack-dev-server@1 extract-text-webpack-plugin@1 -D\n\n# or install webpack dependencies (take webpack 2)\nnpm i babel-core babel-loader css-loader file-loader postcss postcss-loader\\\n html-loader html-webpack-plugin json-loader style-loader url-loader\\\n webpack webpack-dev-server extract-text-webpack-plugin@2.0.0-beta.4 -D\n\n# start developing\nnode_modules/.bin/cooking watch # or webpack --config cooking.conf.js\n\n# if cooking-cli is globally installed, you can also do this (it still runs your local cooking)\ncooking watch\n```\n\n# License\n[MIT](https://github.com/ElemeFE/cooking/LICENSE)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Fcooking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FElemeFE%2Fcooking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Fcooking/lists"}