-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
128 lines (128 loc) · 3.27 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
{
"name": "bunchee",
"version": "6.0.0-rc.1",
"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:update": "TEST_UPDATE_SNAPSHOT=1 pnpm test",
"test:post": "cross-env POST_BUILD=1 pnpm jest test/compile.test.ts test/integration.test.ts",
"test:ci": "[ -z $CI ] || pnpm test",
"clean": "rm -rf ./dist",
"typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
"prepublishOnly": "pnpm clean && pnpm build && chmod +x ./dist/bin/cli.js && pnpm test:ci",
"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.0",
"@swc/core": "^1.9.3",
"@swc/helpers": "^0.5.11",
"clean-css": "^5.3.3",
"glob": "^11.0.0",
"magic-string": "^0.30.11",
"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.9.0",
"@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/yargs": "^17.0.33",
"bunchee": "link:./",
"cross-env": "^7.0.3",
"husky": "^9.0.11",
"jest": "29.0.1",
"lint-staged": "^15.2.2",
"picocolors": "^1.0.0",
"prettier": "^3.0.0",
"react": "^18.3.1",
"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]"
}