-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.04 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
{
"name": "babel-plugin-clsx",
"version": "0.3.5",
"description": "Add `clsx()` automatically to `className` in `React` and support `Typescript`.",
"main": "./lib/index.js",
"files": [
"lib",
"jsx",
"LICENSE",
"README.md",
"README.zh-CN.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/zjxxxxxxxxx/babel-plugin-clsx.git"
},
"keywords": [
"babel",
"babel-plugin",
"react",
"jsx",
"clsx",
"classnames"
],
"author": "zjxxxxxxxxx <[email protected]>",
"bugs": {
"url": "https://github.com/zjxxxxxxxxx/babel-plugin-clsx/issues"
},
"homepage": "https://github.com/zjxxxxxxxxx/babel-plugin-clsx#readme",
"license": "MIT",
"scripts": {
"build": "pnpm build:cjs",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir ./lib",
"build:esm": "tsc -p tsconfig.build.json --module esnext --outDir ./es",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"cz": "simple-git-hooks & esno ./scripts/commit.ts",
"play": "esno ./scripts/play.ts",
"format": "prettier -w {src,test,scripts}/**/*.{ts,tsx,js,jsx}",
"release": "esno ./scripts/release.ts",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]",
"dependencies": {
"@babel/core": "^7.22.10",
"@babel/plugin-syntax-jsx": "^7.22.5"
},
"devDependencies": {
"@babel/preset-env": "^7.22.10",
"@jest/globals": "^29.6.2",
"@types/babel__core": "^7.20.1",
"@types/node": "^20.5.0",
"@types/prettier": "^2.7.3",
"@types/react": "17.0.0",
"consola": "^3.2.3",
"conventional-changelog-cli": "^2.2.2",
"enquirer": "^2.4.1",
"esno": "^4.8.0",
"jest": "^29.6.2",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.9.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm typecheck && pnpm test",
"commit-msg": "pnpm esno ./scripts/check-commit.ts"
}
}