50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"name": "@newspaperui/components",
|
||
|
|
"version": "0.0.0",
|
||
|
|
"description": "React components for newspaperui",
|
||
|
|
"type": "module",
|
||
|
|
"main": "./dist/index.cjs",
|
||
|
|
"module": "./dist/index.js",
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"import": "./dist/index.js",
|
||
|
|
"require": "./dist/index.cjs",
|
||
|
|
"types": "./dist/index.d.ts"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"dist"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"build": "vite build",
|
||
|
|
"dev": "vite build --watch",
|
||
|
|
"test": "vitest run",
|
||
|
|
"test:watch": "vitest",
|
||
|
|
"lint": "tsc --noEmit",
|
||
|
|
"clean": "rm -rf dist"
|
||
|
|
},
|
||
|
|
"peerDependencies": {
|
||
|
|
"react": "^18.3.1",
|
||
|
|
"react-dom": "^18.3.1"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@newspaperui/theme": "workspace:*",
|
||
|
|
"@newspaperui/utils": "workspace:*"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@testing-library/react": "^16.1.0",
|
||
|
|
"@testing-library/jest-dom": "^6.6.3",
|
||
|
|
"@types/react": "^18.3.18",
|
||
|
|
"@types/react-dom": "^18.3.5",
|
||
|
|
"@vitejs/plugin-react": "^4.3.4",
|
||
|
|
"jsdom": "^25.0.1",
|
||
|
|
"react": "^18.3.1",
|
||
|
|
"react-dom": "^18.3.1",
|
||
|
|
"typescript": "^5.7.2",
|
||
|
|
"vite": "^5.4.11",
|
||
|
|
"vite-plugin-dts": "^4.3.0",
|
||
|
|
"vitest": "^2.1.8"
|
||
|
|
}
|
||
|
|
}
|