-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 6.79 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
{
"name": "reddit_app",
"private": true,
"version": "0.0.0",
"scripts": {
"tauri:generate:icon": "npm run tauri icon",
"tauri:info:dependencies": "npm run tauri info",
"npm:check:dependencies": "ncu",
"npm:update:all-packages-major": "ncu -u && npm i",
"cargo:check:dependencies": "cd src-tauri && cargo install cargo-update && cargo install-update -a",
"cargo:check2:dependencies": "cd src-tauri && cargo tree",
"cargo:update:all-packages-minors": "cd src-tauri && cargo update",
"cargo:update:all-packages-major": "cd src-tauri && cargo install cargo-edit && cargo upgrade",
"rust:update": "rustup update",
"rust:print:version": "rustc --version",
"rust:print:targets-installed": "rustup target list",
"rust:print:default-target": "rustup default",
"rust:install:target:windows": "rustup target add x86_64-pc-windows-msvc && rustup target add i686-pc-windows-msvc",
"rust:install:target:macos": "rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin",
"rust:install:target:linux": "rustup target add x86_64-unknown-linux-gnu && rustup target add i686-unknown-linux-gnu && rustup target add aarch64-unknown-linux-gnu",
"dev:web": "npm run dev",
"build:android": "sh scripts/build-android.sh",
"android": "npm run build:android && npx cap run android",
"android:studio": "npm run build:android && npx cap open android",
"dev:desktop": "npm run tauri dev",
"dev:check-compile": "npm run build:vite && cd src-tauri && cargo check",
"type-check": "npm run lint:ts",
"build:vite": "npm run type-check && vite build",
"build:windows:x64": "npm run tauri build -- --target x86_64-pc-windows-msvc",
"build:windows:x86": "npm run tauri build -- --target i686-pc-windows-msvc",
"build:macos:arm64_silicium": "npm run tauri build -- --target aarch64-apple-darwin",
"build:macos:x64_intel": "npm run tauri build -- --target x86_64-apple-darwin",
"build:macos:universal": "npm run tauri build -- --target universal-apple-darwin",
"build:linux:x64": "npm run tauri build -- --target x86_64-unknown-linux-gnu",
"build:linux:x86": "npm run tauri build -- --target i686-unknown-linux-gnu",
"build:linux:arm64": "npm run tauri build -- --target aarch64-unknown-linux-gnu",
"test:unit-e2e:dev:chrome": "npm-run-all --parallel dev cypress-open-chrome test:unit:dev",
"test:unit-e2e:dev:firefox": "npm-run-all --parallel dev cypress-open-firefox test:unit:dev",
"test:unit-e2e:dev:edge": "npm-run-all --parallel dev cypress-open-edge test:unit:dev",
"test:unit-e2e:prod:chrome": "npm-run-all --parallel dev cypress-run-chrome test:unit:prod",
"test:unit-e2e:prod:firefox": "npm-run-all --parallel dev cypress-run-firefox test:unit:prod",
"test:unit-e2e:prod:edge": "npm-run-all --parallel dev cypress-run-edge test:unit:prod",
"test": "vitest run",
"test:unit:dev": "vitest watch --coverage",
"test:unit:dev:gui": "vitest watch --ui --coverage",
"test:unit:prod": "vitest run --coverage",
"test:e2e:prod:chrome": "npm run build:vite && npm-run-all --parallel preview cypress-run-chrome",
"test:e2e:prod:firefox": "npm run build:vite && npm-run-all --parallel preview cypress-run-firefox",
"test:e2e:prod:edge": "npm run build:vite && npm-run-all --parallel preview cypress-run-edge",
"test:e2e:dev:chrome": "npm-run-all --parallel dev cypress-open-chrome",
"test:e2e:dev:firefox": "npm-run-all --parallel dev cypress-open-firefox",
"test:e2e:dev:edge": "npm-run-all --parallel dev cypress-open-edge",
"cypress-open-chrome": "npx cypress open --browser chrome --e2e --config-file cypress.config.ts",
"cypress-open-firefox": "npx cypress open --browser firefox --e2e --config-file cypress.config.ts",
"cypress-open-edge": "npx cypress open --browser edge --e2e --config-file cypress.config.ts",
"cypress-run-chrome": "npx cypress run --browser chrome --e2e --config-file cypress.config.ts",
"cypress-run-firefox": "npx cypress run --browser firefox --e2e --config-file cypress.config.ts",
"cypress-run-edge": "npx cypress run --browser edge --e2e --config-file cypress.config.ts",
"build": "npm run build:vite",
"tauri": "tauri",
"preview": "vite preview --port 1420",
"dev": "vite dev --port 1420",
"git-help": "sh izigit.sh -h",
"git": "sh izigit.sh",
"lint:ts": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore --ignore-pattern android/ . --plugin @typescript-eslint/eslint-plugin",
"lint:style": "stylelint --config .stylelintrc \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
"lintfix": "prettier --write --list-different . && npm run lint:ts --fix && npm run lint:style --fix"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --cache",
"*.{css,scss,sass,html,vue}": "stylelint --ignore-path .stylelintignore",
"*.**": "prettier --check --ignore-unknown"
},
"dependencies": {
"@capacitor/android": "^4.7.0",
"@capacitor/app": "^4.1.1",
"@capacitor/browser": "^4.1.1",
"@capacitor/core": "4.7.0",
"@tauri-apps/api": "^1.2.0",
"@vee-validate/i18n": "^4.7.3",
"@vee-validate/rules": "^4.7.3",
"@webzlodimir/vue-bottom-sheet": "^2.0.2",
"axios": "^1.3.3",
"dompurify": "^3.0.1",
"dotenv": "^16.0.3",
"pinia": "^2.0.32",
"platform": "^1.3.6",
"plyr": "^3.7.3",
"swiper": "^8.4.7",
"vee-validate": "^4.7.4",
"vue": "^3.2.47",
"vue-material-design-icons": "^5.2.0",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@capacitor/assets": "^2.0.4",
"@capacitor/cli": "^4.7.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@rushstack/eslint-patch": "^1.2.0",
"@tauri-apps/cli": "^1.2.3",
"@tauri-apps/tauricon": "^1.0.3",
"@types/axios-mock-adapter": "^1.10.0",
"@types/jsdom": "^21.1.0",
"@types/node": "^18.14.1",
"@types/platform": "^1.3.4",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitest/coverage-c8": "^0.29.2",
"@vitest/ui": "^0.29.2",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0",
"@vue/tsconfig": "^0.1.3",
"axios-mock-adapter": "^1.21.2",
"cypress": "^12.7.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3",
"jsdom": "^21.1.0",
"mochawesome": "^7.1.3",
"npm-check-updates": "^16.7.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"sass": "^1.58.3",
"sass-loader": "^13.2.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^29.0.0",
"typescript": "^4.9.5",
"vite": "^4.0.0",
"vitest": "^0.29.2",
"vue-tsc": "^1.1.4"
}
}