@xg4/text2image
Version:
convert text to image by canvas
75 lines (74 loc) • 2.02 kB
JSON
{
"name": "@xg4/text2image",
"version": "1.0.0",
"description": "convert text to image by canvas",
"keywords": [
"URL",
"canvas",
"convert",
"image",
"lightweight",
"text"
],
"homepage": "https://github.com/xg4/text2image#readme",
"bugs": {
"url": "https://github.com/xg4/text2image/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xg4/text2image.git"
},
"license": "MIT",
"author": "xg4 <xingor4@gmail.com>",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:types && npm run build:js",
"build:js": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"clean": "rimraf dist",
"prepare": "husky install",
"start": "rollup -c -w",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add"
],
"*.{json,md,yml}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.1",
"@rollup/plugin-node-resolve": "13.3.0",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/commit-analyzer": "9.0.2",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.4",
"@semantic-release/npm": "9.0.1",
"@semantic-release/release-notes-generator": "10.0.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.75.7",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "19.0.3",
"typescript": "^4.7.4"
}
}