standard-cv/package.json
Tudor Stanciu 6a183d479a Merged PR 105: Full upgrade: Vite and Typescript migration
feat: add mock CV data and setup testing environment

- Created a mock CV data file for testing purposes.
- Added a setup file for testing with @testing-library/jest-dom.
- Implemented a ThemeProvider component to manage themes and favicons.
- Added unit tests for theme utility functions.
- Replaced JavaScript theme constants with TypeScript constants.
- Refactored theme hooks to TypeScript and improved favicon handling.
- Removed deprecated JavaScript files and replaced them with TypeScript equivalents.
- Introduced a new TypeScript types file for better type safety.
- Set up TypeScript configuration files for the project.
- Configured Vite for building and testing the project.
2025-08-10 15:30:08 +00:00

116 lines
3.4 KiB
JSON

{
"name": "@react-bricks/standard-cv",
"version": "2.0.0",
"description": "A professional, customizable, and responsive CV/Resume component for React with TypeScript support",
"author": {
"name": "Tudor Stanciu",
"email": "tudor.stanciu94@gmail.com",
"url": "https://lab.code-rove.com/tsp"
},
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://dev.azure.com/tstanciu94/Packages/_git/standard-cv"
},
"private": true,
"keywords": [
"react-bricks",
"standard-cv"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:watch": "vite build --watch",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"clean": "rimraf dist",
"prepublishOnly": "npm run clean && npm run build",
"prepare": "husky install",
"push": "cd dist && npm publish --registry https://lab.code-rove.com/public-node-registry",
"push:major": "npm run version:major && npm run prepublishOnly && npm run push",
"push:minor": "npm run version:minor && npm run prepublishOnly && npm run push",
"push:patch": "npm run version:patch && npm run prepublishOnly && npm run push",
"version:major": "npm version major --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:patch": "npm version patch --no-git-tag-version"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/node": "^24.2.1",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.0.4",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.5",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vite-plugin-dts": "^3.6.4",
"vitest": "^1.0.4"
},
"dependencies": {
"@flare/lumrop": "^1.3.0",
"@fortawesome/fontawesome-free": "^5.10.2",
"bootstrap": "^4.6.2",
"clsx": "^2.0.0"
},
"prettier": {
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 80,
"arrowParens": "avoid"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,md,json,css}": [
"prettier --write"
],
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"publishConfig": {
"registry": "https://lab.code-rove.com/public-node-registry"
}
}