-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.86 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.86 KB
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
{
"name": "react-painter",
"version": "1.0.1",
"description": "A React component for drawing in a canvas",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"lint": "eslint 'src/**/*.{ts,tsx}'",
"build": "tsup",
"prepublishOnly": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"demo": "cd demo && npm run dev",
"demo:build": "cd demo && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aml2610/react-painter.git"
},
"keywords": [
"react",
"canvas",
"drawing"
],
"author": {
"name": "Andrei-Marius Longhin",
"email": "andrei.longhin1@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/aml2610/react-painter/issues"
},
"homepage": "https://github.com/aml2610/react-painter#readme",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitest/coverage-v8": "^1.6.1",
"core-js": "^2.5.4",
"eslint": "^8.57.0",
"jest-canvas-mock": "^2.5.0",
"jsdom": "^24.0.0",
"prettier": "^1.19.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"vitest": "^1.0.0"
},
"prettier": {
"singleQuote": true,
"printWidth": 90
}
}