Skip to content

Enchantments for Todoist This extension is going to level up your productivity, by providing some extra features for https://todoist.com/ website

Notifications You must be signed in to change notification settings

ntorbinskiy/Enchantments-for-Todoist

Repository files navigation

Chrome extension boilerplate with typescript and webpack

This is the version of the getting started with typescript and webpack applied.

You should change...
json files in /public/_locales/ ( reference: https://developer.chrome.com/docs/webstore/i18n/ )
png files in /public/icons/ ( with the icon that you use )
/public/manifest.json

{
    ...
    "default_locale": "en",
    "version": "0.1.0",
    ...
}

/package.json

{
    "name": "typescript-chrome-extension-webpack-boilerplate",
    "version": "0.1.0",
    "description": "typescript-chrome-extension-webpack-boilerplate",
    "repository": "https://github.com/LimHaksu/",
    "author": "Lim Haksu",
    ...
}

You should replace the image /src/assets/black-cat.png with the images that you use.

You should NOT change...

/public/popup.html

...
<script src="js/popup.js"></script>
...

/public/options.html

...
<script src="js/options.js"></script>
...

js/popup.js and js/options.js are the entry point of the build files

Usage

Install

yarn
npm install

Development

yarn watch
npm run watch

and load the /dist folder to the chrome browser

Build

yarn build
npm run build

and zip the /dist folder

Remove /dist folder

yarn clean
npm run clean

Absolute Path

You can import modules by absolute path by setting the root path to /src.

ex )

/src/components/Modal/index.ts

export default function Modal() {}

/src/pages/Main.ts

import Modal from "components/Modal";

About

Enchantments for Todoist This extension is going to level up your productivity, by providing some extra features for https://todoist.com/ website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published