rollup-plugin-conditional-compilation 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/index.cjs +6419 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.mjs +6417 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rollup-plugin-conditional-compilation",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"projectType": "library",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Kasukabe Tsumugi",
|
|
7
|
+
"email": "futami16237@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"description": "Conditional Compilation macros like #if #endif in C++.",
|
|
10
|
+
"description_zh": "和C++类似的条件编译语法,使用#if #endif等指令",
|
|
11
|
+
"purpose": "rollup-plugin",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.mjs",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.mjs",
|
|
19
|
+
"require": "./dist/index.cjs",
|
|
20
|
+
"default": "./dist/index.mjs"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"homepage": "https://github.com/baendlorel/rollup-plugin-conditional-compilation#readme",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/baendlorel/rollup-plugin-conditional-compilation"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"deep",
|
|
32
|
+
"clone",
|
|
33
|
+
"reflect",
|
|
34
|
+
"property",
|
|
35
|
+
"path",
|
|
36
|
+
"object",
|
|
37
|
+
"nested",
|
|
38
|
+
"typescript",
|
|
39
|
+
"javascript"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"test": "clear & vitest",
|
|
43
|
+
"mock": "node ./scripts/rollup.mjs && cd tests && rollup -c",
|
|
44
|
+
"lint": "oxlint .",
|
|
45
|
+
"cover": "clear & vitest --coverage",
|
|
46
|
+
"build": "tsx ./.scripts/rollup.ts"
|
|
47
|
+
},
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
51
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
52
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
53
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
54
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
55
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
56
|
+
"@types/node": "^24.3.0",
|
|
57
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
58
|
+
"oxlint": "^1.12.0",
|
|
59
|
+
"prettier": "^3.6.2",
|
|
60
|
+
"rimraf": "^6.0.1",
|
|
61
|
+
"rollup": "^4.46.2",
|
|
62
|
+
"rollup-plugin-const-enum": "^1.1.0",
|
|
63
|
+
"rollup-plugin-dts": "^6.2.3",
|
|
64
|
+
"rollup-plugin-dts-merger": "^1.2.1",
|
|
65
|
+
"rollup-plugin-func-macro": "^1.1.0",
|
|
66
|
+
"tslib": "^2.8.1",
|
|
67
|
+
"typescript": "^5.9.2",
|
|
68
|
+
"vitest": "^3.2.4"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"acorn": "^8.15.0"
|
|
72
|
+
}
|
|
73
|
+
}
|