Skip to content

Commit

Permalink
update build script, main and bin files point to min versions of the …
Browse files Browse the repository at this point in the history
…files, and a lil work on the test app
  • Loading branch information
akdombrowski committed Nov 16, 2023
1 parent ddec0e5 commit 1f20c77
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/index.min.js

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

2 changes: 1 addition & 1 deletion cli_lib/index.min.js

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

2 changes: 1 addition & 1 deletion lib/index.min.js

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

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
"bugs": {
"url": "https://github.com/akdombrowski/jwt-authn/issues"
},
"main": "./lib/index.js",
"main": "./lib/index.min.js",
"bin": {
"jwt": "./cli_lib/index.js"
"jwt": "./cli_lib/index.min.js"
},
"files": [
"./src/index.min.js",
"./cli_lib/index.min.js",
"./lib/index.min.js"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run babelify",
"build": "npm run babelify && tersify",
"test": "cross-env NODE_ENV=test npm run nycest",
"nycest": "nyc mocha test",
"mocha": "mocha test",
Expand Down
Loading

0 comments on commit 1f20c77

Please sign in to comment.