admin: updated post-build file copying

This commit is contained in:
Richard Moore 2023-02-04 03:15:22 -05:00
parent d0ed91840c
commit ccb9a0643e
4 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,6 @@
CommonJS Generated Files
========================
Do not modify the files in this folder. They are deleted on `build-clean`.
These files are generated from the `/tsconfig.commonjs.json`

View File

@ -0,0 +1,6 @@
ESM Generated Files
===================
Do not modify the files in this folder. They are deleted on `build-clean`.
These files are generated from the `/tsconfig.esm.json`

View File

@ -105,6 +105,7 @@
}
],
"gitHead": "90afd9bd81ed1408421a0247fa0845a74c9eb319",
"homepage": "https://ethers.org",
"keywords": [
"ethereum",
"ethers",
@ -128,9 +129,9 @@
"_dist-stats": "gzip -k9f -S '.gz' ./dist/ethers.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js",
"auto-build": "npm run build -- -w",
"build": "tsc --project tsconfig.esm.json",
"build-all": "npm run build && npm run build-commonjs && npm run build-types",
"build-all": "npm run build && cp ./output/post-build/lib.esm/* ./lib.esm/ && npm run build-commonjs && npm run build-types",
"build-clean": "npm run clean && npm run build && node lib.esm/_admin/update-version.js && npm run build-all && npm run _build-dist && npm run _dist-stats",
"build-commonjs": "tsc --project tsconfig.commonjs.json && cp ./package-commonjs.json ./lib.commonjs/package.json",
"build-commonjs": "tsc --project tsconfig.commonjs.json && cp ./output/post-build/lib.commonjs/* ./lib.commonjs/",
"build-dist": "npm run build && npm run _build-dist && npm run _dist-stats",
"build-docs": "echo 'foo'",
"build-types": "tsc --project tsconfig.types.json",