-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
75 lines (75 loc) · 1.8 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
{
"name": "react-ellipsis-component",
"author": "QuincyChen <mail@quincychen.cn>",
"module": "dist/ellipsis.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"version": "1.1.11",
"license": "MIT",
"engines": {
"node": ">=10"
},
"scripts": {
"analyze": "size-limit --why",
"dev": "tsdx watch",
"build": "tsdx build --format cjs,esm,umd --name Ellipsis",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"size": "size-limit",
"release": "standard-version",
"release:major": "yarn release -- --release-as major",
"release:feat": "yarn release -- --release-as minor",
"release:fix": "yarn release -- --release-as patch",
"release:test": "yarn release -- --prerelease alpha"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/ellipsis.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/ellipsis.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@emotion/core": "^10",
"@size-limit/preset-small-lib": "^4.9.1",
"@types/classnames": "^2.2.11",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/resize-observer-browser": "^0.1.5",
"husky": "^4.3.8",
"less": "^4.1.1",
"postcss": "^8.2.6",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup-plugin-postcss": "^4.0.0",
"size-limit": "^4.9.1",
"standard-version": "^9.1.1",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^4.1.3"
},
"dependencies": {
"resize-observer-polyfill": "^1.5.1"
},
"peerDependencies": {
"react": ">=16"
}
}