-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
135 lines (135 loc) · 3.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
126
127
128
129
130
131
132
133
134
135
{
"name": "bunchee",
"version": "6.0.4",
"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": "jest --env node",
"test:ci": "pnpm test -- --ci",
"test:update": "TEST_UPDATE_SNAPSHOT=1 pnpm test",
"test:post": "cross-env POST_BUILD=1 pnpm jest test/compile.test.ts test/integration.test.ts",
"docs:dev": "next dev docs",
"docs:build": "next build docs",
"clean": "rm -rf ./dist",
"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
},
"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.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-wasm": "^6.2.2",
"@rollup/pluginutils": "^5.1.3",
"@swc/core": "^1.9.3",
"@swc/helpers": "^0.5.11",
"clean-css": "^5.3.3",
"glob": "^11.0.0",
"magic-string": "^0.30.14",
"ora": "^8.0.1",
"picomatch": "^4.0.2",
"pretty-bytes": "^5.6.0",
"rollup": "^4.27.4",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-swc3": "^0.11.1",
"rollup-preserve-directives": "^1.1.3",
"tslib": "^2.7.0",
"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/jest": "^0.2.31",
"@swc/types": "^0.1.9",
"@types/clean-css": "^4.2.11",
"@types/jest": "29.0.0",
"@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",
"jest": "29.0.1",
"lint-staged": "^15.2.2",
"next": "^15.0.4",
"picocolors": "^1.0.0",
"prettier": "^3.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.6.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json,yml,yaml}": "prettier --write"
},
"jest": {
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"bunchee": "<rootDir>/src/index.ts"
},
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest"
]
},
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/test/integration/.*/*src"
],
"testTimeout": 60000
},
"packageManager": "[email protected]"
}