typebot.io/packages/env/package.json
Baptiste Arnaud c2b251c7e5
♻️ Migrate to NX (#2418)
2026-03-18 15:29:32 +00:00

60 lines
1.4 KiB
JSON

{
"name": "@typebot.io/env",
"version": "0.0.1",
"private": true,
"type": "module",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"default": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts",
"default": "./src/*.ts"
},
"./compiled": "./dist/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.13.10",
"zod": "^4.3.5"
},
"scripts": {
"compile": "esbuild src/index.ts --bundle --minify --outfile=dist/index.js"
},
"nx": {
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": [
"{options.outputPath}"
],
"defaultConfiguration": "production",
"options": {
"main": "{workspaceRoot}/packages/env/src/index.ts",
"outputPath": "{workspaceRoot}/packages/env/dist",
"tsConfig": "{workspaceRoot}/packages/env/tsconfig.lib.json",
"platform": "node",
"format": [
"esm"
],
"declarationRootDir": "{workspaceRoot}/packages/env/src"
},
"configurations": {
"development": {
"minify": false
},
"production": {
"minify": true
}
}
}
}
},
"types": "./dist/index.d.ts",
"module": "./dist/main.js",
"main": "./dist/main.js"
}