-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
116 lines (116 loc) · 2.73 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
{
"name": "electron-preferences",
"version": "2.8.2",
"description": "A simple, consistent interface for managing user preferences within an Electron application.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/tkambler/electron-preferences.git"
},
"keywords": [
"electron",
"preferences"
],
"files": [
"index.js",
"preload.js",
"build"
],
"scripts": {
"lint": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"test": "echo \"Error: argh, you called my bluff. We don't have any tests yet :(\" && exit 1",
"example": "cd example && electron main.js",
"prepare": "npm run build",
"build": "rimraf ./build && webpack",
"build:dev": "rimraf ./build && webpack --mode development",
"build:example": "npm run build && npm run example"
},
"author": "Tim Ambler <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.5",
"cache-loader": "^4.1.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"electron": "^23.1.3",
"eslint": "^8.25.0",
"eslint-plugin-react": "^7.31.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"style-loader": "^3.3.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"xo": "^0.52.4"
},
"dependencies": {
"eventemitter2": "^6.4.9",
"load-json-file": "^6.2.0",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react-color": "^2.19.3",
"react-modal": "^3.16.1",
"serialize-javascript": "^6.0.0",
"write-json-file": "^4.3.0"
},
"xo": {
"envs": [
"node",
"browser"
],
"rules": {
"array-bracket-spacing": [
"error",
"always"
],
"padded-blocks": [
"error",
{
"blocks": "always",
"switches": "always",
"classes": "always"
}
],
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": "multiline-block-like",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "return"
}
],
"no-redeclare": 0,
"object-curly-spacing": [
"error",
"always"
],
"semi": [
2,
"always"
],
"space-in-parens": [
"error",
"never"
],
"unicorn/prefer-module": 0
},
"semicolon": true
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
}