1 | /**
|
2 | * @license
|
3 | * https://github.com/bitcoincashjs/bchaddr
|
4 | * Copyright (c) 2018-2019 Emilio Almansi
|
5 | * Distributed under the MIT software license, see the accompanying
|
6 | * file LICENSE or http://www.opensource.org/licenses/mit-license.php.
|
7 | */
|
8 |
|
9 | var shell = require('shelljs')
|
10 | shell.config.fatal = true
|
11 |
|
12 | shell.exec('rm -rf dist')
|
13 | shell.exec('npm run build')
|
14 | shell.exec('git add -A dist')
|
15 | shell.exec('npx mustache package.json README.tpl.md', { silent: true }).to('README.md')
|
16 | shell.exec('git add -A README.md')
|