login

Author Topic: How to compile standalone groestlcoinjs-lib and minimized file  (Read 299 times)

Offline jackielove4u

  • Administrator
  • Sr. Member
  • *****
  • Posts: 378
  • Groestlcoin
    • View Profile
How to compile standalone groestlcoinjs-lib and minimized file
« on: November 08, 2018, 04:24:51 pm »
git clone https://github.com/Groestlcoin/groestlcoinjs-lib
cd groestlcoinjs-lib
npm pack
cp groestlcoinjs-lib-4.0.3.tgz /root/
cd\
npm i groestlcoinjs-lib-4.0.3.tgz
npm -g install browserify uglify-es uglifyjs
browserify -r groestlcoinjs-lib -s groestlcoin > groestlcoinjs.js
uglifyjs groestlcoinjs.js > groestlcoinjs.min.js
« Last Edit: May 21, 2019, 08:29:04 pm by jackielove4u »