anki/ts/package.json
Damien Elmes c891f45ed9 add Jest for TS unit tests
@hgiesel the reason no files were being found is because Jest ignores
symlinks by default. The Bazel example includes a patch we can use
to work around it, and Jest plan to add symlink support in a future
update.

https://github.com/bazelbuild/rules_nodejs/blob/stable/examples/jest/patches/jest-haste-map%2B24.9.0.patch

https://github.com/facebook/jest/pull/9351
2021-03-28 19:41:20 +10:00

76 lines
2.3 KiB
JSON

{
"name": "anki",
"version": "0.1.0",
"private": true,
"author": "Ankitects Pty Ltd and contributors",
"license": "AGPL-3.0-or-later",
"description": "Anki JS support files",
"devDependencies": {
"@bazel/esbuild": "=3.2.2",
"@bazel/typescript": "=3.2.2",
"@bazel/worker": "=3.2.2",
"@pyoner/svelte-types": "^3.4.4-2",
"@sqltools/formatter": "^1.2.2",
"@tsconfig/svelte": "^1.0.10",
"@types/d3": "^6.3.0",
"@types/diff": "^5.0.0",
"@types/jest": "^26.0.22",
"@types/jquery": "^3.5.0",
"@types/jqueryui": "^1.12.13",
"@types/lodash": "^4.14.162",
"@types/lodash.throttle": "^4.1.6",
"@types/long": "^4.0.1",
"@types/node": "^14.14.20",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"diff": "^5.0.0",
"escodegen": "^2.0.0",
"eslint": "^6.7.2",
"espree": "^7.3.1",
"estraverse": "^5.2.0",
"glob": "^7.1.6",
"jest-cli": "^24.9",
"jsdoc": "^3.6.6",
"license-checker-rseidelsohn": "=1.1.2",
"minimist": "^1.2.5",
"patch-package": "^6.4.7",
"prettier": "^2.1.2",
"prettier-plugin-svelte": "^1.4.0",
"sass": "^1.32.6",
"semver": "^7.3.4",
"svelte": "^3.25.0",
"svelte-check": "^1.0.61",
"svelte-preprocess": "^4.6.9",
"svelte2tsx": "^0.1.133",
"tmp": "^0.2.1",
"tslib": "^2.0.3",
"typescript": "^3.9.7",
"uglify-js": "^3.13.1"
},
"scripts": {
"fix": "prettier --write */*.ts */*.svelte",
"postinstall": "patch-package"
},
"dependencies": {
"@fluent/bundle": "^0.15.1",
"bootstrap": "^5.0.0-beta2",
"bootstrap-icons": "^1.4.0",
"css-browser-selector": "^0.6.5",
"d3": "^6.5.0",
"intl-pluralrules": "^1.2.2",
"jquery": "^3.5.1",
"jquery-ui-dist": "^1.12.1",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"mathjax": "^3.1.2",
"protobufjs": "^6.10.2"
},
"files": [
"dist/*"
]
}