Skip to content

Commit

Permalink
feat(visit): initial impl
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Jul 27, 2023
0 parents commit 3dabd28
Show file tree
Hide file tree
Showing 5 changed files with 437 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/target
/Cargo.lock
/node_modules
/test/parser/**/_actual.json
*.log
/test/**/_actual.*
18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "woodpile"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
swc_core = { version = "0.79.28", features = ["ecma_visit", "ecma_visit_path", "ecma_ast_serde"] }

wasm-bindgen = {version = "0.2.87", features = [] }
serde = {version = "1.0.175", features = ["derive"]}
serde-wasm-bindgen = {version = "0.5.0"}
js-sys = {version = "0.3.64" }
paste = {version = "1.0.14" }

getrandom = {version = "0.2.10", features = ["js"] }
300 changes: 300 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "woodpile",
"version": "0.0.1",
"description": "",
"main": "test.js",
"scripts": {
"build": "wasm-pack build --dev --target nodejs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/woodpile.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/woodpile/issues"
},
"homepage": "https://github.com/kwonoj/woodpile#readme",
"devDependencies": {
"@swc/core": "^1.3.71"
}
}
Loading

0 comments on commit 3dabd28

Please sign in to comment.