-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
59 lines (59 loc) · 1.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "canvas-txt",
"version": "4.1.1",
"description": "Render multiline textboxes in HTML5 canvas with auto line breaks and better alignment system",
"files": [
"dist"
],
"scripts": {
"dev": "vite serve --config config/vite.config.docs.ts",
"dev:node": "vite-node ./src/node-test.ts",
"build": "tsc && vite build --emptyOutDir --config config/vite.config.ts && yarn build:dts",
"build:dts": "tsup src/canvas-txt/index.ts --dts-only && mv dist/index.d.ts dist/canvas-txt.d.ts",
"build:docs": "tsc && vite build --config config/vite.config.docs.ts",
"prepare": "yarn build"
},
"main": "./dist/canvas-txt.umd.js",
"module": "./dist/canvas-txt.mjs",
"types": "./dist/canvas-txt.d.ts",
"exports": {
".": {
"import": "./dist/canvas-txt.mjs",
"require": "./dist/canvas-txt.umd.js",
"types": "./dist/canvas-txt.d.ts"
}
},
"repository": {
"type": "git",
"url": "https://github.com/geongeorge/Canvas-Txt"
},
"author": "Geon George <me@geongeorge.com> (https://geongeorge.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/geongeorge/Canvas-Txt/issues"
},
"homepage": "https://canvas-txt.geongeorge.com",
"keywords": [
"vue",
"react",
"library",
"canvas",
"Multiline",
"es6"
],
"devDependencies": {
"@types/lodash": "^4.14.182",
"@vitejs/plugin-vue": "^3.0.1",
"canvas": "^2.11.2",
"element-plus": "^2.2.12",
"lodash": "^4.17.21",
"tsup": "^7.2.0",
"typescript": "^4.7.4",
"unplugin-auto-import": "^0.11.0",
"unplugin-vue-components": "^0.22.0",
"vite": "^4.4.4",
"vite-node": "^0.33.0",
"vue": "^3.2.37"
},
"dependencies": {}
}