-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
105 lines (105 loc) · 2.81 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
104
105
{
"name": "react-nsn",
"version": "1.4.0",
"private": false,
"description": "A very lightweight and customizable online network status notification built for react apps.",
"license": "MIT",
"keywords": [
"react",
"notification",
"react-nsn",
"status",
"online-status",
"network-status",
"online-status-notification",
"network-notification",
"network-notifier",
"javascript",
"react-component"
],
"author": "AmrAhmed <geek3mr@gmail.com> (http://github.com/AmrAhmedA)",
"repository": {
"type": "git",
"url": "https://github.com/AmrAhmedA/react-nsn"
},
"homepage": "https://github.com/AmrAhmedA/react-nsn",
"type": "module",
"scripts": {
"build": "tsc && vite build --force",
"clean": "rimraf dist && rimraf --glob node_modules",
"deploy:npm": "npm publish",
"dev": "cd example && npm run dev",
"format": "prettier --write src",
"git-is-clean": "git status && git diff-index HEAD",
"lint": "eslint ./src --ext ts --ext tsx --ext js",
"pre-commit": "lint-staged",
"prebuild": "rm -rf dist/",
"prepare": "husky install",
"preview": "vite preview",
"reinstall": "npm run clean && npm install",
"type-check": "tsc --pretty --noEmit"
},
"files": [
"dist"
],
"main": "./dist/react-nsn.cjs",
"module": "./dist/react-nsn.js",
"source": "src/nsn.ts",
"types": "./dist/react-nsn.d.ts",
"exports": {
".": {
"import": "./dist/react-nsn.js",
"require": "./dist/react-nsn.cjs"
}
},
"lint-staged": {
"*.@(js|json|ts|tsx)": [
"npm run format"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^16.18.14",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-transition-group": "^4.4.5",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.54.1",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"process": "^0.11.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.10",
"rollup-plugin-visualizer": "^5.9.2",
"typescript": "^5.5.4",
"vite": "^4.5.3",
"vite-plugin-css-injected-by-js": "^3.5.1",
"vite-plugin-dts": "^3.9.1",
"vue-tsc": "^2.0.29"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16",
"react-transition-group": "^4.4.5"
}
}