Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Revert "better support for different js environments that want to lev… (
Browse files Browse the repository at this point in the history
  • Loading branch information
colemccracken authored Dec 13, 2023
1 parent 992c4ee commit f541bf0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 28 deletions.
45 changes: 19 additions & 26 deletions packages/openassistants-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
{
"name": "@definitive-io/openassistants-ui",
"version": "0.0.2",
"version": "0.0.1",
"description": "",
"exports": {
"./globals.css": "./globals.css",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"src",
"dist",
"globals.css"
],
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
"access": "public"
},
Expand All @@ -32,8 +12,7 @@
"build": "yarn tsc",
"format": "prettier --write \"src/**/*.{ts,tsx,json}\"",
"lint": "eslint -c ../../eslintrc.json --ext .ts,.tsx src",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf dist"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"OpenAssistants",
Expand Down Expand Up @@ -122,5 +101,19 @@
"tailwindcss-animate": "^1.0.7",
"ts-jest": "^29.1.1",
"typescript": "5.2.2"
}
},
"exports": {
".": "./src/index.ts",
"./globals.css": "./globals.css",
"./*": [
"./src/*.ts",
"./src/*.css",
"./src/*.tsx",
"./src/*/index.ts"
]
},
"files": [
"src",
"globals.css"
]
}
2 changes: 0 additions & 2 deletions packages/openassistants-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand Down

0 comments on commit f541bf0

Please sign in to comment.