implementado tsup
This commit is contained in:
parent
7bddbd5c72
commit
8efeb59716
131 changed files with 2216 additions and 1476 deletions
11
package.json
11
package.json
|
|
@ -1,21 +1,19 @@
|
|||
{
|
||||
"name": "p-comuns",
|
||||
"version": "0.128.0",
|
||||
"version": "0.149.0",
|
||||
"description": "",
|
||||
"main": "./src/index.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./src/index.ts",
|
||||
"import": "./dist-import/index.js",
|
||||
"require": "./dist-require/index.js"
|
||||
"import": "./dist-front/index.mjs",
|
||||
"require": "./dist-back/index.cjs"
|
||||
}
|
||||
},
|
||||
"types": "./src/index.ts",
|
||||
"scripts": {
|
||||
"biome": "npx @biomejs/biome check --write ./src",
|
||||
"build-back": "rm -fr dist-require && tsc --project ./tsconfig-back.json",
|
||||
"build-front": "rm -fr dist-import && tsc --project ./tsconfig-front.json",
|
||||
"build": "npm --no-git-tag-version version minor && pnpm run biome && pnpm run build-back && pnpm run build-front"
|
||||
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./src/tsup/tsup.config.ts"
|
||||
},
|
||||
"author": {
|
||||
"name": "AZTECA SOFTWARE LTDA",
|
||||
|
|
@ -30,6 +28,7 @@
|
|||
"devDependencies": {
|
||||
"@biomejs/biome": "2.0.6",
|
||||
"@types/node": "^20.19.8",
|
||||
"tsup": "8.5.0",
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue