@autoenhance.ai/component-library
Version:
Missing React, typescript NPM library creation template
142 lines (141 loc) • 4.18 kB
JSON
{
"name": "@autoenhance.ai/component-library",
"private": false,
"version": "1.2.8",
"type": "module",
"files": [
"dist"
],
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"./style.css": "./dist/style.css"
},
"keywords": [
"react",
"template",
"react-testing-library",
"testing-library",
"eslint",
"npm",
"stylelint",
"library",
"package",
"vite",
"css-modules",
"typescript",
"tailwindcss"
],
"description": "Missing React, typescript NPM library creation template",
"scripts": {
"dev": "vite",
"clean:lib": "rm -rf dist",
"build:lib": "vite build",
"build:css": "postcss src/lib/index.scss -o dist/style.css",
"build": "run-s clean:lib build:lib build:css",
"lint:code": "eslint src/** --report-unused-disable-directives",
"fix:code": "run-s 'lint:code --fix'",
"lint:types": "tsc --pretty --noEmit",
"lint:style": "stylelint ./src/**/*.css",
"fix:style": "run-s 'lint:style --fix'",
"test": "jest",
"preview": "vite preview",
"start:docs": "storybook dev -p 6006",
"build:docs": "storybook build",
"generate:component": "npx generate-react-cli component",
"prepare": "is-ci || husky",
"lint-staged": "lint-staged"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"react-hook-form": "^7.54.2"
},
"dependencies": {
"@svgr/webpack": "^8.1.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"scss": "^0.2.4"
},
"devDependencies": {
"@eslint/compat": "1.2.2",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.14.0",
"@storybook/addon-essentials": "8.4.2",
"@storybook/addon-interactions": "8.4.2",
"@storybook/addon-links": "8.4.2",
"@storybook/blocks": "8.4.2",
"@storybook/builder-vite": "8.4.2",
"@storybook/react": "8.4.2",
"@storybook/react-vite": "8.4.2",
"@storybook/test": "8.4.2",
"@storybook/types": "8.4.2",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.13",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@vitejs/plugin-react": "4.3.3",
"@yelo/rollup-node-external": "1.0.1",
"alias-hq": "6.2.4",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-react-refresh": "0.4.14",
"eslint-plugin-ssr-friendly": "1.3.0",
"eslint-plugin-storybook": "0.11.0",
"eslint-plugin-tailwindcss": "3.17.5",
"generate-react-cli": "8.4.9",
"husky": "9.1.6",
"identity-obj-proxy": "3.0.0",
"is-ci": "3.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"npm-run-all2": "7.0.1",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-preset-env": "10.0.9",
"postcss-scss": "^4.0.9",
"prettier": "3.3.3",
"react": "18.3.1",
"react-docgen-typescript": "2.2.2",
"react-dom": "18.3.1",
"sass-embedded": "^1.83.0",
"storybook": "8.4.2",
"stylelint": "16.10.0",
"stylelint-config-standard": "36.0.1",
"stylelint-order": "6.0.4",
"stylelint-prettier": "5.0.2",
"tailwindcss": "3.4.14",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.6.3",
"typescript-eslint": "8.13.0",
"vite": "5.4.10",
"vite-plugin-dts": "4.3.0",
"vite-plugin-svgr": "^4.3.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Autoenhance-ai/component-library.git"
},
"author": "Jakub Bednar",
"license": "ISC",
"bugs": {
"url": "https://github.com/Autoenhance-ai/component-library/issues"
},
"homepage": "https://github.com/Autoenhance-ai/component-library#readme"
}