forked from szimek/signature_pad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.01 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
{
"name": "signature_pad",
"description": "Library for drawing smooth signatures.",
"version": "4.1.7",
"homepage": "https://github.com/szimek/signature_pad",
"author": {
"name": "Szymon Nowak",
"email": "szimek@gmail.com",
"url": "https://github.com/szimek"
},
"license": "MIT",
"source": "src/signature_pad.ts",
"main": "dist/signature_pad.umd.js",
"module": "dist/signature_pad.js",
"types": "dist/types/signature_pad.d.ts",
"scripts": {
"build": "yarn run lint && yarn run clean && rollup --config && yarn run emit-types && yarn run update-docs",
"clean": "yarn run del dist",
"emit-types": "yarn run del dist/types && yarn run tsc src/signature_pad.ts --lib DOM,ES2015 --declaration --declarationDir dist/types --emitDeclarationOnly",
"format": "prettier --write {src,tests}/**/*.{js,ts}",
"lint": "eslint {src,tests}/**/*.ts",
"prepublishOnly": "yarn run build",
"serve": "serve -l 9000 docs",
"start": "yarn run build && yarn run serve",
"test": "jest --coverage",
"update-docs": "yarn run cp-cli dist/signature_pad.umd.js docs/js/signature_pad.umd.js",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/szimek/signature_pad.git"
},
"files": [
"src",
"dist",
"docs"
],
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.5",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.3",
"@semantic-release/npm": "^11.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"cp-cli": "^2.0.0",
"del": "^7.1.0",
"del-cli": "^5.1.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"rollup": "^4.4.1",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^22.0.7",
"serve": "^14.2.1",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "~5.2.2"
},
"lint-staged": {
"*.ts": "prettier --write"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"resources": "usable",
"url": "http://localhost:3000/"
},
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"setupFiles": [
"jest-canvas-mock"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"packageManager": "yarn@3.2.1"
}