-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
81 lines (81 loc) · 2.15 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
{
"name": "react-overflow-indicator",
"version": "0.2.2",
"author": "Brian Beck <exogen@gmail.com>",
"repository": "exogen/react-overflow-indicator",
"license": "MIT",
"files": [
"dist"
],
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"browser": {
"./dist/index.cjs.js": "./dist/index.browser.cjs.js",
"./dist/index.esm.js": "./dist/index.browser.esm.js"
},
"sideEffects": false,
"scripts": {
"build:dist": "rollup -c",
"build:docs": "md-magic README.md && prettier --write README.md",
"build": "npm run build:docs && npm run build:dist",
"format": "eslint --fix .",
"postbuild": "npm run size",
"prebuild": "rimraf dist",
"prepare": "npm run build:dist",
"size": "bundlesize",
"start": "next dev"
},
"bundlesize": [
{
"path": "./dist/index.browser.cjs.min.js",
"compression": "none",
"maxSize": "4KB"
},
{
"path": "./dist/index.browser.cjs.min.js",
"maxSize": "2KB"
},
{
"path": "./dist/index.browser.esm.min.js",
"compression": "none",
"maxSize": "4KB"
},
{
"path": "./dist/index.browser.esm.min.js",
"maxSize": "2KB"
}
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@rollup/plugin-replace": "^2.2.1",
"bundlesize": "^0.18.0",
"escape-html": "^1.0.3",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.3.0",
"execa": "^3.3.0",
"markdown-magic": "^1.0.0",
"next": "^12.3.1",
"prettier": "^1.19.1",
"react": "^18.2.0",
"react-docgen": "^4.1.1",
"react-docgen-displayname-handler": "^2.1.3",
"react-dom": "^18.2.0",
"rollup": "^1.27.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2"
},
"dependencies": {
"prop-types": "^15.7.2"
}
}