Anki/ts/domlib/BUILD.bazel
Henrik Giesel 610ef8f043
Save and restore location on ContentEditable (#1481)
* Add utility functions for saving and restoring the caret location

* Implement cross-browser.getSelection

* Save and restore location on ContentEditable

* Fix refocus by clicking on a field that had a non-collapsed selection
2021-11-09 12:53:39 +10:00

24 lines
468 B
Text

load("//ts:typescript.bzl", "typescript")
load("//ts:prettier.bzl", "prettier_test")
load("//ts:eslint.bzl", "eslint_test")
load("//ts:jest.bzl", "jest_test")
typescript(
name = "domlib",
deps = [
"//ts/lib",
"@npm//@fluent/bundle",
"@npm//@types/jest",
"@npm//@types/long",
"@npm//intl-pluralrules",
"@npm//protobufjs",
"@npm//tslib",
],
)
# Tests
################
prettier_test()
eslint_test()