-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
44 lines (44 loc) · 1.84 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
{
"name": "osu-collector-dl",
"version": "2.7.7",
"main": "./dist/index.js",
"scripts": {
"build": "yarn run clean-folder && yarn run build-app && yarn run cp-build",
"start": "yarn build-ts && node .",
"lint": "prettier --check . && eslint .",
"lint-fix": "eslint . --fix",
"prettier": "prettier --write \"**/*.{ts,json,yml,yaml,md}\"",
"prebuild-ts": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build-ts": "yarn prebuild-ts && tsc -p .",
"build-app-win": "yarn build-ts && pkg -t node16-win -o ./build/win-x64/osu-collector-dl.exe ./dist/index.js --public",
"build-app-linux": "yarn build-ts && pkg -t node16-linux -o ./build/linux-arm64/osu-collector-dl ./dist/index.js --public",
"build-app": "yarn build-app-win && yarn build-app-linux",
"cp-build-win": "cp ./{LICENSE,README.md} ./build/win-x64/ && cp ./config.json.example ./build/win-x64/config.json",
"cp-build-linux": "cp ./{LICENSE,README.md} ./build/linux-arm64/ && cp ./config.json.example ./build/linux-arm64/config.json",
"cp-build": "yarn cp-build-win && yarn cp-build-linux",
"clean-folder": "rm -rf ./build"
},
"license": "MIT",
"dependencies": {
"chalk": "4.1.2",
"csbinary": "^2.1.4",
"p-queue": "6.6.2",
"prompt-sync": "^4.2.0",
"tslib": "^2.4.1",
"undici": "5.28.5"
},
"devDependencies": {
"@types/node": "^18.0.6",
"@types/prompt-sync": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.49.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "latest",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"prettier": "^2.8.3",
"typescript": "^4.9.4"
},
"packageManager": "yarn@3.2.1"
}