-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
125 lines (125 loc) Β· 4.51 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@norgate-av/react-crestron-ch5-hooks",
"description": "A collection of Crestron CH5 hooks β for React π",
"version": "1.0.0",
"keywords": [
"react",
"hooks",
"crestron",
"ch5"
],
"license": "MIT",
"main": "dist/index.js",
"module": "dist/react-crestron-ch5-hooks.esm.js",
"typings": "dist/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/Norgate-AV/react-crestron-ch5-hooks.git"
},
"bugs": {
"url": "https://github.com/Norgate-AV/react-crestron-ch5-hooks/issues"
},
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
"scripts": {
"prestart": "pnpm resolve:crcomlib",
"start": "vite-node",
"prebuild": "pnpm clean:dist && pnpm resolve:crcomlib",
"build": "tsup",
"pretest": "pnpm resolve:crcomlib",
"test": "vitest --passWithNoTests",
"test:coverage": "pnpm clean:coverage && pnpm resolve:crcomlib && vitest --passWithNoTests --coverage",
"lint": "tsc && eslint . --fix",
"prepare": "husky",
"size": "size-limit",
"analyze": "size-limit --why",
"clean:dist": "rimraf dist",
"clean:coverage": "rimraf coverage",
"clean:all": "pnpm clean:dist && pnpm clean:coverage",
"commit": "git-cz",
"pretty:fix": "prettier --write .",
"resolve:crcomlib": "run-script-os",
"resolve:crcomlib:default": "./node_modules/node-jq/bin/jq '.main=\"build_bundles/cjs/cr-com-lib.js\"' $npm_package_crestron_crcomlib_packageJson | sponge $npm_package_crestron_crcomlib_packageJson",
"resolve:crcomlib:windows": "./node_modules/node-jq/bin/jq \".main=\"\"build_bundles/cjs/cr-com-lib.js\"\"\" %npm_package_crestron_crcomlib_packageJson% | sponge %npm_package_crestron_crcomlib_packageJson%",
"doctoc": "doctoc --title '## Contents π' README.md",
"contrib:add": "all-contributors add",
"contrib:generate": "all-contributors generate",
"contrib:check": "all-contributors check"
},
"peerDependencies": {
"@crestron/ch5-crcomlib": "^1.2.0",
"@norgate-av/crestron-ch5-helper": "^1.1.0",
"react": ">=16"
},
"size-limit": [
{
"path": "dist/react-crestron-ch5-hooks.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-crestron-ch5-hooks.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@crestron/ch5-crcomlib": "^1.2.0",
"@norgate-av/crestron-ch5-helper": "^2.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@size-limit/preset-small-lib": "^11.0.2",
"@testing-library/react": "^14.2.1",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.20",
"@types/react": "^18.0.6",
"@types/react-dom": "^18.0.2",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitest/coverage-v8": "^1.3.1",
"all-contributors-cli": "^6.20.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "3.3.0",
"doctoc": "^2.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"node-jq": "^4.3.0",
"prettier": "^3.2.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6",
"semantic-release": "^23.0.2",
"size-limit": "^11.0.2",
"sponge": "^0.1.0",
"terser": "^5.28.1",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vite-node": "^1.3.1",
"vitest": "^1.3.1"
},
"crestron": {
"crcomlib": {
"root": "./node_modules/@crestron/ch5-crcomlib",
"packageJson": "./node_modules/@crestron/ch5-crcomlib/package.json",
"bundle": {
"name": "cr-com-lib.js",
"path": {
"umd": "./node_modules/@crestron/ch5-crcomlib/build_bundles/umd/cr-com-lib.js",
"cjs": "build_bundles/cjs/cr-com-lib.js"
}
}
}
}
}