generated from smeijer/ts-project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.1 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
{
"name": "@magicbell/support-widget",
"version": "1.0.2",
"license": "MIT",
"author": "Stephan Meijer",
"main": "dist/index.js",
"module": "dist/support-widget.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src",
"LICENSE",
"README.md"
],
"scripts": {
"analyze": "size-limit --why",
"build": "dts build",
"build-storybook": "build-storybook",
"lint": "dts lint",
"size": "size-limit",
"start": "dts watch",
"storybook": "start-storybook -p 6006",
"test": "dts test --passWithNoTests",
"prepare": "dts build"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.{md,json,yml,yaml}": [
"prettier -w"
],
"*.{js,jsx,ts,tsx}": [
"prettier -w",
"node dist/index.js lint --fix"
]
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"./jest.setup.js"
]
},
"peerDependencies": {
"react": ">=16"
},
"engines": {
"node": ">=12"
},
"size-limit": [
{
"path": "dist/botz.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/botz.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.18.2",
"@size-limit/preset-small-lib": "^7.0.8",
"@storybook/addon-essentials": "^6.5.8",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.5.8",
"@storybook/addons": "^6.5.8",
"@storybook/react": "^6.5.8",
"@testing-library/react": "^13.3.0",
"@tsconfig/create-react-app": "^1.0.2",
"@tsconfig/recommended": "^1.0.1",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"babel-loader": "^8.2.5",
"dts-cli": "^1.5.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-is": "^18.1.0",
"size-limit": "^7.0.8",
"tslib": "^2.4.0",
"typescript": "^4.7.3"
},
"dependencies": {
"botz": "^1.2.0",
"tiny-invariant": "^1.2.0",
"tiny-warning": "^1.0.3"
}
}