-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 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
{
"name": "partial-hydrate",
"description": "Partial React hydration wrapper component based on screen width for faster responsive performances",
"version": "1.2.11",
"author": "GeorgeCht <georgecht@icloud.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/georgecht/partial-hydrate/issues"
},
"homepage": "https://github.com/georgecht/partial-hydrate#readme",
"type": "module",
"source": "src/PartialHydrate.tsx",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"types:check": "tsc --skipLibCheck --noEmit",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint --fix . --ext ts,tsx",
"lint:staged": "npm run lint:fix && npm run format",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"format": "prettier --write src//**/*.{ts,tsx} --config ./.prettierrc",
"bundle": "tsc && npm run lint:fix && npm run format && npx parcel build src/PartialHydrate.tsx",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint",
"npm run format"
]
},
"keywords": [
"react",
"partial",
"render",
"hydrate",
"hydration",
"viewport",
"responsive",
"mobile",
"respond",
"client",
"client only",
"hydration mismatch",
"skip render",
"partial render",
"partial hydrate",
"partial hydration"
],
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@parcel/packager-ts": "^2.11.0",
"@parcel/transformer-typescript-types": "^2.11.0",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"parcel": "^2.11.0",
"prettier": "^3.1.1",
"react-hooks": "^1.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"vite": "^5.0.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/georgecht/partial-hydrate.git"
},
"engines": {
"node": ">=0.10"
}
}