Skip to content

Commit

Permalink
fix: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Jan 16, 2025
1 parent 2c6900e commit 1555e96
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 734 deletions.
13 changes: 6 additions & 7 deletions packages/runtime-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
"name": "@ice/runtime-kit",
"version": "0.1.0",
"description": "Runtime utilities and tools for ICE framework",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"main": "./esm/index.js",
"module": "./esm/index.mjs",
"types": "./esm/index.d.ts",
"files": [
"dist"
"esm"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"watch": "tsup --watch"
"watch": "tsc -w --sourceMap",
"build": "tsc"
},
"dependencies": {},
"devDependencies": {
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
Expand Down
5 changes: 3 additions & 2 deletions packages/runtime-kit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./",
"rootDir": "src",
"outDir": "dist",
"baseUrl": "."
"outDir": "esm",
"module": "ES2020"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
Expand Down
10 changes: 0 additions & 10 deletions packages/runtime-kit/tsup.config.ts

This file was deleted.

Loading

0 comments on commit 1555e96

Please sign in to comment.