-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
148 lines (148 loc) · 4.55 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
{
"name": "cjstoesm",
"version": "3.0.0",
"description": "A tool that can transform CommonJS to ESM",
"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,test,script}/**/*.ts\" --color --fix",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "node --import tsx --test \"./test/**/*.test.ts\"",
"prebuild": "pnpm run clean",
"build": "pnpm run prebuild && tsup --entry=\"src/index.ts\" --entry=\"src/cli/index.ts\" --sourcemap --dts --format esm",
"build:built_in_module_map": "node --import tsx script/generate-built-in-module-map.ts",
"preversion": "pnpm run lint && pnpm run build:built_in_module_map && pnpm run build",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
"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": [
"typescript",
"cjs",
"commonjs",
"esm",
"es6",
"es6 modules",
"transformer",
"custom transformer",
"treeshake",
"cli",
"api"
],
"bin": {
"cjstoesm": "bin/cjstoesm.js"
},
"files": [
"bin/**/*.*",
"dist/**/*.*"
],
"contributors": [
{
"name": "Frederik Wessberg",
"email": "[email protected]",
"url": "https://github.com/wessberg",
"imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4",
"role": "Lead Developer",
"twitter": "FredWessberg",
"github": "wessberg"
}
],
"license": "MIT",
"devDependencies": {
"@types/node": "^22.8.4",
"@types/semver": "^7.5.8",
"@types/reserved-words": "^0.1.4",
"@types/resolve": "1.20.6",
"@wessberg/prettier-config": "1.0.0",
"@wessberg/ts-config": "^5.0.20",
"@prettier/sync": "0.5.2",
"@eslint/js": "9.13.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-prettier": "^5.2.1",
"typescript-eslint": "^8.12.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"np": "10.0.7",
"npm-check-updates": "^17.1.9",
"pnpm": "^9.12.3",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"sandhog": "^3.0.2",
"semver": "7.6.3",
"standard-changelog": "^6.0.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-3-2-1": "npm:[email protected]",
"typescript-3-3-1": "npm:[email protected]",
"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]",
"typescript-5-1-6": "npm:[email protected]",
"typescript-5-2-2": "npm:[email protected]",
"typescript-5-3-3": "npm:[email protected]",
"typescript-5-4-5": "npm:[email protected]",
"typescript-5-5-4": "npm:[email protected]",
"typescript-5-6-2": "npm:[email protected]"
},
"dependencies": {
"@wessberg/stringutil": "^1.0.19",
"ansi-colors": "^4.1.3",
"commander": "^12.1.0",
"compatfactory": "^4.0.4",
"crosspath": "^2.0.0",
"fast-glob": "^3.3.2",
"helpertypes": "^0.0.19",
"reserved-words": "^0.1.2",
"resolve": "^1.22.8"
},
"peerDependencies": {
"typescript": ">=3.2.x || >= 4.x || >= 5.x"
},
"exports": {
"import": "./dist/index.js"
},
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/wessberg/cjstoesm.git"
},
"bugs": {
"url": "https://github.com/wessberg/cjstoesm/issues"
},
"engines": {
"node": ">=18.20.0"
},
"funding": {
"type": "github",
"url": "https://github.com/wessberg/cjstoesm?sponsor=1"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": "@wessberg/prettier-config"
}