-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 2.92 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 2.92 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@darthrapid/react-native-simple-canvas",
"version": "1.0.0",
"description": "A simple, lightweight drawing canvas for React Native with SVG-based rendering. Supports freehand drawing, undo/redo, manual and auto-capture to image, customizable stroke styles, and initial image display.",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.tsx",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "bun run --cwd example",
"clean": "del-cli lib",
"prepare": "bob build",
"typecheck": "tsc",
"test": "jest"
},
"keywords": [
"react-native",
"canvas",
"drawing",
"svg",
"freehand",
"undo-redo",
"capture",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/MartinRapcan/react-native-simple-canvas.git"
},
"author": "Martin Rapčan <rapcan.rmartin@gmail.com> (https://github.com/MartinRapcan)",
"license": "MIT",
"bugs": {
"url": "https://github.com/MartinRapcan/react-native-simple-canvas/issues"
},
"homepage": "https://github.com/MartinRapcan/react-native-simple-canvas#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.8.1",
"@react-native/babel-preset": "0.83.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.1.12",
"commitlint": "^19.8.1",
"del-cli": "^6.0.0",
"jest": "^29.7.0",
"lefthook": "^2.0.3",
"react": "19.1.0",
"react-native": "0.81.5",
"react-native-builder-bob": "^0.40.13",
"turbo": "^2.5.6",
"typescript": "^5.9.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-svg": "^15.15.3",
"react-native-view-shot": "^4.0.3"
},
"workspaces": [
"example"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"tsc": "node_modules/typescript/bin/tsc"
}
]
]
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
],
"transformIgnorePatterns": [
"node_modules/(?!(.bun|react-native|@react-native|react-native-svg|react-native-view-shot)/)"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"create-react-native-library": {
"type": "library",
"languages": "js",
"tools": [
"jest",
"lefthook"
],
"version": "0.57.2"
}
}