-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
199 lines (199 loc) · 5.69 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "rollup-plugin-ts",
"version": "3.4.5",
"description": "A TypeScript Rollup plugin that bundles declarations, respects Browserslists, and enables seamless integration with transpilers such as babel and swc",
"scripts": {
"generate:sandhog": "sandhog all --yes",
"generate:changelog": "standard-changelog --first-release",
"generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog",
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "cross-env NODE_NO_WARNINGS=1 FORCE_COLOR=3 NODE_OPTIONS=\"--loader=tsx --max_old_space_size=6144\" ava",
"prebuild": "pnpm run clean",
"build": "pnpm run prebuild && pnpm run rollup",
"rollup": "tsx rollup.config.ts",
"preversion": "npm run lint && pnpm run build",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn --no-tests",
"update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [
"rollup",
"typescript",
"declaration",
"declarations",
"bundling",
"merging",
"treeshaking",
"plugin",
"babel",
"browserslist"
],
"files": [
"dist/**/*.*"
],
"contributors": [
{
"name": "Frederik Wessberg",
"email": "[email protected]",
"url": "https://github.com/wessberg",
"imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4",
"github": "wessberg",
"role": "Lead Developer",
"twitter": "FredWessberg"
}
],
"license": "MIT",
"devDependencies": {
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@types/babel__core": "^7.20.1",
"@types/node": "^20.4.6",
"@types/prettier": "^2.7.3",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint-plugin-deprecation": "^1.5.0",
"@prettier/sync": "^0.3.0",
"@wessberg/ts-config": "^4.0.0",
"@wessberg/prettier-config": "^1.0.0",
"@babel/core": "^7.22.9",
"@babel/runtime": "^7.22.6",
"@babel/preset-env": "^7.22.9",
"@babel/preset-typescript": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.9",
"@swc/core": "^1.3.74",
"@swc/helpers": "^0.5.1",
"ava": "^5.3.1",
"cross-env": "^7.0.3",
"babel-preset-minify": "^0.5.2",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.5",
"helpertypes": "^0.0.19",
"husky": "^8.0.3",
"memfs": "^4.2.0",
"np": "^8.0.4",
"npm-check-updates": "^16.10.17",
"pnpm": "^8.6.11",
"prettier": "^3.0.1",
"lint-staged": "^13.2.3",
"rimraf": "^5.0.1",
"sandhog": "^2.0.2",
"semver": "^7.5.4",
"standard-changelog": "^3.0.0",
"tsx": "^3.12.7",
"typescript": "^5.1.6",
"typescript-3-4-1": "npm:[email protected]",
"typescript-3-5-1": "npm:[email protected]",
"typescript-3-6-2": "npm:[email protected]",
"typescript-3-7-2": "npm:[email protected]",
"typescript-3-8-3": "npm:[email protected]",
"typescript-3-9-2": "npm:[email protected]",
"typescript-4-0-3": "npm:[email protected]",
"typescript-4-1-2": "npm:[email protected]",
"typescript-4-2-4": "npm:[email protected]",
"typescript-4-3-5": "npm:[email protected]",
"typescript-4-4-2": "npm:[email protected]",
"typescript-4-5-4": "npm:[email protected]",
"typescript-4-6-4": "npm:[email protected]",
"typescript-4-7-2": "npm:[email protected]",
"typescript-4-8-2": "npm:[email protected]",
"typescript-4-9-4": "npm:[email protected]",
"typescript-5-0-4": "npm:[email protected]",
"rollup": "^3.27.0",
"rollup_3_15_0": "npm:[email protected]"
},
"dependencies": {
"@rollup/pluginutils": "^5.0.2",
"@wessberg/stringutil": "^1.0.19",
"browserslist": "^4.21.10",
"browserslist-generator": "^2.1.0",
"ansi-colors": "^4.1.3",
"compatfactory": "^3.0.0",
"crosspath": "^2.0.0",
"magic-string": "^0.30.2",
"ts-clone-node": "^3.0.0",
"tslib": "^2.6.1"
},
"peerDependencies": {
"@babel/core": ">=7.x",
"@babel/runtime": ">=7.x",
"@babel/preset-env": ">=7.x",
"@babel/preset-typescript": ">=7.x",
"@babel/plugin-transform-runtime": ">=7.x",
"@swc/core": ">=1.x",
"@swc/helpers": ">=0.2",
"rollup": ">=1.x || >=2.x || >=3.x",
"typescript": ">=3.2.x || >= 4.x || >= 5.x"
},
"peerDependenciesMeta": {
"@babel/core": {
"optional": true
},
"@babel/runtime": {
"optional": true
},
"@babel/preset-env": {
"optional": true
},
"@babel/preset-typescript": {
"optional": true
},
"@babel/plugin-transform-runtime": {
"optional": true
},
"@swc/core": {
"optional": true
},
"@swc/helpers": {
"optional": true
}
},
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"types": "./dist/esm/index.d.ts"
},
"type": "module",
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"funding": {
"type": "github",
"url": "https://github.com/wessberg/rollup-plugin-ts?sponsor=1"
},
"repository": {
"type": "git",
"url": "https://github.com/wessberg/rollup-plugin-ts.git"
},
"bugs": {
"url": "https://github.com/wessberg/rollup-plugin-ts/issues"
},
"engines": {
"node": ">=16.15.1",
"npm": ">=7.0.0",
"yarn": ">=1.13",
"pnpm": ">=3.2.0"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": "@wessberg/prettier-config",
"ava": {
"files": [
"test/**/*.test.ts"
],
"concurrency": 1,
"verbose": true,
"timeout": "400s",
"extensions": {
"ts": "module"
}
}
}