Skip to content

Building extension

Maciej Pilarczyk edited this page Jan 10, 2019 · 4 revisions

Building extension

Download project

git clone
cd ads-browser-wallet

Install Node.js and npm.

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs

Install dependencies

npm install

Build distribution files

npm run build

Files will be saved in ads-browser-wallet/build directory.

Plugin was built successfully using:

  • Node.js v8.11.3
  • npm v6.2.0

Packing extension using chrome

Open chrome://extensions/ and click Pack Extension button.

Alternatively use command line

google-chrome --pack-extension=./build/

As a result dist.crx file should be generated.

If You have pem key, You should use it while packing next version of extension. Command line call takes key as --pack-extension-key parameter.