generated from BosenY/node-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.25 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
{
"name": "diff-image",
"version": "0.0.3",
"description": "Compare two images using pixelmatch.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"authors": [
"boseny <[email protected]> (https://github.com/BosenY)"
],
"scripts": {
"dev": "father dev",
"demo": "vite",
"build": "father build",
"build:deps": "father prebundle",
"prepublishOnly": "father doctor && npm run build",
"pub": "yarn publish",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "https://github.com/BosenY/diff-image"
},
"license": "ISC",
"files": [
"dist",
"compiled"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@release-it/conventional-changelog": "^5.1.1",
"babel-plugin-add-module-exports": "^1.0.4",
"father": "^4.1.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"release-it": "*",
"vite": "^4.0.2",
"yorkie": "^2.0.0"
},
"dependencies": {
"pixelmatch": "^5.3.0"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"gitHooks": {
"pre-commit": "lint-staged"
}
}