47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "@mattuy/text-frame",
|
|
"version": "0.1.0",
|
|
"private": false,
|
|
"description": "a javascript tool to split long text into pages, with typesetting prohibition processed and unicode full support.\n一个将长文本分成若干页的js工具,处理排版禁则,支持Unicode",
|
|
"main": "index.js",
|
|
"module": "esm.js",
|
|
"directories": {
|
|
"example": "example"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c rollup.config.js --environment NODE_ENV:development",
|
|
"dist": "rollup -c rollup.config.js --environment NODE_ENV:production",
|
|
"prepublishOnly": "npm run build && npm run dist",
|
|
"debug": "rollup -c rollup.config.js --environment NODE_ENV:development --watch",
|
|
"example": "rollup -c rollup.config.js --environment NODE_ENV:development --environment SERVE"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mattuylee/text-frame.git"
|
|
},
|
|
"keywords": [
|
|
"text pagination",
|
|
"typesetting",
|
|
"canvas",
|
|
"Chinese",
|
|
"文本排版",
|
|
"排版禁则",
|
|
"分页",
|
|
"中文"
|
|
],
|
|
"author": "mattuy <mattuylee@outlook.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/mattuylee/text-frame/issues"
|
|
},
|
|
"homepage": "https://github.com/mattuylee/text-frame#readme",
|
|
"devDependencies": {
|
|
"@rollup/plugin-babel": "^5.2.1",
|
|
"rollup": "^2.28.1",
|
|
"rollup-plugin-serve": "^1.0.4",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.27.3",
|
|
"typescript": "^4.0.3"
|
|
}
|
|
}
|