forked from electron/forge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
177 lines (177 loc) · 6.06 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "electron-forge",
"version": "6.0.0-beta.58",
"private": true,
"license": "MIT",
"engines": {
"node": ">= 12.13.0"
},
"bolt": {
"workspaces": [
"packages/api/*",
"packages/installer/*",
"packages/maker/*",
"packages/publisher/*",
"packages/utils/*",
"packages/plugin/*",
"packages/template/*"
]
},
"scripts": {
"clean": "rimraf dist && bolt ws exec -- rimraf dist",
"prebuild": "bolt clean && ts-node tools/link-ts.ts && ts-node tools/copy-shared-types.ts && tsc --project ./tsconfig.packages.json --emitDeclarationOnly && ts-node tools/copy-types.ts",
"build": "yarn build:quick",
"build:quick": "bolt ws exec -- node_modules/.bin/babel src -d dist --quiet --extensions \".ts\" --config-file ../../../.babelrc",
"postbuild": "ts-node tools/test-dist",
"commit": "git-cz",
"coverage:fast": "xvfb-maybe cross-env INTEGRATION_TESTS=0 TS_NODE_FILES=true nyc mocha './tools/test-globber.ts' && nyc report --reporter=text-lcov > coverage.lcov",
"coverage:slow": "xvfb-maybe cross-env TS_NODE_FILES=true nyc mocha './tools/test-globber.ts' --integration && nyc report --reporter=text-lcov > coverage.lcov",
"docs": "bolt docs:generate && bolt docs:position",
"docs:generate": "bolt ws exec -- node_modules/.bin/typedoc --out doc --excludeExternals --ignoreCompilerErrors --mode file --excludePrivate --excludeProtected --hideGenerator",
"docs:position": "ts-node tools/position-docs.ts",
"docs:deploy": "ts-node tools/sync-readmes.ts && bolt docs && ts-node tools/copy-now.ts && cd docs && now && now alias",
"docs:deploy:ci": "ts-node tools/sync-readmes.ts && bolt docs && ts-node tools/copy-now.ts && cd docs && now --token $NOW_TOKEN && now alias --token $NOW_TOKEN",
"lint": "eslint --ext .ts .",
"test": "xvfb-maybe cross-env TS_NODE_FILES=true mocha './tools/test-globber.ts'",
"test:fast": "xvfb-maybe cross-env TEST_FAST_ONLY=1 TS_NODE_FILES=true mocha './tools/test-globber.ts'",
"postinstall": "rimraf node_modules/.bin/*.ps1 && ts-node tools/link-ts.ts"
},
"dependencies": {
"@doyensec/electronegativity": "^1.9.1",
"@electron/get": "^1.9.0",
"@malept/cross-spawn-promise": "^2.0.0",
"@octokit/core": "^3.2.4",
"@octokit/rest": "^18.0.11",
"@octokit/types": "^6.1.2",
"@types/which": "^2.0.0",
"aws-sdk": "^2.472.0",
"colors": "^1.4.0",
"commander": "^4.1.1",
"cross-spawn": "^7.0.3",
"cross-zip": "^4.0.0",
"debug": "^4.3.1",
"electron-osx-sign": "^0.5.0",
"electron-packager": "^15.0.0",
"electron-rebuild": "^2.3.2",
"express": "^4.17.1",
"express-ws": "^5.0.2",
"find-up": "^5.0.0",
"form-data": "^4.0.0",
"fs-extra": "^10.0.0",
"glob": "^7.1.5",
"global": "^4.3.2",
"html-webpack-plugin": "^5.3.1",
"inquirer": "^8.0.0",
"lodash": "^4.17.20",
"log-symbols": "^4.0.0",
"mime-types": "^2.1.25",
"node-fetch": "^2.6.0",
"nugget": "^2.0.1",
"open": "^8.1.0",
"ora": "^5.0.0",
"parse-author": "^2.0.0",
"pretty-ms": "^7.0.0",
"resolve-package": "^1.0.1",
"semver": "^7.2.1",
"source-map-support": "^0.5.13",
"sudo-prompt": "^9.1.1",
"username": "^5.1.0",
"webpack": "^5.37.0",
"webpack-dev-server": "^4.0.0-beta.3",
"webpack-merge": "^5.7.3",
"which": "^2.0.2",
"xterm": "^4.9.0",
"xterm-addon-fit": "^0.5.0",
"xterm-addon-search": "^0.8.0",
"yarn-or-npm": "^3.0.1"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.10",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/chai-as-promised": "^7.1.2",
"@types/cross-spawn": "^6.0.1",
"@types/debug": "^4.1.5",
"@types/express": "^4.17.9",
"@types/express-ws": "^3.0.0",
"@types/fetch-mock": "^7.3.1",
"@types/fs-extra": "^9.0.6",
"@types/glob": "^7.1.3",
"@types/inquirer": "^7.3.0",
"@types/listr": "^0.14.2",
"@types/lodash": "^4.14.166",
"@types/mime-types": "^2.1.0",
"@types/minimist": "^1.2.0",
"@types/mocha": "^8.0.4",
"@types/node": "^16.3.1",
"@types/node-fetch": "^2.5.5",
"@types/proxyquire": "^1.3.28",
"@types/semver": "^7.3.4",
"@types/sinon": "^10.0.0",
"@types/sinon-chai": "^3.2.5",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"babel-plugin-source-map-support": "^2.1.2",
"chai": "^4.3.3",
"chai-as-promised": "^7.0.0",
"commitizen": "^4.2.1",
"cross-env": "^7.0.2",
"cz-customizable": "^6.3.0",
"electron-installer-common": "^0.10.2",
"eslint": "^7.16.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-mocha": "^9.0.0",
"fetch-mock": "^9.10.7",
"generate-changelog": "^1.8.0",
"globby": "^11.0.1",
"husky": "^7.0.1",
"lint-staged": "^11.0.0",
"listr": "^0.14.1",
"minimist": "^1.2.5",
"mocha": "^9.0.1",
"nodemon": "^2.0.3",
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.1",
"sinon": "^11.1.1",
"sinon-chai": "^3.6.0",
"ts-node": "^10.0.0",
"typedoc": "^0.21.0",
"typescript": "~4.0.2",
"xvfb-maybe": "^0.2.1"
},
"optionalDependencies": {
"@malept/electron-installer-flatpak": "^0.11.2",
"electron-installer-debian": "^3.0.0",
"electron-installer-dmg": "^3.0.0",
"electron-installer-redhat": "^3.2.0",
"electron-installer-snap": "^5.1.0",
"electron-windows-store": "^2.1.0",
"electron-winstaller": "^5.0.0",
"electron-wix-msi": "^3.0.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./.cz.js"
}
},
"lint-staged": {
"*.ts": "eslint --ext .ts --fix"
},
"nyc": {
"exclude": [
"packages/*/*/test/**/*.{js,ts}",
"tools/*.ts"
],
"extends": "@istanbuljs/nyc-config-typescript"
}
}