-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
116 lines (116 loc) · 3.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
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
{
"name": "vue-signature-pad",
"description": "SignaturePad component for Vue.js",
"version": "3.0.3",
"main": "dist/vue-signature-pad.ssr.js",
"unpkg": "dist/vue-signature-pad.min.js",
"module": "dist/vue-signature-pad.esm.js",
"browser": "dist/vue-signature-pad.esm.js",
"files": [
"dist",
"src/**/*.vue"
],
"scripts": {
"serve": "vue-cli-service serve dev/serve.js",
"test": "jest",
"build": "npm run clean && rollup -c",
"build:ssr": "rollup --config build/rollup.config.js --format cjs",
"build:es": "rollup --config build/rollup.config.js --format es",
"build:unpkg": "rollup --config build/rollup.config.js --format iife",
"lint": "eslint --ext .vue,.js src",
"lint-fix": "eslint --ext .vue,.js src --fix",
"size": "run-s size:*",
"size:cjs": "echo CommonJs gzipped size: $(gzip-size $npm_package_main)",
"size:unpkg": "echo UMD gzipped size: $(gzip-size $npm_package_unpkg)",
"size:esm": "echo ESModule gzipped size: $(gzip-size $npm_package_module)",
"clean": "rimraf dist",
"prepublishOnly": "npm test && npm run lint",
"prepare": "husky install"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"testMatch": [
"<rootDir>/src/*/__tests__/*.spec.js"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "vue-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"verbose": true,
"collectCoverage": true,
"setupFiles": [
"jest-canvas-mock"
]
},
"lint-staged": {
"*.{js,vue}": [
"eslint --fix"
]
},
"author": "Peng Jie <[email protected]> (https://github.com/neighborhood999)",
"repository": {
"type": "git",
"url": "git+https://github.com/neighborhood999/vue-signature-pad.git"
},
"keywords": [
"vue",
"signature",
"component"
],
"bugs": {
"url": "https://github.com/neighborhood999/vue-signature-pad/issues"
},
"dependencies": {
"merge-images": "^1.1.0",
"signature_pad": "^3.0.0-beta.3"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@babel/preset-env": "7.15.0",
"@rollup/plugin-alias": "3.1.5",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "19.0.1",
"@rollup/plugin-node-resolve": "13.0.4",
"@rollup/plugin-replace": "3.0.0",
"@vue/babel-preset-app": "4.5.15",
"@vue/cli-plugin-babel": "4.5.15",
"@vue/cli-service": "4.5.15",
"@vue/compiler-sfc": "3.2.31",
"@vue/test-utils": "2.0.0-rc.17",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-vue": "7.15.1",
"husky": "7.0.1",
"jest": "26.6.3",
"jest-canvas-mock": "2.3.1",
"lint-staged": "11.1.1",
"minimist": "1.2.5",
"npm-run-all": "4.1.5",
"postcss": "8.4.6",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"rollup": "2.67.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-size-snapshot": "0.12.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-vue": "6.0.0",
"vue": "3.2.0",
"vue-jest": "5.0.0-alpha.10"
},
"peerDependencies": {
"vue": "^3.2.0"
},
"engines": {
"node": ">=12"
},
"license": "MIT"
}