Skip to content

Commit

Permalink
fix(build): produce non-minified output for module
Browse files Browse the repository at this point in the history
fixes #173
  • Loading branch information
mirceanis committed Jun 1, 2021
1 parent c7aa773 commit cd4edd2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "did-jwt",
"version": "5.5.0",
"description": "Library for Signing and Verifying JWTs compatible uPort and DID standards",
"main": "lib/index.js",
"description": "Library for Signing and Verifying JWTs that use DIDs as issuers",
"source": "src/index.ts",
"modules": "lib/index.mjs",
"types": "lib/index.d.ts",
"umd:main": "lib/index.umd.js",
"main": "./lib/index.js",
"exports": "./lib/index.modern.js",
"module": "./lib/index.module.js",
"unpkg": "./lib/index.umd.js",
"types": "./lib/index.d.ts",
"umd:main": "./lib/index.umd.js",
"files": [
"lib",
"dist",
"src",
"tutorial",
"esm"
"src"
],
"scripts": {
"test": "jest",
"test:ci": "jest --coverage && codecov",
"build:js": "microbundle",
"build:js": "microbundle --compress=false",
"build:browser": "webpack --config webpack.config.js",
"build": "npm run build:js && npm test && npm run build:browser",
"build:docs": "echo 'PLEASE UPDATE REFERENCE DOCS MANUALLY'",
Expand All @@ -27,9 +27,9 @@
"prepare": "npm run build",
"release": "semantic-release --debug"
},
"author": "Pelle Braendgaard <[email protected]>",
"author": "Pelle Braendgaard",
"contributors": [
"Mircea Nistor <mircea.nistor@consensys.net>",
"Mircea Nistor <mircea.nistor@mesh.xyz>",
"Joel Thorstensson <[email protected]>"
],
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "esm", /* Redirect output structure to the directory. */
"outDir": "lib", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "removeComments": true, /* Do not emit comments to output. */
Expand Down

0 comments on commit cd4edd2

Please sign in to comment.