|
31 | 31 | "scripts": { |
32 | 32 | "copy": "copyfiles -f ../../LICENSE-MIT ../../LICENSE-Apache README.md package.json dist", |
33 | 33 | "clean": "rimraf dist/**", |
34 | | - "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy", |
| 34 | + "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run fix-esm; npm run copy", |
35 | 35 | "build:dev": "npm run clean; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy", |
36 | 36 | "lint": "eslint . --fix", |
37 | 37 | "prepare": "npm run build", |
|
42 | 42 | "starship:test": "jest --config ./jest.starship.config.js --verbose --bail", |
43 | 43 | "starship:debug": "jest --config ./jest.starship.config.js --runInBand --verbose --bail", |
44 | 44 | "starship:watch": "jest --watch --config ./jest.starship.config.js", |
45 | | - "injective:test": "jest --config ./jest.testnet.config.js --verbose" |
| 45 | + "injective:test": "jest --config ./jest.testnet.config.js --verbose", |
| 46 | + "fix-esm": "tsc-esm-fix --target=dist/esm" |
46 | 47 | }, |
47 | 48 | "dependencies": { |
48 | 49 | "@ethersproject/transactions": "^5.7.0", |
|
68 | 69 | "@chain-registry/client": "1.18.1", |
69 | 70 | "@chain-registry/types": "^2.0.42", |
70 | 71 | "dotenv": "^16.4.5", |
71 | | - "starshipjs": "^2.4.0" |
| 72 | + "starshipjs": "^2.4.0", |
| 73 | + "tsc-esm-fix": "^3.1.2" |
72 | 74 | }, |
73 | 75 | "gitHead": "25cc22e03504ea6164707192deb0f3c6f572fad3" |
74 | 76 | } |
0 commit comments