mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-24 20:00:22 +00:00
Migrate to TypeScript
This commit is contained in:
74
package.json
74
package.json
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "@arifszn/gitprofile",
|
||||
"description": "Create an automatic portfolio based on GitHub profile",
|
||||
"version": "2.6.0",
|
||||
"version": "3.0.0",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"author": "arifszn",
|
||||
"repository": {
|
||||
@@ -11,56 +12,45 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/arifszn/gitprofile/issues"
|
||||
},
|
||||
"files": [
|
||||
"dist/gitprofile.es.js",
|
||||
"dist/gitprofile.umd.js",
|
||||
"dist/style.css",
|
||||
"types"
|
||||
],
|
||||
"main": "./dist/gitprofile.umd.js",
|
||||
"module": "./dist/gitprofile.es.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/gitprofile.es.js",
|
||||
"require": "./dist/gitprofile.umd.js"
|
||||
},
|
||||
"./dist/style.css": "./dist/style.css"
|
||||
},
|
||||
"typings": "./types/index.d.ts",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"build:library": "vite build --config library.config.js",
|
||||
"lint": "eslint --ext .js,.jsx .",
|
||||
"lint:fix": "eslint --ext .js,.jsx --fix .",
|
||||
"build": "tsc && vite build",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint:fix": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"prettier": "prettier --check \"./**/*.{js,jsx,ts,tsx,css,md,json}\"",
|
||||
"prettier:fix": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\""
|
||||
"prettier:fix": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\"",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arifszn/blog-js": "^2.0.4",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"autoprefixer": "^10.4.4",
|
||||
"axios": "^1.1.3",
|
||||
"daisyui": "^3.0.3",
|
||||
"date-fns": "^2.28.0",
|
||||
"eslint": "^8.11.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.29.4",
|
||||
"postcss": "^8.4.12",
|
||||
"prettier": "^2.6.0",
|
||||
"prop-types": "^15.8.1",
|
||||
"react-helmet-async": "^1.2.3",
|
||||
"react-hotjar": "^6.1.0",
|
||||
"react-icons": "^4.3.1",
|
||||
"tailwindcss": "^3.0.23",
|
||||
"vite": "^4.0.3",
|
||||
"vite-plugin-pwa": "^0.16.3"
|
||||
"@arifszn/blog-js": "^2.0.5",
|
||||
"@types/react": "^18.2.43",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
"@typescript-eslint/parser": "^6.14.0",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"axios": "^1.6.5",
|
||||
"daisyui": "^4.6.0",
|
||||
"date-fns": "^3.2.0",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.5",
|
||||
"postcss": "^8.4.33",
|
||||
"prettier": "^3.2.4",
|
||||
"react-helmet-async": "^2.0.4",
|
||||
"react-hotjar": "^6.2.0",
|
||||
"react-icons": "^5.0.1",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.8",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-pwa": "^0.17.4"
|
||||
},
|
||||
"keywords": [
|
||||
"git-profile",
|
||||
|
||||
Reference in New Issue
Block a user