-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.54 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.54 KB
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
{
"name": "vite-plugin-require-transform",
"version": "1.0.19",
"description": "A plugin for vite that convert from require syntax to import that compat for es module.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"package.json"
],
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"test": "ts-node __test__/index.ts",
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"watch": "tsup src/index.ts --format cjs,esm --dts --clean --watch",
"ver": "npm version patch",
"pub": "npm run build && npm run ver && npm publish --registry=https://registry.npmjs.org",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WarrenJones/vite-plugin-require-transform.git"
},
"keywords": [
"vite",
"vite-plugin",
"require"
],
"author": "warrenjones",
"license": "ISC",
"bugs": {
"url": "https://github.com/WarrenJones/vite-plugin-require-transform/issues"
},
"homepage": "https://github.com/WarrenJones/vite-plugin-require-transform#readme",
"dependencies": {
"@babel/generator": "^7.22.5",
"@babel/parser": "^7.22.5",
"@babel/traverse": "^7.22.5",
"@babel/types": "^7.22.5"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/node": "^16.11.6",
"glob": "^7.2.0",
"ts-node": "^10.4.0",
"tsup": "^6.7.0",
"typescript": "^4.4.4"
}
}