-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.46 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@fabwcie/drawer",
"description": "Canvas drawer for free hand drawing and more utility tools.",
"author": "Winkler Fabien <[email protected]>",
"contributors": [],
"version": "1.3.1",
"type": "module",
"main": "src/Drawer.ts",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=16.0.0",
"npm": ">=5.7.1"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git://github.com/fabwcie/drawer.git"
},
"browser": "dist/drawer.js",
"keywords": [
"ui",
"canvas",
"draw",
"typescript"
],
"files": [
"dist/*"
],
"exports": {
".": {
"import": "./dist/drawer.js",
"require": "./dist/drawer.umd.cjs"
}
},
"scripts": {
"start": "concurrently \"npm:dev\" \"npm:dev:docs\"",
"dev": "vite build --watch",
"dev:debug": "vite",
"dev:docs": "cd docs/ && npm run start",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest dev",
"format": "prettier src/**/*.ts --write",
"lint": "npx eslint src/**",
"doc:cl": "cp CHANGELOG.md docs/docs",
"doc:api": "node scripts/typedoc.js",
"doc:js": "cp dist/drawer.iife.js docs/static/js && cp dist/style.css docs/static/css",
"prepare": "husky install",
"release": "npm run build && standard-version",
"release:patch": "npm run build && standard-version --release-as patch && git push --follow-tags origin master && npm publish --access public",
"release:minor": "npm run build && standard-version --release-as minor && git push --follow-tags origin master && npm publish --access public",
"release:major": "npm run build && standard-version --release-as major && git push --follow-tags origin master && npm publish --access public",
"deploy": "sh scripts/deploy.sh"
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"concurrently": "^8.2.2",
"eslint": "^8.49.0",
"husky": "^8.0.0",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"standard-version": "^9.5.0",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-dts": "^3.6.0",
"vite-svg-loader": "^5.1.0",
"vitest": "^0.34.3",
"vitest-canvas-mock": "^0.3.3"
},
"dependencies": {
"@melloware/coloris": "^0.21.1"
}
}