forked from agilgur5/react-signature-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.36 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
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
{
"name": "react-signature-canvas",
"version": "1.0.5",
"description": "A React wrapper component around signature_pad. Unopinionated and heavily updated fork of react-signature-pad",
"source": "src/index.tsx",
"main": "dist/index.umd.min.js",
"module": "dist/index.mjs",
"exports": {
"require": "./dist/index.umd.min.js",
"default": "./dist/index.mjs"
},
"typings": "dist/index.d.ts",
"files": [
"src/",
"dist/"
],
"author": "Anton Gilgur",
"license": "Apache-2.0",
"homepage": "https://github.com/agilgur5/react-signature-canvas",
"repository": {
"type": "git",
"url": "https://github.com/agilgur5/react-signature-canvas.git"
},
"bugs": {
"url": "https://github.com/agilgur5/react-signature-canvas/issues"
},
"funding": {
"url": "https://github.com/sponsors/agilgur5"
},
"keywords": [
"react",
"react-component",
"component",
"signature",
"sign",
"e-sign",
"e-signature",
"canvas",
"trim",
"whitespace",
"draw",
"pad",
"wrapper",
"signature-pad",
"react-signature-pad"
],
"scripts": {
"start": "parcel example/public/index.html --open",
"clean": "rm -rf dist/ && rm -f *.tgz",
"clean:build": "npm run clean && npm run build",
"build": "concurrently -n rollup,tsc \"npm run build:rollup\" \"npm run build:types\"",
"build:rollup": "rollup -c rollup.config.ts --configPlugin rollup-plugin-typescript2",
"build:types": "tsc -p tsconfig.build.json",
"build:watch": "concurrently -n rollup,tsc \"npm run build:rollup -- -w\" \"npm run build:types -- -w\"",
"tsc": "tsc",
"lint": "ts-standard",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:pub": "npm run clean:build && npm pack",
"prepub": "concurrently -n test-pub,test-cov,tsc \"npm run test:pub\" \"npm run test:coverage\" \"npm run tsc\"",
"pub": "npm run clean:build && npm publish",
"changelog": "changelog-maker"
},
"peerDependencies": {
"prop-types": "^15.5.8",
"react": "0.14 - 18",
"react-dom": "0.14 - 18"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"@types/prop-types": "^15.7.3",
"@types/react": "^18.0.12",
"signature_pad": "^4.1.5",
"trim-canvas": "^0.1.0"
},
"devDependencies": {
"@agilgur5/changelog-maker": "^3.0.0",
"@agilgur5/tsconfig": "^0.0.1",
"@babel/core": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@jest/globals": "^27.5.1",
"@jest/types": "^27.5.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@testing-library/react": "^13.3.0",
"canvas": "^2.9.1",
"concurrently": "^7.1.0",
"jest": "^27.5.1",
"jest-config": "^27.5.1",
"package-json-type": "^1.0.3",
"parcel": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.70.2",
"rollup-plugin-node-externals": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-node": "^10.7.0",
"ts-standard": "^11.0.0",
"typescript": "^4.6.3",
"window-resizeto": "^0.0.2"
},
"ts-standard": {
"ignore": [
"example"
]
}
}