-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.31 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
{
"name": "react-classmate",
"description": "A react tool to separate class name logic, create variants and manage styles.",
"version": "1.0.24",
"author": "https://github.com/richard-unterberg",
"homepage": "https://react-classmate.dev/",
"repository": {
"type": "git",
"url": "https://github.com/unterberg-dev/react-classmate.git"
},
"workspaces": [
"docs"
],
"keywords": [
"react",
"classmate",
"typescript",
"dynamic-classnames",
"dynamic-styles",
"dynamic-variants",
"css",
"css-in-js",
"utility-first",
"utility-first-classnames",
"classname",
"classname-variants",
"frontend",
"ssr",
"tailwind",
"unocss"
],
"license": "MIT",
"type": "module",
"sideEffects": false,
"scripts": {
"========= Root Actions": "",
"clean": "rm -rf dist",
"clean:all": "rm -rf dist && rm -rf .localPack && rm -rf node_modules",
"lefthook": "lefthook install",
"playwright": "npx playwright install",
"prepareE2E": "npm run packLocal && cd docs && npm i ../.localPack && cd ..",
"========= Test": "",
"test-clear": "jest --clearCache",
"test:all": "npm run test-clear && npm run test:src && npm run test:docs",
"test:docs": "npm run prepareE2E && playwright test ./test/docs",
"test:docs-ui": "npm run prepareE2E && playwright test ./test/docs --ui",
"test:src": "npm run build && jest --testPathPattern=test/src",
"========= Lib": "",
"build:base": "npm run clean && npm run bundle",
"build": "npm run build:base && npm run postbuild",
"packLocal": "npm run build:base && npm run postbuild:packLocal",
"package": "npm run build && npm publish",
"postbuild": "npx tsx postbuild.ts",
"postbuild:packLocal": "cross-env MODE=packLocal npx tsx postbuild.ts",
"bundle": "rollup -c",
"========= Docs": "",
"docs:build": "cd docs/ && npm run build",
"docs": "cd docs/ && npm run dev",
"docs:prod": "npm run docs:build && npm run docs:preview",
"docs:preview": "cd docs/ && npm run preview",
"========= gh-pages": "",
"docs:publish": "npm run docs:build"
},
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.js"
}
},
"peerDependencies": {
"react": ">=16.8.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.30.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@biomejs/biome": "1.9.4",
"@playwright/test": "^1.49.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.2 ",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lefthook": "^1.10.1",
"playwright": "^1.49.1",
"rollup": "^4.29.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild-minify": "^1.2.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}