swc/ecmascript/parser/Cargo.toml
David Sherret b72901b5e0
Support parsing declare properties (#897)
swc_ecma_ast:
 - ClassProperty.declare

swc_ecma_parser:
- Parsing for declare class props.
- Error when parsing a private property with a declare modifier.

Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-07-26 12:53:41 +09:00

44 lines
1.1 KiB
TOML

[package]
name = "swc_ecma_parser"
version = "0.30.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/swc-project/swc.git"
documentation = "https://swc-project.github.io/rustdoc/swc_ecma_parser/"
description = "Feature-complete es2019 parser."
edition = "2018"
include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
[features]
default = []
[dependencies]
swc_atoms = { version = "0.2", path ="../../atoms" }
swc_common = { version = "0.7.0", path ="../../common" }
swc_ecma_ast = { version = "0.25.0", path ="../ast" }
swc_ecma_parser_macros = { version = "0.4.1", path ="./macros" }
swc_ecma_visit = { version = "0.10.0", path ="../visit" }
enum_kind = { version = "0.2", path ="../../macros/enum_kind" }
unicode-xid = "0.2"
log = "0.4"
either = { version = "1.4" }
serde = { version = "1", features = ["derive"] }
smallvec = "1"
once_cell = "1"
regex = "1"
num-bigint = "0.2"
[dev-dependencies]
testing = { version = "0.7", path ="../../testing" }
env_logger = "0.7"
walkdir = "2"
serde_json = "1"
pretty_assertions = "0.6"
[[example]]
name = "lexer"
[[example]]
name = "typescript"