library build scripts cleanup
This commit is contained in:
parent
691344eeb7
commit
ded6473e8c
|
@ -0,0 +1 @@
|
||||||
|
*.tsbuildinfo
|
|
@ -0,0 +1 @@
|
||||||
|
*.tsbuildinfo
|
|
@ -27,7 +27,7 @@
|
||||||
"test": "echo \"No test script for @switchboard-xyz/sbv2-utils\" && exit 0",
|
"test": "echo \"No test script for @switchboard-xyz/sbv2-utils\" && exit 0",
|
||||||
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
|
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
|
||||||
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
||||||
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm",
|
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm && shx rm lib/*.tsbuildinfo",
|
||||||
"prepublishOnly": "yarn build"
|
"prepublishOnly": "yarn build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
*.tsbuildinfo
|
|
@ -31,7 +31,7 @@
|
||||||
"docgen": "yarn build && npx typedoc",
|
"docgen": "yarn build && npx typedoc",
|
||||||
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
|
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
|
||||||
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
||||||
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm",
|
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm && shx rm lib/*.tsbuildinfo",
|
||||||
"test": "mocha --extension ts --require ts-node/register -t 1000000 tests/",
|
"test": "mocha --extension ts --require ts-node/register -t 1000000 tests/",
|
||||||
"prepublishOnly": "yarn build"
|
"prepublishOnly": "yarn build"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue