-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
157 lines (157 loc) · 4.38 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "space-slug",
"description": "Generate unique slugs, usernames, numbers and more. If you need a unique string that looks like this `hyperspace-4812` or `blue-whimsical-summer` using an intuitive api with zero dependencies.",
"version": "2.1.0",
"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
"license": "MIT",
"keywords": [
"slug",
"random",
"unique",
"generator",
"random slug",
"slug generator",
"username generator"
],
"repository": {
"type": "git",
"url": "git@github.com:TimMikeladze/space-slug.git"
},
"scripts": {
"dev": "concurrently \"yarn build --watch\" \"yarn storybook\" \"yarn test\" ",
"build": "tsup --onSuccess \"yarn link:self && yarn doc\"",
"type-check": "tsc",
"lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx)\"",
"lint:fix": "yarn lint --fix && prettier --write .",
"test": "vitest",
"test:ci": "vitest run --coverage",
"prepare": "husky",
"commit": "cz",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"deploy-storybook": "storybook-to-ghpages",
"release": "yarn build && yarn release-it",
"link:self": "yarn yalc publish && yarn link",
"doc": "tsdoc --src=src/*"
},
"tsup": {
"entry": [
"src/index.ts"
],
"treeshake": true,
"sourcemap": "inline",
"minify": true,
"clean": true,
"dts": true,
"splitting": false,
"format": [
"cjs",
"esm"
],
"external": [
"react"
],
"injectStyle": false
},
"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.24.0",
"@babel/preset-env": "7.24.0",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@commitlint/cli": "19.2.0",
"@commitlint/config-conventional": "19.1.0",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "7.6.17",
"@storybook/addon-interactions": "7.6.17",
"@storybook/addon-links": "7.6.17",
"@storybook/blocks": "7.6.17",
"@storybook/react": "7.6.17",
"@storybook/react-webpack5": "7.6.17",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.2.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "20.11.28",
"@types/react": "18.2.67",
"@types/react-dom": "18.2.22",
"@types/react-test-renderer": "18.0.7",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.3.0",
"babel-loader": "9.1.3",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"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.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-typescript-sort-keys": "3.2.0",
"eslint-plugin-unused-imports": "3.1.0",
"husky": "9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"release-it": "17.1.1",
"storybook": "7.6.17",
"tsdoc-markdown": "^0.4.0",
"tsup": "8.0.2",
"typescript": "5.4.2",
"vitest": "^1.3.0",
"yalc": "1.0.0-pre.53"
},
"resolutions": {
"glob-parent": ">=5.1.2",
"parse-url": ">=8.1.0",
"semver": ">=7.5.2",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1",
"yaml": ">=2.2.2"
}
}