{ "name": "yomitan", "version": "0.0.0", "description": "Japanese pop-up dictionary extension for Chrome and Firefox.", "directories": { "test": "test" }, "engines": { "node": ">=20.0.0" }, "type": "module", "scripts": { "bench": "vitest bench", "build": "node ./dev/bin/build.js", "build:libs": "node ./dev/bin/build-libs.js", "test": "npm run test:js && npm run test:ts && npm run test:css && npm run test:html && npm run test:unit && npm run test:unit:options && npm run test:json && npm run test:md && npm run test:build", "test:fast": "npm run test:js && npm run test:ts && npm run test:unit && npm run test:json:format", "test:static-analysis": "npm run test:js && npm run test:ts && npm run test:css && npm run test:html && npm run test:json && npm run test:md", "test:js": "npx eslint . --ignore-pattern **/*.json", "test:json": "npm run test:json:format && npm run test:json:types", "test:json:format": "npx eslint **/*.json", "test:json:types": "vitest run --config test/data/vitest.json.config.json", "test:css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"", "test:html": "npx html-validate \"ext/**/*.html\" \"test/**/*.html\" \"dev/**/*.html\"", "test:md": "prettier . --check", "test:md:write": "prettier . --write", "test:ts": "npm run test:ts:main && npm run test:ts:dev && npm run test:ts:test && npm run test:ts:bench", "test:ts:main": "npx tsc --noEmit --project jsconfig.json", "test:ts:dev": "npx tsc --noEmit --project dev/jsconfig.json", "test:ts:test": "npx tsc --noEmit --project test/jsconfig.json", "test:ts:bench": "npx tsc --noEmit --project benches/jsconfig.json", "test:unit": "vitest run", "test:unit:write": "vitest run --config test/data/vitest.write.config.json", "test:unit:options": "vitest run --config test/data/vitest.options.config.json", "test:build": "node ./dev/bin/build.js --dryRun --all", "license-report:html": "license-report --output=html --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link --html.cssFile=dev/data/legal-npm.css > ext/legal-npm.html", "license-report:markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/themoeway/yomitan.git" }, "license": "GPL-3.0-or-later", "licenses": [ { "type": "GPL-3.0-or-later", "url": "https://www.gnu.org/licenses/gpl-3.0.html" } ], "bugs": { "url": "https://github.com/themoeway/yomitan/issues" }, "homepage": "https://github.com/themoeway/yomitan/", "webExt": { "sourceDir": "ext" }, "devDependencies": { "@codspeed/vitest-plugin": "^3.1.0", "@playwright/test": "^1.44.1", "@stylistic/eslint-plugin": "^1.6.3", "@stylistic/stylelint-plugin": "^2.1.2", "@types/assert": "^1.5.10", "@types/browserify": "^12.0.40", "@types/chrome": "^0.0.268", "@types/css": "^0.0.37", "@types/events": "^3.0.3", "@types/firefox-webext-browser": "^120.0.3", "@types/jsdom": "^21.1.6", "@types/node": "20.11.5", "@types/wanakana": "^5.3.0", "@types/zip.js": "^2.0.33", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^6.21.0", "@vitest/coverage-v8": "1.2.2", "ajv": "^8.14.0", "css": "^3.0.0", "dotenv": "^16.4.5", "esbuild": "^0.21.4", "eslint": "^8.57.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsdoc": "^48.2.7", "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-sonarjs": "^0.24.0", "eslint-plugin-unicorn": "^51.0.1", "eslint-plugin-unused-imports": "^3.1.0", "eslint-plugin-vitest": "0.3.22", "fake-indexeddb": "^5.0.2", "handlebars": "^4.7.8", "html-validate": "^8.19.1", "husky": "^9.0.11", "jsdom": "^24.1.0", "jszip": "^3.10.1", "license-report": "^6.5.0", "lint-staged": "^15.2.5", "prettier": "^3.2.5", "stylelint": "^16.2.1", "stylelint-config-recommended": "^14.0.0", "ts-json-schema-generator": "^1.5.0", "typescript": "^5.4.5", "vitest": "1.2.2" }, "dependencies": { "@zip.js/zip.js": "^2.7.45", "dexie": "^3.2.5", "dexie-export-import": "^4.1.2", "hangul-js": "^0.2.6", "parse5": "^7.1.2", "wanakana": "^5.3.1", "yomitan-handlebars": "git+https://github.com/themoeway/yomitan-handlebars.git#12aff5e3550954d7d3a98a5917ff7d579f3cce25" }, "lint-staged": { "*.md": "prettier --write" } }