-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.54 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": "electron-screenshoter",
"version": "0.1.1",
"description": "a electron screenshot util",
"main": "dist/index.js",
"repository": "git@github.com:Mrminfive/electron-screenshoter.git",
"author": "minfive <chenxiaowu1994@outlook.com> (http://blog.minfive.com/)",
"license": "MIT",
"private": false,
"scripts": {
"dev": "rm -rf ./dev && ts-node ./scripts/dev",
"build": "rm -rf ./dist && CI_ENV=prod ts-node ./scripts/build",
"lint": "eslint --ext .ts --cache .",
"test": "jest --watch",
"test:cov": "jest --coverage"
},
"devDependencies": {
"@jest-runner/electron": "^2.0.3",
"@types/jest": "^25.1.2",
"@types/node": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"electron": "^8.0.0",
"electron-builder": "^22.3.2",
"eslint": "^6.8.0",
"eslint-config-ali": "^9.0.2",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"rollup": "^1.31.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.26.0",
"ts-jest": "^25.2.0",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --cache --fix"
],
"*.{js,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}