-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.02 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
{
"name": "niconizer",
"version": "0.0.0-development",
"description": "A desktop application that displays plain text, images, or any other HTML content on the screen, like nicovideo or bilibili.",
"keywords": [
"bilibili",
"comment",
"desktop",
"electron",
"gadget",
"nicovideo"
],
"repository": "github:matzkoh/niconizer",
"license": "MIT",
"main": "dist/app/index.js",
"bin": {
"niconizer": "dist/bin/index.js"
},
"files": [
"dist/app",
"dist/bin"
],
"scripts": {
"build": "npm-run-all clean -p build:*",
"build:parcel": "parcel build --no-source-maps --public-url .",
"clean": "rimraf dist",
"clean:package": "rimraf dist/package",
"dev:content": "parcel serve src/content/index.html",
"fix": "run-p fix:*",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix:stylelint": "npm run lint:stylelint -- --fix",
"postinstall": "husky install",
"lint": "run-p lint:*",
"lint:eslint": "eslint .",
"lint:prettier": "prettier -c .",
"lint:stylelint": "stylelint .",
"lint:type": "tsc",
"package": "npm-run-all clean:package -p package:* -s zip",
"package-base": "electron-packager . --overwrite --asar --ignore \"^/(?!dist(/app(/|$)|$)|node_modules(/|$)|package\\.json$)\" --out dist/package --download.cacheRoot .electron",
"package:linux": "npm run package-base -- --platform linux --arch x64",
"package:mac": "npm run package-base -- --platform darwin --arch x64",
"package:win": "npm run package-base -- --platform win32 --arch x64",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"start": "electron .",
"test": "npm run lint",
"zip": "ts-node-script script/postpackage.ts"
},
"dependencies": {
"electron": "33.2.1",
"file-uri-to-path": "2.0.0",
"pkg-dir": "8.0.0",
"ws": "8.18.0"
},
"devDependencies": {
"@parcel/transformer-sass": "2.13.2",
"@types/node": "22.10.1",
"@types/ws": "8.5.13",
"@typescript-eslint/eslint-plugin": "8.17.0",
"@typescript-eslint/parser": "8.17.0",
"electron-packager": "17.1.2",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-unicorn": "56.0.1",
"eslint": "8.57.1",
"husky": "9.1.7",
"lint-staged": "15.2.10",
"npm-run-all2": "7.0.1",
"parcel": "2.13.2",
"pinst": "3.0.0",
"postcss": "8.4.49",
"prettier-plugin-packagejson": "2.5.6",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"sass": "1.82.0",
"stylelint": "16.11.0",
"stylelint-config-recess-order": "5.1.1",
"stylelint-config-standard-scss": "13.1.0",
"ts-node": "10.9.2",
"typescript": "5.7.2"
},
"packageManager": "[email protected]",
"targets": {
"main": false,
"app": {
"context": "electron-main",
"source": "src/app/index.ts"
},
"cli": {
"context": "node",
"source": "src/bin/index.ts",
"distDir": "dist/bin"
}
}
}