TODO: Update those ^
Chrome client for my todo list (Learn more at https://github.com/pranaygp/ls-it)
# clone it
$ git clone https://github.com/pgpraka2/ls-it-Chrome-Client.git
# Install dependencies
$ yarn
# or
$ npm install
# I think I also had to do
$ npm install --dev- Run script
# build files to './dev'
# start webpack development server
$ npm run dev- If you're developing Inject page, please allow
https://localhost:3000connections. (Becauseinjectpageinjected GitHub (https) pages, so webpack server procotol must be https.) - Load unpacked extensions with
./devfolder.
This project uses Webpack and react-transform, and use Redux. You can hot reload by editing related files of Popup & Window & Inject page.
You can use redux-devtools-extension on development mode.
# build files to './build'
$ npm run build# compress build folder to {manifest.name}.zip and crx
$ npm run build
$ npm run compress -- [options]If you want to build crx file (auto update), please provide options, and add update.xml file url in [manifest.json](https://developer.chrome.com/extensions/autoupdate#update_url manifest.json).
- --app-id: your extension id (can be get it when you first release extension)
- --key: your private key path (default: './key.pem')
you can usenpm run compress-keygento generate private key./key.pem - --codebase: your
crxfile url
See autoupdate guide for more information.
test/app: React components, Redux actions & reducers tests- UNIMPLEMENTED
test/e2e: E2E tests (use chromedriver, selenium-webdriver)
# lint
$ npm run lint
# test/app
$ npm test
$ npm test -- --watch # watch files
# test/e2e unimplemented
$ npm run build
$ npm run test-e2e