Skip to content

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmatos committed Dec 14, 2022
1 parent 72a2460 commit fc3c5e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@iden3/js-crypto",
"version": "0.0.2",
"version": "0.0.1",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "./src/index.ts",
"esm:build": "dist/esm_build/index.js",
"esm:esbuild": "dist/esm_esbuild/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
Expand All @@ -15,8 +15,8 @@
"tsconfig.json"
],
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:umd && npm run build:esm:build && npm run build:tsc",
"build:esm:build": "node ./scripts/esm.config.js",
"build": "npm run clean && npm run build:esm && npm run build:umd && npm run build:esm:esbuild && npm run build:tsc",
"build:esm:esbuild": "node ./scripts/esm.config.js",
"build:umd": "node ./scripts/umd.config.js",
"build:tsc": "tsc --module commonjs",
"build:esm": "tsc -p config/tsconfig.esm.json",
Expand Down
2 changes: 1 addition & 1 deletion scripts/base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const esmConfig = {
bundle: true,
sourcemap: true,
target: 'esnext',
outfile: pkg['esm:build'],
outfile: pkg['esm:esbuild'],
format: 'esm',
};
module.exports = esmConfig;

0 comments on commit fc3c5e1

Please sign in to comment.