-
Notifications
You must be signed in to change notification settings - Fork 302
/
Copy pathpackage.json
104 lines (104 loc) · 2.6 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
{
"name": "nw-builder",
"version": "4.0.11",
"description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
"keywords": [
"NW.js",
"node-webkit",
"Desktop",
"Application"
],
"author": {
"name": "Steffen Müller",
"email": "[email protected]",
"url": "https://github.com/steffenmllr"
},
"license": "MIT",
"exports": {
"default": "./src/nwbuild.js"
},
"type": "module",
"files": [
"./src",
"./LICENSE"
],
"homepage": "https://github.com/nwutils/nw-builder",
"repository": {
"type": "git",
"url": "https://github.com/nwutils/nw-builder.git"
},
"scripts": {
"format": "prettier --write \"./**/*.{css,html,js,json,md}\"",
"lint": "eslint ./src",
"docs": "jsdoc ./src/nwbuild.js -d docs",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:e2e": "cd ./test/e2e && node bld.js && node run.js",
"demo:cli": "cd ./test/e2e && nwbuild ./nwapp/* ./nwapp/**/* --mode=build --version=latest --flavor=normal --platform=linux --arch=x64 --outDir=./build/cli",
"demo:nix": "cd test/e2e && node nix.js",
"demo:osx": "cd ./test/e2e && node osx.js",
"demo:win": "cd ./test/e2e && node win.js"
},
"devDependencies": {
"eslint": "^8.25.0",
"eslint-config-tjw-jsdoc": "^1.0.3",
"jest": "^29.2.0",
"jest-environment-jsdom": "^29.2.0",
"jsdoc": "^4.0.0",
"jsdom": "^21.0.0",
"prettier": "^2.7.1"
},
"dependencies": {
"archiver": "^5.3.1",
"cli-progress": "^3.11.2",
"extract-zip": "^2.0.1",
"glob-promise": "^6.0.0",
"plist": "^3.0.6",
"progress": "^2.0.3",
"rcedit": "^3.0.1",
"tar": "^6.1.11",
"update-notifier": "^6.0.2",
"winston": "^3.8.2",
"yargs": "^17.5.1"
},
"bin": {
"nwbuild": "./src/cli.js"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "consistent",
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "strict",
"endOfLine": "lf",
"singleAttributePerLine": true
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"tjw-jsdoc"
],
"rules": {
"jsdoc/require-file-overview": "off",
"jsdoc/match-description": "off"
}
},
"jest": {
"testEnvironment": "jsdom"
}
}