forked from baidu/mix-img
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.3 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
{
"name": "mix-img",
"version": "1.0.6",
"description": "A fast mix image javascript tool libary",
"module": "dist/index.min.js",
"browser": "dist/umd/index.umd.js",
"files": [
"dist"
],
"scripts": {
"dev": "npm run test:e2e",
"lint": "eslint src/** --ignore-path .gitignore",
"build": "rollup -c scripts/rollup.config.js",
"build:umd": "cross-env NODE_ENV=build:umd rollup -c scripts/rollup.umd.config.js",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:e2e": "rollup -c scripts/rollup.e2e.config.js -w",
"prepublishOnly": "npm run build && npm run build:umd",
"tool": "sh ./scripts/tool.sh"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.js": [
"eslint"
]
}
},
"author": "zhenghaiwang",
"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/eslint-parser": "^7.13.4",
"@babel/eslint-plugin": "^7.12.1",
"@babel/plugin-proposal-async-generator-functions": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-proposal-pipeline-operator": "^7.5.0",
"@babel/plugin-transform-modules-commonjs": "^7.13.0",
"@babel/preset-env": "^7.11.0",
"@ecomfe/eslint-config": "^7.0.0",
"@ecomfe/stylelint-config": "^1.1.1",
"babel-eslint": "^11.0.0-beta.0",
"core-js": "^3.6.5",
"cross-env": "^5.2.0",
"eslint": "^7.17.0",
"husky": "^4.3.7",
"internal-ip": "^6.2.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.0",
"lint-staged": "^8.1.0",
"rollup": "^2.39.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.0",
"san": "^3.10.1",
"stylelint": "^13.13.1"
},
"engine": {
"node": ">= 8"
},
"dependencies": {
"md5": "^2.3.0",
"qrcodejs2-fixes": "0.0.2"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/baidu/mix-img.git"
}
}