Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sorting-javascript",
"version": "1.0.1",
"version": "1.0.2",
"description": "Sorting algorithms implemented in JS",
"repository": "neeleshroy/sorting-js",
"author": "Neelesh Roy",
Expand Down Expand Up @@ -57,6 +57,7 @@
"coveralls": "cat ./coverage/lcov.info | coveralls",
"build": "node tools/build",
"prepublish": "npm run build",
"publish": "npm run build && npm publish dist",
"publish:docs": "easystatic deploy docs --repo neeleshroy/sorting-js",
"start": "easystatic start docs"
}
Expand Down
1 change: 1 addition & 0 deletions tools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ promise = promise.then(() => {
delete pkg.babel;
fs.writeFileSync('dist/package.json', JSON.stringify(pkg, null, ' '), 'utf-8');
fs.writeFileSync('dist/LICENSE.txt', fs.readFileSync('LICENSE.txt', 'utf-8'), 'utf-8');
fs.writeFileSync('dist/README.md', fs.readFileSync('README.md', 'utf-8'), 'utf-8');
});

promise.catch(err => console.error(err.stack)); // eslint-disable-line no-console