Skip to content

Commit

Permalink
Merge pull request #782 from gympass/DS-816
Browse files Browse the repository at this point in the history
🚀 feat(system): add typescript environment
  • Loading branch information
matheushdsbr authored Apr 25, 2024
2 parents cc66711 + 32e26ce commit aafe9c4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
13 changes: 0 additions & 13 deletions packages/system/babel.config.js

This file was deleted.

19 changes: 15 additions & 4 deletions packages/system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@
],
"homepage": "https://gympass.github.io/yoga/",
"license": "MIT",
"main": "src",
"main": "./src",
"types": "./src",
"repository": {
"type": "git",
"url": "git+https://github.com/Gympass/yoga.git"
},
"scripts": {
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "NODE_ENV=cjs babel ./src --out-dir dist/cjs",
"build:esm": "NODE_ENV=esm babel ./src --out-dir dist/esm",
"build": "yarn build:types && yarn build:cjs && yarn build:esm",
"build:types": "tsup --outDir dist/typings --dts-only",
"build:cjs": "tsup --outDir dist/cjs --format=cjs",
"build:esm": "tsup --format=esm --legacy-output",
"prebuild": "rm -rf ./dist",
"prepublishOnly": "node ../../scripts/prepublish.js"
},
Expand All @@ -36,5 +38,14 @@
"publishConfig": {
"access": "public",
"directory": "dist"
},
"tsup": {
"entry": [
"src/index.ts",
"src/**/*.(t|j)s",
"!src/**/*.test.(t|j)s"
],
"splitting": false,
"bundle": false
}
}
File renamed without changes.

0 comments on commit aafe9c4

Please sign in to comment.