-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.03 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
{
"name": "inline-functions",
"version": "0.0.1",
"description": "This library allows you to inline functions in your JS/TS code. This is useful for performance reasons, as it allows you to avoid function calls and instead inline the function body directly. It provides plugins for Vite, Rollup and esbuild.",
"type": "module",
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./vite": {
"import": "./dist/vite.js",
"require": "./dist/vite.cjs"
},
"./esbuild": {
"import": "./dist/esbuild.js",
"require": "./dist/esbuild.cjs"
},
"./rollup": {
"import": "./dist/rollup.js",
"require": "./dist/rollup.cjs"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"vite": [
"./dist/vite.d.ts"
],
"esbuild": [
"./dist/esbuild.d.ts"
],
"rollup": [
"./dist/rollup.d.ts"
]
}
},
"scripts": {
"build": "vite build",
"pretest": "npm run build:test",
"test": "vitest run",
"benchmark": "node test/benchmark.js",
"build:test:esbuild": "node test/esbuild.js",
"build:test:rollup": "rollup -c test/rollup.config.ts --configPlugin typescript",
"build:test:vite": "vite build --config test/vite.config.ts",
"build:test": "npm run build:test:esbuild && npm run build:test:rollup && npm run build:test:vite"
},
"peerDependencies": {
"esbuild": "^0.17.0",
"rollup": "^3.26.1",
"vite": "^4.3.9"
},
"keywords": [
"performance",
"inline",
"vite",
"rollup",
"esbuild"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/pluginutils": "^5.0.2",
"benny": "^3.7.1",
"esbuild": "^0.17.19",
"rollup": "^3.26.1",
"tslib": "^2.6.0",
"vite": "^4.3.9",
"vite-plugin-dts": "^3.0.3",
"vitest": "^0.32.4"
}
}