-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1 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
{
"name": "swc-plugin-cjs2esm",
"version": "0.1.0",
"description": "swc plugin to convert commonjs modules to esm",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/mjs/index.js"
}
},
"files": [
"dist",
"types"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc -b tsconfig.json tsconfig-cjs.json",
"test": "rm -rf build && node test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mohdovais/swc-plugin-cjs2esm.git"
},
"author": "Mohd Ovais",
"license": "MIT",
"bugs": {
"url": "https://github.com/mohdovais/swc-plugin-cjs2esm/issues"
},
"homepage": "https://github.com/mohdovais/swc-plugin-cjs2esm#readme",
"devDependencies": {
"@swc/core": "^1.2.143",
"@types/node": "^17.0.18",
"react": "^17.0.2",
"typescript": "^4.5.5"
},
"keywords": [
"commonjs",
"esm"
]
}