login

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

Offline jackielove4u

  • Administrator
  • Sr. Member
  • *****
  • Posts: 485
  • 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 install
npm pack
cp groestlcoinjs-lib-4.0.5.tgz /root/
cd\
npm i groestlcoinjs-lib-4.0.5.tgz
npm -g install browserify uglify-es uglifyjs
browserify -r groestlcoinjs-lib -s groestlcoin > groestlcoinjs.js
uglifyjs groestlcoinjs.js > groestlcoinjs.min.js
« Last Edit: January 07, 2020, 03:56:34 pm by jackielove4u »

 

anything