-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
116 lines (116 loc) · 3.14 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
{
"name": "bunchee",
"version": "6.3.2",
"description": "zero config bundler for js/ts/jsx libraries",
"bin": "./dist/bin/cli.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "vitest run",
"test:update": "TEST_UPDATE_SNAPSHOT=1 pnpm test",
"test:post": "cross-env POST_BUILD=1 pnpm test test/compile.test.ts test/integration.test.ts",
"docs:dev": "next dev docs",
"docs:build": "next build docs",
"clean": "rm -rf ./dist",
"new-test": "node ./scripts/new-test.js",
"typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
"prepare-release": "pnpm clean && pnpm build",
"publish-local": "pnpm prepare-release && pnpm test && pnpm publish",
"prepublishOnly": "pnpm prepare-release && chmod +x ./dist/bin/cli.js",
"run-ts": "cross-env SWC_NODE_IGNORE_DYNAMIC=1 node -r @swc-node/register",
"ts-bunchee": "pnpm run-ts ./src/bin/index.ts",
"build-dir": "pnpm ts-bunchee --cwd",
"build": "pnpm run-ts ./src/bin/index.ts --runtime node",
"format": "prettier --write .",
"prepare": "husky"
},
"type": "commonjs",
"keywords": [
"bundler",
"javascript",
"bundle",
"typescript",
"jsx",
"zero-config",
"library",
"css",
"web",
"server components"
],
"files": [
"dist",
"*.md"
],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"engines": {
"node": ">= 18.0.0"
},
"author": "huozhi (github.com/huozhi)",
"repository": {
"type": "git",
"url": "https://github.com/huozhi/bunchee.git"
},
"license": "MIT",
"dependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-wasm": "^6.2.2",
"@rollup/pluginutils": "^5.1.3",
"@swc/core": "^1.10.7",
"@swc/helpers": "^0.5.11",
"clean-css": "^5.3.3",
"fast-glob": "^3.3.3",
"magic-string": "^0.30.17",
"ora": "^8.0.1",
"picomatch": "^4.0.2",
"pretty-bytes": "^5.6.0",
"rollup": "^4.30.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-swc3": "^0.11.1",
"rollup-preserve-directives": "^1.1.3",
"tslib": "^2.8.1",
"yargs": "^17.7.2"
},
"peerDependencies": {
"typescript": "^4.1 || ^5.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"@swc/helpers": {
"optional": true
}
},
"devDependencies": {
"@huozhi/testing-package": "1.0.0",
"@swc-node/register": "^1.10.9",
"@swc/types": "^0.1.17",
"@types/clean-css": "^4.2.11",
"@types/node": "^22.9.3",
"@types/picomatch": "^3.0.1",
"@types/react": "19.0.1",
"@types/yargs": "^17.0.33",
"bunchee": "link:./",
"cross-env": "^7.0.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"next": "^15.0.4",
"picocolors": "^1.0.0",
"prettier": "3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.7.2",
"vitest": "^3.0.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json,yml,yaml}": "prettier --write"
},
"packageManager": "[email protected]"
}