-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
103 lines (103 loc) · 2.73 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
{
"name": "next-share",
"version": "0.27.0",
"description": "Social media share buttons for your next React apps.",
"author": "Bunlong <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Bunlong/next-share.git"
},
"bugs": {
"url": "https://github.com/Bunlong/next-share.git/issues"
},
"keywords": [
"react",
"reactjs",
"next-share",
"share-buttons",
"social-share-buttons",
"social-media-share-buttons",
"react-share"
],
"homepage": "https://next-share.js.org",
"main": "dist/next-share.js",
"module": "dist/next-share.es.js",
"jsnext:main": "dist/next-share.es.js",
"types": "dist/next-share.d.ts",
"@comment unpkg": "dist/next-share.umd.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"@test": "jest --runInBand",
"build": "rollup -c",
"prettier": "prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc",
"lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives",
"bundlesize": "npm run build && bundlesize",
"dev": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd docs && npm install && npm run build",
"deploy": "gh-pages -d docs/build"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@types/jsonp": "^0.2.1",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"bundlesize": "^0.18.1",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.1.0",
"mutationobserver-shim": "^0.3.7",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^5.0.1",
"react-test-renderer": "^17.0.2",
"rollup": "^2.56.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"files": [
"dist"
],
"bundlesize": [
{
"path": "./dist/*.js",
"maxSize": "21 kB"
},
{
"path": "./dist/**/*.js",
"maxSize": "21 kB"
},
{
"path": "./dist/*.ts",
"maxSize": "750 B"
},
{
"path": "./dist/**/*.ts",
"maxSize": "770 B"
}
],
"peerDependencies": {
"react": ">=17.0.2"
},
"dependencies": {
"jsonp": "^0.2.1"
},
"sideEffects": false
}