-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
122 lines (122 loc) · 3.23 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
117
118
119
120
121
122
{
"name": "elecrun",
"version": "2.4.3",
"description": "elecrun is a tool to run your electron app easily.",
"main": "build/main/src/index.js",
"bin": {
"electron-run": "bin/elecrun.js",
"elecrun": "bin/elecrun.js"
},
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/jctaoo/elecrun",
"license": "MIT",
"keywords": [
"typescript",
"esbuild",
"vite",
"electron"
],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "xvfb-maybe run-s test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "jest",
"watch:build": "tsc -p tsconfig.json -w",
"cov": "run-s test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:lcov": "nyc report --reporter=lcov",
"cov:send": "run-s cov:lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 20 --functions 20 --branches 20",
"doc": "vite docs",
"version": "standard-version",
"version:major": "standard-version -r major",
"version:minor": "standard-version -r minor",
"version:patch": "standard-version -r patch",
"prepublishOnly": "run-s test"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"colorette": "^2.0.16",
"commander": "^7.2.0",
"esbuild": "^0.14.11",
"process-exists": "^4.0.0",
"vite": "^2.7.12"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/inquirer": "^7.3.1",
"@types/jest": "^27.4.0",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"codecov": "^3.8.3",
"cspell": "^5.15.2",
"cz-conventional-changelog": "^3.3.0",
"electron": "^32.0.1",
"eslint": "^7.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"gh-pages": "^3.2.3",
"jest": "^27.4.7",
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"prettier": "^2.5.1",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.2",
"xvfb-maybe": "^0.2.1"
},
"files": [
"build/main",
"build/main/package.json",
"build/module",
"build/module/package.json",
"!tests/**/*.test.ts",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"peerDependencies": {
"electron": ">=11.0.0"
},
"ava": {
"failFast": true,
"timeout": "60s",
"typescript": {
"rewritePaths": {
"tests/": "build/main/tests/"
}
},
"files": [
"!build/module/**",
"tests/**/*.test.ts"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"tests/**/*.test.js"
]
}
}