Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdowns committed Apr 9, 2021
1 parent 804a0ec commit 945f139
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wardenfinance/currency",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"description": "JavaScript library for dealing with different currencies.",
"main": "dist/index.js",
Expand Down
13 changes: 8 additions & 5 deletions scripts/postbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ const pkg = require('../package.json');
const basePath = resolve(__dirname, '../');
const distPath = resolve(__dirname, '../dist');

if (existsSync(join(basePath, '.npmrc'))) {
copyFileSync(join(basePath, '.npmrc'), join(distPath, '.npmrc'));
}

writeFileSync(join(distPath, 'package.json'), JSON.stringify({
name: pkg.name,
version: pkg.version,
Expand All @@ -19,4 +15,11 @@ writeFileSync(join(distPath, 'package.json'), JSON.stringify({
license: pkg.license,
bugs: pkg.bugs,
homepage: pkg.homepage
}, null, 4));
}, null, 4));

copyFileSync(join(basePath, 'README.md'), join(distPath, 'README.md'));
copyFileSync(join(basePath, 'LICENSE'), join(distPath, 'LICENSE'));

if (existsSync(join(basePath, '.npmrc'))) {
copyFileSync(join(basePath, '.npmrc'), join(distPath, '.npmrc'));
}
4 changes: 2 additions & 2 deletions src/types/CryptoCurrencies.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enum Cryptocurrencies {
enum CryptoCurrencies {
ADA,
ALGO,
ATOM,
Expand All @@ -19,4 +19,4 @@ enum Cryptocurrencies {
XRP
}

export default Cryptocurrencies;
export default CryptoCurrencies;

0 comments on commit 945f139

Please # to comment.