@readium/shared
Version:
Shared models to be used across other Readium projects and implementations in Typescript
82 lines (81 loc) • 2 kB
JSON
{
"name": "@readium/shared",
"version": "2.1.5",
"type": "module",
"description": "Shared models to be used across other Readium projects and implementations in Typescript",
"author": "readium",
"repository": {
"type": "git",
"url": "git+https://github.com/readium/ts-toolkit.git",
"directory": "shared"
},
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/readium/ts-toolkit/issues"
},
"homepage": "https://github.com/readium/ts-toolkit",
"keywords": [
"readium",
"epub",
"webpub",
"divina",
"reflowable",
"fixed-layout",
"publication",
"ebook",
"parser",
"tts"
],
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./types/src/index.d.ts",
"exports": {
".": {
"types": "./types/src/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
}
},
"files": [
"dist",
"src",
"types"
],
"engines": {
"node": ">=18"
},
"scripts": {
"dev": "vite",
"clean": "rimraf types dist",
"build": "pnpm clean && tsc && vite build",
"test": "jest",
"size": "size-limit",
"check-locales": "node scripts/check-locales.mjs",
"update-locales": "pnpm remove @edrlab/thorium-locales && pnpm add @edrlab/thorium-locales@github:edrlab/thorium-locales && pnpm check-locales"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "50 KB"
}
],
"dependencies": {
"@edrlab/thorium-locales": "github:edrlab/thorium-locales"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@babel/preset-env": "^7.28.6",
"@babel/preset-typescript": "^7.28.5",
"@size-limit/file": "^12.0.0",
"@types/jest": "^30.0.0",
"babel-jest": "^30.2.0",
"css-selector-generator": "^3.8.0",
"jest": "^30.2.0",
"rimraf": "^6.1.2",
"size-limit": "^12.0.0",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.3.1"
}
}