forked from electron-userland/electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 3.46 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
{
"name": "@electron-builder/monorepo",
"private": true,
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "pnpm pretest"
}
},
"lint-staged": {
"packages/**/*.ts": "pnpm lint",
"**/package.json": "pnpm lint-deps",
"test/src/helpers/checkDeps.ts": "pnpm lint-deps"
},
"scripts": {
"//": "do not wrap into single quotes - windows doesn't unwrap arg in this case",
"compile": "tsc --build",
"lint": "eslint packages --ext .ts",
"lint-deps": "node ./test/out/helpers/checkDeps.js",
"pretest": "pnpm compile && pnpm lint && pnpm lint-deps",
"prettier": "prettier 'packages/**/*.{ts, js}' 'test/src/**/*.ts' --write",
"///": "Please see https://github.com/electron-userland/electron-builder/blob/master/CONTRIBUTING.md#run-test-using-cli how to run particular test instead full (and very slow) run",
"test": "node ./test/out/helpers/runTests.js skipArtifactPublisher ALL_TESTS=isCi",
"test-all": "pnpm pretest && node ./test/out/helpers/runTests.js",
"test-linux": "docker run --rm -ti -e UPDATE_SNAPSHOT=${UPDATE_SNAPSHOT:-false} -e TEST_FILES=\"${TEST_FILES:-HoistedNodeModuleTest}\" -v $(pwd):/project -v $(pwd)-node-modules:/project/node_modules -v $HOME/Library/Caches/electron:/root/.cache/electron -v $HOME/Library/Caches/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine /bin/bash -c \"pnpm i && pnpm test-all\"",
"test-update": "UPDATE_SNAPSHOT=true pnpm test-all",
"docker-images": "docker/build.sh",
"release": "pnpm compile && ./scripts/publish-packages.sh && conventional-changelog-cli conventional-changelog -p angular -i CHANGELOG.md -s",
"schema": "typescript-json-schema packages/app-builder-lib/tsconfig.json Configuration --out packages/app-builder-lib/scheme.json --noExtraProps --useTypeOfKeyword --strictNullChecks --required && node ./scripts/fix-schema.js",
"jsdoc": "ts2jsdoc packages/builder-util-runtime packages/builder-util packages/app-builder-lib packages/electron-builder packages/electron-publish",
"jsdoc2md": "node scripts/jsdoc2md.js",
"/////": "git clone --single-branch -b docs [email protected]:electron-userland/electron-builder.git docs",
"docs": "tsc -p ./scripts/renderer/tsconfig.json && pnpm jsdoc && pnpm jsdoc2md",
"deploy-docs": "mkdocs build --clean && netlifyctl deploy --publish-directory site",
"////": "pip3 install mkdocs-material mkdocs pymdown-extensions markdown-include Pygments --upgrade",
"postinstall": "husky install"
},
"//": "repository must be specified otherwise conventional-changelog will use forked repo (currently cloned)",
"repository": "https://github.com/electron-userland/electron-builder",
"///": "All dependencies for all packages (hoisted)",
"////": "All typings are added into root `package.json` to avoid duplication errors in the IDE compiler (several `node.d.ts` files).",
"dependencies": {
"dmg-license": "~1.0.8"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"fs-extra": "^9.1.0",
"globby": "^11.0.2",
"husky": "5.1.3",
"jest-cli": "^26.6.3",
"jsdoc-to-markdown": "^7.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"ts-jsdoc": "^3.2.0",
"typescript": "~4.2.3",
"typescript-json-schema": "^0.50.0",
"v8-compile-cache": "^2.3.0"
}
}