-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
81 lines (81 loc) · 1.92 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
{
"name": "@mora/tinypng",
"version": "0.0.8",
"description": "基于 tinypng 封装的一个支持 `nodejs`、`命令行`和`webpack`的图片压缩工具",
"main": "lib/index.js",
"bin": {
"tinypng": "lib/tinypng-cli.js"
},
"typings": "lib/index.d.ts",
"scripts": {
"test": "jest",
"lint": "tslint src/**.ts",
"build": "tsc",
"preversion": "npm run lint && npm test",
"release": "npm run build && npm version patch -m 'chore: bump patch version'",
"postversion": "git push --follow-tags && snpm publish && cnpm sync @mora/tinypng"
},
"author": "Mora <[email protected]> (https://qiu8310.github.io/)",
"repository": {
"type": "git",
"url": "https://github.com/qiu8310/tinypng"
},
"jest": {
"roots": [
"src"
],
"mapCoverage": true,
"collectCoverage": true,
"coverageReporters": [
"text",
"html"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/helper/"
],
"coverageDirectory": "./coverage",
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"keywords": [
"webpack",
"tinypng",
"plugin",
"node",
"tinypng-cli",
"image",
"minify"
],
"license": "MIT",
"dependencies": {
"fs-extra": "~3.0.1",
"log-update": "2.0.0",
"mora-common": "~0.0.10",
"mora-scripts": "~1.6.4",
"svgo": "~0.7.2",
"tinify": "~1.5.0",
"webpack-sources": "~1.0.1"
},
"devDependencies": {
"@types/fs-extra": "~3.0.2",
"@types/jest": "20.0.2",
"@types/webpack": "3.0.1",
"file-loader": "0.11.2",
"jest": "20.0.4",
"jest-cli": "20.0.4",
"ts-jest": "20.0.6",
"tslint": "5.4.3",
"typescript": "2.4.1",
"url-loader": "0.5.9",
"webpack": "3.0.0"
}
}