-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.15 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
{
"name": "picture_bank",
"version": "0.1.0",
"license": "MIT",
"main": "main/index.js",
"author": {
"name": "kuanggf"
},
"description": "a picture hoisting",
"keywords": [
"vite",
"react",
"electron",
"typescript"
],
"repository": {
"url": "https://github.com/MANSOUL/picture-bank"
},
"productName": "picture_bank",
"scripts": {
"dev": "concurrently \"yarn dev:vite\" \" yarn dev:electron\"",
"dev:vite": "vite",
"dev:electron": "npm run build:electron && electron .",
"build": "npm run build:vite && npm run build:electron",
"build:vite": "vite build",
"build:electron": "tsc -p electron",
"dist": "npm run build && electron-builder",
"pack": "npm run build && electron-builder --dir",
"clean": "rimraf dist main src/out",
"type-check": "tsc",
"lint": "eslint . --ext js,jsx,ts,tsx",
"lint:fix": "eslint . --ext js,jsx,ts,tsx --fix"
},
"dependencies": {
"@vitejs/plugin-react": "^1.2.0",
"dexie": "^3.2.1",
"dexie-react-hooks": "^1.1.1",
"electron-is-dev": "^2.0.0",
"got": "^12.0.2",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.2.2",
"vite": "^2.8.4"
},
"devDependencies": {
"@types/lodash": "^4.14.180",
"@types/node": "^17.0.21",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "5.12.1",
"@typescript-eslint/parser": "5.12.1",
"autoprefixer": "^10.4.2",
"concurrently": "^7.0.0",
"electron": "^17.1.0",
"electron-builder": "^22.14.13",
"eslint": "8.10.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "^7.29.2",
"postcss": "^8.4.7",
"prettier": "2.5.1",
"tailwindcss": "^3.0.23",
"typescript": "^4.5.5"
},
"build": {
"productName": "图存",
"asar": true,
"files": [
"main",
"src/out"
],
"directories": {
"buildResources": "resources"
}
}
}