Skip to content

Commit

Permalink
Particle build revert
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Feb 28, 2024
1 parent 66d5d56 commit e74dbf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
25 changes: 3 additions & 22 deletions packages/particle-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@
"name": "@biconomy/particle-auth",
"version": "4.0.2",
"description": "Particle auth for Biconomy SDK",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"keywords": [
"legos",
"batching",
Expand All @@ -35,16 +25,7 @@
},
"scripts": {
"unbuild": "rimraf dist *.tsbuildinfo",
"build:watch": "yarn build:tsc --watch",
"dist:minify": "esbuild ./dist/esm/**/*.js ./dist/esm/*.js --minify --outdir=./dist/esm --bundle=false --allow-overwrite",
"build": "yarn unbuild && yarn build:tsc",
"build:esbuild": "yarn build:esbuild:cjs && yarn build:esbuild:esm && yarn build:typ",
"build:tsc:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:tsc:esm": "tsc --project tsconfig.build.json --module esnext --outDir ./dist/esm --removeComments && echo > ./dist/esm/package.json '{\"type\":\"module\"}'",
"build:esbuild:cjs": "node .esbuild.js CJS && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esbuild:esm": "node .esbuild.js ESM && echo > ./dist/esm/package.json '{\"type\":\"module\"}'",
"build:typ": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"build:tsc": "yarn build:tsc:cjs && yarn build:tsc:esm && yarn build:typ && yarn dist:minify",
"build": "rimraf dist && tsc",
"format": "prettier --write \"{src,tests}/**/*.ts\"",
"lint": "tslint -p tsconfig.json"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/particle-auth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"outDir": "dist",
"baseUrl": "src",
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["es2020"],
"esModuleInterop": true
},
"include": ["src", "src/**/*.json"]
}

0 comments on commit e74dbf4

Please sign in to comment.