-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 3.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "npm-react-package",
"version": "0.0.1",
"description": "npm package template with tsup and typescript",
"repository": {
"type": "git",
"url": "https://github.com/[USERNAME]/my_package_name.git"
},
"homepage": "https://[USERNAME].github.io/my_package_name/",
"bugs": {
"url": "https://github.com/[USERNAME]/my_package_name/issues"
},
"author": "enesdir",
"contributors": [
{
"name": "Your name",
"email": "[email protected]"
}
],
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/index.d.mts"
}
},
"types": "./dist/index.d.ts",
"files": [
"LICENSE.md",
"dist/**",
"package.json",
"README.md"
],
"keywords": [
"react",
"component",
"tiny",
"lightweight"
],
"scripts": {
"build": "tsup",
"build-storybook": "build-storybook",
"dev": "tsup --watch",
"lint": "eslint src --fix --cache",
"lint-staged": "lint-staged",
"prepare": "husky install",
"push-release": "git push --follow-tags origin main",
"release": "dotenv -e HUSKY=0 commit-and-tag-version",
"size": "size-limit",
"storybook": "storybook dev -p 6006",
"test": "vitest",
"test:ci": "vitest run --coverage",
"type-check": "tsc"
},
"peerDependencies": {
"react": "^17 || ^18",
"react-dom": "^17 || ^18"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/cz-commitlint": "^18.4.4",
"@commitlint/prompt-cli": "^18.4.4",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@size-limit/preset-small-lib": "^11.0.1",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
"@storybook/addon-links": "^7.6.7",
"@storybook/blocks": "^7.6.7",
"@storybook/builder-vite": "^7.6.7",
"@storybook/react": "^7.6.7",
"@storybook/react-vite": "^7.6.7",
"@storybook/testing-library": "^0.2.2",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitest/coverage-v8": "^1.1.2",
"commit-and-tag-version": "^12.0.0",
"commitizen": "^4.3.0",
"commitlint": "^18.4.4",
"dotenv-cli": "^7.3.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.1.2",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-class-members": "^1.19.0",
"eslint-plugin-storybook": "0.6.15",
"eslint-plugin-typescript-sort-keys": "3.1.0",
"eslint-plugin-unused-imports": "3.0.0",
"husky": "^8.0.3",
"jsdom": "^23.0.1",
"lint-staged": "^15.2.0",
"postcss": "^8.4.33",
"prettier": "^3.1.1",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-pkg": "^0.18.0",
"prettier-plugin-sh": "^0.13.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "18.2.0",
"size-limit": "^11.0.1",
"storybook": "^7.6.7",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.2"
},
"publishConfig": {
"access": "public"
},
"browserslist": [
"defaults",
"not IE 11",
"maintained node versions"
],
"size-limit": [
{
"path": "dist/index.js",
"limit": "10 KB"
}
]
}