-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
100 lines (100 loc) · 3.17 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
{
"name": "react-height",
"version": "3.0.2",
"description": "Component-wrapper to determine and report children elements height",
"main": "lib/index.js",
"config": {
"component": "ReactHeight",
"externals": {
"react": "React",
"react-dom": "ReactDOM"
},
"include": [
"https://unpkg.com/react/umd/react.production.min.js",
"https://unpkg.com/react-dom/umd/react-dom.production.min.js"
]
},
"scripts": {
"build": "yarn lib && yarn dist",
"start": "NODE_ENV=development webpack-cli serve --config ./webpack/dev.config.js",
"predist": "rm -rf ./build",
"dist": "NODE_ENV=production webpack-cli --config ./webpack/dist.config.js && NODE_ENV=production webpack-cli --config ./webpack/min.config.js",
"preghPages": "yarn pub",
"ghPages": "gh-pages --dist ./pub --repo git@github.com:nkbt/react-height.git --user nik@butenko.me --branch gh-pages --message 'Publish examples' ",
"prelib": "rm -rf ./lib",
"lib": "NODE_ENV=production babel src --out-dir lib",
"lint": "eslint .",
"prepub": "rm -rf ./pub",
"pub": "NODE_ENV=production webpack-cli --config ./webpack/pub.config.js",
"test": "node test/Component-test.js",
"prepublishOnly": "yarn build",
"postversion": "git push --follow-tags",
"deps": "depcheck",
"check:deps": "[ ! $(depcheck | grep --invert-match 'No depcheck issue') ]",
"offline-update": "yarn cache clean && yarn install --force",
"offline": "yarn install --pure-lockfile --offline"
},
"repository": {
"type": "git",
"url": "https://github.com/nkbt/react-height.git"
},
"keywords": [
"component",
"react-component",
"react",
"height",
"height-reporter"
],
"author": "Nik Butenko <nik@butenko.me> (http://butenko.me/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/nkbt/react-height/issues"
},
"homepage": "https://github.com/nkbt/react-height",
"peerDependencies": {
"react": ">=15.3"
},
"dependencies": {
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"css-loader": "^6.2.0",
"depcheck": "^1.4.2",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^3.2.3",
"html-webpack-plugin": "^5.3.2",
"html-webpack-tags-plugin": "^3.0.1",
"mini-css-extract-plugin": "^2.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"style-loader": "^3.2.1",
"tape": "^5.3.1",
"webpack": "^5.50.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^3.11.2"
},
"files": [
"build",
"lib",
"src",
"LICENSE",
"package.json",
"README.md"
],
"packageManager": "yarn@3.0.1"
}