@readium/shared
Version:
Shared models to be used across other Readium projects and implementations in Typescript
75 lines (74 loc) • 1.64 kB
JSON
{
"name": "@readium/shared",
"version": "2.0.0",
"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": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./types/src/index.d.ts"
}
},
"files": [
"dist",
"src",
"types"
],
"engines": {
"node": ">=18"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "jest",
"size": "size-limit"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "50 KB"
}
],
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.22.5",
"@size-limit/file": "^11.1.4",
"@types/jest": "^29.5.10",
"babel-jest": "^29.0.0",
"css-selector-generator": "^3.6.4",
"jest": "^29.7.0",
"size-limit": "^11.1.4",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^4.5.5"
}
}