Files

72 lines
1.6 KiB
JSON

{
"name": "newspaperui",
"version": "0.1.0",
"description": "Production-grade newspaper layout React components with built-in theme and utilities",
"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"
},
"./style.css": "./dist/style.css"
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "tsc --noEmit",
"clean": "rm -rf dist",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"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"
},
"license": "MIT",
"author": "sunzhongyi",
"repository": {
"type": "git",
"url": "https://github.com/joisun/newspaperui.git"
},
"keywords": [
"newspaper",
"react",
"components",
"layout",
"typography",
"css-grid",
"multi-column",
"indesign",
"editorial"
],
"publishConfig": {
"access": "public",
"dependencies": {}
},
"dependencies": {
"newspaperui-theme": "workspace:*",
"newspaperui-utils": "workspace:*"
}
}