-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
36 lines (36 loc) · 1.22 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
{
"name": "canvas-rich-text",
"version": "1.0.1",
"description": "Library for drawing rich text in Canvas without using SVG's foreignObject.",
"main": "dist/index.js",
"files": [
"dist"
],
"types": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist demo",
"build": "tsc",
"build:demo": "vite build --outDir ../docs/demo --base ./ --emptyOutDir src.demo",
"docs": "typedoc --options typedoc.ts",
"test": "mocha",
"test:watch": "mocha --watch",
"lint": "eslint src/**/*.ts",
"lint-fix": "eslint --fix src/**/*.ts",
"prepare-publish": "npm run clean && npm run lint && npm run build && npm run test && npm run docs && npm run build:demo"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^8.2.3",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"mocha": "^9.0.2",
"ts-node": "^10.1.0",
"typedoc": "^0.21.4",
"typedoc-plugin-as-member-of": "^1.0.2",
"typedoc-twilio-theme": "^1.0.1",
"typescript": "^4.3.2",
"vite": "^2.4.3"
}
}