-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.45 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
{
"name": "swc-plugin-unassert",
"version": "0.1.0",
"description": "SWC plugin for unassert: Encourages programming with assertions by providing tools to compile them away",
"author": {
"name": "Takuto WADA",
"email": "takuto.wada@gmail.com",
"url": "https://github.com/twada"
},
"homepage": "https://github.com/unassert-js/swc-plugin-unassert",
"bugs": "https://github.com/unassert-js/swc-plugin-unassert/issues",
"repository": {
"type": "git",
"url": "https://github.com/unassert-js/swc-plugin-unassert.git"
},
"license": "MIT",
"keywords": [
"swc-plugin",
"DbC",
"assert",
"unassert"
],
"main": "./swc_plugin_unassert.wasm",
"files": [
"swc_plugin_unassert.wasm",
"src",
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"package.json"
],
"devDependencies": {
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2"
},
"scripts": {
"test": "cargo test",
"example": "npm run example:cli",
"example:cli": "RUST_BACKTRACE=1 swc ./tests/fixtures/MemberExpression/input.mts",
"build": "npm run build:release && npm run build:cp",
"build:cp": "cp ./target/wasm32-wasi/release/swc_plugin_unassert.wasm ./swc_plugin_unassert.wasm",
"build:release": "cargo build-wasi --release",
"version": "cargo-set-version set-version $(cat ./package.json | jq -r '.version') && git add ./Cargo.toml && git add ./Cargo.lock",
"prepack": "npm run build"
},
"preferUnplugged": true
}