Code Monkey home page Code Monkey logo

chrome-extensions-template's Introduction

chrome-extensions-template

chrome extensions 脚手架,使用 webpack + typescript

特性

  • webpack 支持 typescript 和 css
  • 通过脚本自动将 package.json 中的 name、description、version 字段同步到 extensions/manifest.json 中,方便代码维护

指令

  • manifest:sync: 将 packageJson 中的模块名、描述、版本号等信息同步到 extensions/manifest.json
  • dev: 启动本地服务器
  • build: 打包并对模块进行打包压缩,在根目录输出扩展压缩包

本地开发步骤

  1. 在 chrome 中输入 chrome://extensions/ 进入扩展管理界面
  2. 切换扩展管理界面右上角的“开发者模式”开关为开启状态
  3. 选择扩展管理界面左上角的“加载已解压的扩展程序”,选取 extensions 文件夹,即可加载此扩展

chrome-extensions-template's People

Contributors

runtu4378 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

duanjiuzhou

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.