-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.46 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
{
"name": "@openbytes/ts-react-directives",
"description": "A collection of React directives to simplify conditional rendering and loops.",
"version": "1.0.1",
"type": "module",
"author": {
"name": "SkyCodr (aka: Dulan Sudasinghe)",
"email": "[email protected]"
},
"license": "MIT",
"files": [
"dist",
"README.md"
],
"keywords": [
"react",
"typescript",
"directives",
"conditionals",
"if",
"loops",
"rendering",
"conditional rendering"
],
"homepage": "https://skycodr.github.io/ts-react-directives/",
"repository": {
"type": "git",
"url": "git+https://github.com/skycodr/ts-react-directives.git"
},
"bugs": {
"url": "https://github.com/skycodr/ts-react-directives/issues"
},
"readme": "README.md",
"types": "dist/ts-react-directives.d.ts",
"main": "dist/ts-react-directives.cjs.js",
"module": "dist/ts-react-directives.es.js",
"exports": {
".": {
"import": {
"types": "./dist/ts-react-directives.d.ts",
"default": "./dist/ts-react-directives.es.js"
},
"require": {
"types": "./dist/ts-react-directives.d.ts",
"default": "./dist/ts-react-directives.cjs.js"
}
}
},
"scripts": {
"dev": "vite",
"clean": "rimraf dist",
"preview": "vite preview --config vite.config.examples.ts",
"build:lib": "tsc -b && vite build",
"build:examples": "tsc -b && vite build --config vite.config.examples.ts",
"build": "&& pnpm build:lib && pnpm build:examples",
"lint": "eslint src/**/*.{ts,tsx}",
"lint:fix": "eslint --fix src/**/*.{ts,tsx}",
"format": "prettier --check src/**/*.{ts,tsx}",
"format:fix": "prettier --write src/**/*.{ts,tsx}",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"prepare": "husky",
"prepublishOnly": "pnpm run build:lib",
"publish:registry": "pnpm publish",
"publish:gh-pages": "pnpm build:examples && pnpm gh-pages -d dist/examples"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@eslint/js": "^9.20.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"gh-pages": "^6.3.0",
"globals": "^15.15.0",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"prettier": "^3.5.1",
"react-syntax-highlighter": "^15.6.1",
"react-tabs": "^6.1.0",
"rimraf": "^6.0.1",
"typescript": "~5.7.3",
"typescript-eslint": "^8.24.0",
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-lib-inject-css": "^2.2.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.5"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"publishConfig": {
"access": "public"
},
"packageManager": "[email protected]+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b"
}