Files
webstudio/packages/feature-flags/package.json
T
Bogdan Chadkin 274eabde4a Specify types with exports condition (#1708)
Saas is swithing to moduleResolution=bundler.
Here I replaced types top level field with exoprts condition in all our
packages. Thi should fix issues with new sdk components packages and
simplify using additional entry points.
2023-06-03 09:32:30 +03:00

35 lines
936 B
JSON

{
"name": "@webstudio-is/feature-flags",
"version": "0.1.0",
"description": "Feature flags used to enable/disable a feature over env variable",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"checks": "pnpm typecheck && pnpm lint",
"dev": "build-package --watch",
"build": "build-package",
"dts": "tsc --declarationDir lib/types",
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0"
},
"dependencies": {},
"devDependencies": {
"@webstudio-is/scripts": "workspace:^",
"@webstudio-is/tsconfig": "workspace:^"
},
"exports": {
"source": "./src/index.ts",
"import": "./lib/index.js",
"types": "./lib/types/index.d.ts"
},
"files": [
"lib/*",
"src/*",
"!*.test.*"
],
"license": "MIT",
"private": false,
"sideEffects": false
}