@bookbox/view-html
Version:
Bookbox view for html
46 lines (45 loc) • 1.57 kB
JSON
{
"name": "@bookbox/view-html",
"version": "0.5.0",
"description": "Bookbox view for html",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/esm/index.d.ts",
"files": [
"build",
"README.md"
],
"scripts": {
"build-esm": "tsc -p tsconfig-publish-esm.json",
"build-cjs": "tsc -p tsconfig-publish-cjs.json",
"build": "npm run build-cjs; npm run build-esm; . scripts/copyStatic.sh",
"prepare-template": ". scripts/prepareTemplate.sh",
"examples:prepare": "cd examples; ts-node elements-list.ts; ts-node simple-list.ts; cp -R resources browser; cp -R resources nodejs",
"examples:node-build": "cd examples/nodejs; ts-node run.ts",
"examples:browser-dev": "cd examples/browser; vite",
"listen-deps": "onchange -d 3000 'node_modules/@bookbox/core/dist/index.js' 'node_modules/@bookbox/generator-js/build/esm/index.js' --no-exclude -- npm run build",
"listen-code": "onchange -d 3000 'src/**/*' -- npm run build"
},
"keywords": [
"bookbox",
"html"
],
"dependenciesComment": "reorder dependencies for priority, last order will be actual",
"dependencies": {
"@bookbox/core": "^0.4.0",
"highlight.js": "^11.6.0",
"katex": "^0.16.0"
},
"devDependencies": {
"@bookbox/generator-js": "^0.3.0",
"@types/katex": "^0.16.0",
"@types/node": "^22.1.0",
"onchange": "^7.1.0",
"ts-node": "^10.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vite-plugin-singlefile": "^2.2.0"
},
"author": "Alexandr Nikolaichev",
"license": "MIT"
}