345bb18575
Rather than including all of this external code in the PDF.js repository, we should be using the npm package instead. Unfortunately this is slightly more complicated than you'd hope, since the `fit-curve` package (which is older) isn't directly compatible with modern JavaScript modules. In particular, the following cases needed to be considered: - For the development viewer (i.e. `gulp server`) and the unit-tests, we thus need to build a fitCurve-bundle that can be directly `import`ed. - For the actual PDF.js build-targets, we can slightly reduce the sizes by depending on the "raw" `fit-curve` source-code. - For the Node.js unit-tests, the `fit-curve` package can be used as-is.
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"spec_dir": "build/lib-legacy/test/unit",
|
|
|
|
"helpers": [
|
|
"clitests_helper.js"
|
|
],
|
|
|
|
"spec_files": [
|
|
"annotation_spec.js",
|
|
"annotation_storage_spec.js",
|
|
"api_spec.js",
|
|
"base_viewer_spec.js",
|
|
"bidi_spec.js",
|
|
"cff_parser_spec.js",
|
|
"cmap_spec.js",
|
|
"colorspace_spec.js",
|
|
"core_utils_spec.js",
|
|
"crypto_spec.js",
|
|
"custom_spec.js",
|
|
"default_appearance_spec.js",
|
|
"display_svg_spec.js",
|
|
"display_utils_spec.js",
|
|
"document_spec.js",
|
|
"editor_spec.js",
|
|
"encodings_spec.js",
|
|
"evaluator_spec.js",
|
|
"event_utils_spec.js",
|
|
"function_spec.js",
|
|
"message_handler_spec.js",
|
|
"metadata_spec.js",
|
|
"murmurhash3_spec.js",
|
|
"network_utils_spec.js",
|
|
"node_stream_spec.js",
|
|
"parser_spec.js",
|
|
"pdf_find_controller_spec.js",
|
|
"pdf_find_utils_spec.js",
|
|
"pdf_history_spec.js",
|
|
"primitives_spec.js",
|
|
"stream_spec.js",
|
|
"struct_tree_spec.js",
|
|
"text_layer_spec.js",
|
|
"type1_parser_spec.js",
|
|
"ui_utils_spec.js",
|
|
"unicode_spec.js",
|
|
"util_spec.js",
|
|
"writer_spec.js",
|
|
"xfa_formcalc_spec.js",
|
|
"xfa_parser_spec.js",
|
|
"xfa_serialize_data_spec.js",
|
|
"xfa_tohtml_spec.js",
|
|
"xml_spec.js"
|
|
]
|
|
}
|