-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 3.67 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
138
139
140
{
"name": "tsup-react-package-starter",
"description": "",
"version": "0.0.0",
"author": "",
"license": "",
"keywords": [],
"repository": {
"type": "git",
"url": ""
},
"scripts": {
"dev": "concurrently \"yarn build --watch\" \"yarn storybook\" \"yarn test:watch\" ",
"build": "tsup --onSuccess \"yarn yalc publish\"",
"type-check": "tsc",
"lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx)\"",
"lint:fix": "yarn lint --fix && prettier --write .",
"test": "jest --coverage --passWithNoTests",
"test:ci": "yarn test --ci",
"test:watch": "jest --watch",
"prepare": "husky install",
"commit": "cz",
"storybook": "start-storybook -p 6006 --quiet",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages",
"release": "yarn build && yarn release-it"
},
"tsup": {
"entry": [
"src/index.ts"
],
"treeshake": true,
"sourcemap": true,
"minify": true,
"clean": true,
"dts": true,
"splitting": false,
"format": [
"cjs",
"esm"
],
"external": [
"react"
]
},
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"lint-staged": {
"./{src,tests}/**/*.{ts,js,jsx,tsx}": [
"eslint --ignore-path .gitignore --fix"
],
"*": "prettier --write"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.4.4",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-actions": "6.5.16",
"@storybook/addon-essentials": "6.5.16",
"@storybook/addon-interactions": "6.5.16",
"@storybook/addon-links": "6.5.16",
"@storybook/builder-webpack5": "6.5.16",
"@storybook/manager-webpack5": "6.5.16",
"@storybook/react": "6.5.16",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.0.13",
"@types/jest": "29.5.0",
"@types/node": "18.15.11",
"@types/react": "18.0.31",
"@types/react-dom": "18.0.11",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"babel-loader": "9.1.2",
"concurrently": "8.0.1",
"eslint": "8.37.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "0.6.11",
"eslint-plugin-typescript-sort-keys": "2.3.0",
"eslint-plugin-unused-imports": "2.0.0",
"husky": "8.0.3",
"jest": "29.5.0",
"lint-staged": "13.2.0",
"prettier": "2.8.7",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"release-it": "15.10.0",
"ts-jest": "29.0.5",
"tsup": "6.7.0",
"typescript": "5.0.3",
"yalc": "1.0.0-pre.53"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"resolutions": {
"glob-parent": ">=5.1.2",
"parse-url": ">=8.1.0",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1"
}
}