Skip to content

Commit

Permalink
Merge pull request #4 from m-lab/sandbox-cristinaleon-publish
Browse files Browse the repository at this point in the history
Ignore minified files
  • Loading branch information
cristinaleonr authored Aug 8, 2024
2 parents 3bedf58 + 9e09d49 commit 7a85ad0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
src/*.min.js
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@m-lab/packet-test",
"version": "0.0.2",
"version": "0.0.6",
"description": "",
"main": "src/pt.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"minify": "minify src/pt.js | sed -e 's/load-worker.js/load-worker.min.js/g' > src/pt.min.js && minify src/pt-download-worker.js > src/pt-download-worker.min.js"
"postinstall": "minify src/pt.js | sed -e 's/load-worker.js/load-worker.min.js/g' > src/pt.min.js && minify src/pt-download-worker.js > src/pt-download-worker.min.js"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion src/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
const pt = (function() {
const staticMetadata = {
'client_library_name': 'pt-js',
'client_library_version': '0.0.2',
'client_library_version': '0.0.6',
};
// cb creates a default-empty callback function, allowing library users to
// only need to specify callback functions for the events they care about.
Expand Down

0 comments on commit 7a85ad0

Please sign in to comment.