-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
75 lines (75 loc) · 2.33 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
{
"name": "@modern-js/swc-plugins",
"description": "SWC support for modern-js and rspack",
"homepage": "https://modernjs.dev",
"bugs": "https://github.com/modern-js-dev/swc-plugins/issues",
"repository": "modern-js-dev/swc-plugins",
"license": "MIT",
"main": "./binding.js",
"types": "./types/index.d.ts",
"version": "0.6.11",
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@napi-rs/cli": "^2.15.2",
"@storybook/addon-links": "^6.5.12",
"@types/node": "^18.7.1",
"dotenv-cli": "^6.0.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"react-bootstrap": "^2.5.0",
"tsno": "^2.0.0",
"vite": "^3.2.2",
"vitest": "^0.24.4"
},
"peerDependencies": {
"@swc/helpers": ">=0.5.3"
},
"peerDependenciesMeta": {
"@swc/helpers": {
"optional": true
}
},
"engines": {
"node": ">=14.17.6"
},
"packageManager": "[email protected]",
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --cargo-cwd crates/binding --platform --js index.js --dts unused.d.ts --release --features plugin",
"build:no-plugin": "napi build --cargo-cwd crates/binding --platform --js index.js --dts unused.d.ts --release",
"build:dev": "napi build --cargo-cwd crates/binding --platform --js index.js --dts unused.d.ts",
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
"test": "echo Enable test when fix CI, GLIB3.22 not found",
"vitest": "vitest run",
"version": "napi version",
"release": "changeset publish --no-git-checks",
"changeset": "changeset",
"build:wasm:import": "cd packages/plugin-import && npm run wasm",
"build:wasm:react-const-elements": "cd packages/react-const-elements && npm run wasm",
"build:wasm": "rustup target add wasm32-wasi && npm run build:wasm:import && npm run build:wasm:react-const-elements"
},
"napi": {
"name": "swc-plugins",
"triples": {
"defaults": false,
"additional": [
"aarch64-unknown-linux-musl",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"aarch64-apple-darwin",
"x86_64-apple-darwin"
]
}
},
"publishConfig": {
"access": "public"
},
"files": [
"types/",
"binding.js",
"index.js"
]
}