-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
43 lines (43 loc) · 1.07 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
{
"name": "farm-plugin-example",
"version": "0.0.0",
"main": "scripts/index.js",
"types": "scripts/index.d.ts",
"type": "module",
"license": "MIT",
"devDependencies": {
"@farmfe/plugin-tools": "latest"
},
"napi": {
"name": "farm_plugin_xxx",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc",
"aarch64-pc-windows-msvc"
]
}
},
"exports": {
".": {
"import": "./scripts/func.js",
"types": "./scripts/index.d.ts",
"default": "./scripts/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"dev": "cargo watch -w src -s 'scripts/watch.sh'",
"bump": "npx changeset version",
"play": "pnpm --filter playground dev",
"build": "farm-plugin-tools build --platform --cargo-name farm_plugin_xxx -p farm_plugin_xxx --release",
"prepublishOnly": "farm-plugin-tools prepublish"
},
"files": [
"scripts",
"options.d.ts"
]
}