mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-07-17 12:01:51 +08:00
feat: scaffold monorepo
This commit is contained in:
30
packages/ui/package.json
Normal file
30
packages/ui/package.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "@tih/ui",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"dist/**"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsup src/index.tsx --format esm,cjs --dts --external react",
|
||||
"clean": "rm -rf dist",
|
||||
"tsc": "tsc",
|
||||
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
|
||||
"lint": "eslint src/**/*.ts* --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tih/tsconfig": "*",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"eslint": "^8.24.0",
|
||||
"eslint-config-tih": "*",
|
||||
"react": "^18.2.0",
|
||||
"tsup": "^6.2.3",
|
||||
"typescript": "^4.8.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user