-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.78 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.78 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
{
"name": "swc-plugin-import-meta-env",
"version": "1.15.26",
"description": "@swc plugin for handling the transformation of import.meta.env",
"author": "Alex Miller <codex.nz@gmail.com>",
"homepage": "https://github.com/Codex-/swc-plugin-import-meta-env#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Codex-/swc-plugin-import-meta-env.git"
},
"bugs": {
"url": "https://github.com/Codex-/swc-plugin-import-meta-env/issues"
},
"license": "Apache-2.0",
"keywords": [
"swc-plugin",
"import.meta.env"
],
"main": "swc_plugin_import_meta_env.wasm",
"scripts": {
"build": "cargo build-wasip1",
"build:release": "pnpm build --release",
"build:test": "cargo test --no-run",
"preinstall": "npx only-allow pnpm",
"prepublishOnly": "cargo build-wasip1 --release",
"prepack": "pnpm build:release && cp target/wasm32-wasip1/release/swc_plugin_import_meta_env.wasm .",
"release": "release-it",
"test": "pnpm test:setup && pnpm test:unit && pnpm test:integration",
"test:setup": "pnpm build:test && pnpm build && cp target/wasm32-wasip1/debug/swc_plugin_import_meta_env.wasm .",
"test:unit": "cargo test --color always",
"test:integration": "pnpm exec jest --config ./tests/integration/jest.config.cjs --no-cache"
},
"files": [
"swc_plugin_import_meta_env.wasm"
],
"preferUnplugged": true,
"devDependencies": {
"@happy-dom/jest-environment": "20.9.0",
"@swc/core": "1.15.26",
"@swc/jest": "0.2.39",
"@testing-library/react": "16.3.2",
"@types/jest": "30.0.0",
"@types/react": "19.2.14",
"auto-changelog": "2.5.0",
"jest": "30.3.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"release-it": "20.0.0"
},
"peerDependencies": {
"@swc/core": ">=1.15.4"
}
}