-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 2.4 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
76
77
78
79
80
81
82
83
{
"name": "swc-plugin-vanilla-extract",
"version": "0.0.2",
"description": "",
"main": "./target/wasm32-wasi/release/swc_plugin_vanilla_extract.wasm",
"napi": {
"name": "swc",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"files": [
"package.json",
"README.md",
"LICENSE",
"target/wasm32-wasi/release/swc_plugin_vanilla_extract.wasm"
],
"scripts": {
"prepublishOnly": "npm-run-all test && npm run build:plugin -- --release",
"build:all": "npm-run-all build:customtransform build:plugin",
"build:customtransform": "napi build --platform --cargo-cwd ./spec/swc-vanilla-custom-transform",
"build:plugin": "cargo build -p swc-plugin-vanilla-extract --target wasm32-wasi",
"test:plugin": "npm-run-all build:all && jest",
"test:customtransform": "npm-run-all build:all && cross-env SWC_TRANSFORM_CUSTOM=1 jest",
"test": "npm-run-all test:plugin test:customtransform",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/swc-plugin-vanilla-extract"
},
"keywords": [
"SWC",
"plugin",
"vanilla-extract"
],
"author": "OJ Kwon <kwon.ohjoong@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/swc-plugin-vanilla-extract/issues"
},
"homepage": "https://github.com/kwonoj/swc-plugin-vanilla-extract#readme",
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-typescript": "^7.18.6",
"@napi-rs/cli": "^2.11.0",
"@swc-node/register": "^1.5.4",
"@swc/core": "^1.3.15",
"@taplo/cli": "^0.4.2",
"@types/jest": "^29.0.0",
"@types/node": "^18.6.5",
"babel-jest": "^29.0.2",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"jest": "^29.0.2",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.0",
"typescript": "^4.6.2"
},
"lint-staged": {
"*.{js,ts,css,md}": "prettier --write",
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt --"
]
}
}