forked from oldj/SwitchHosts
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
154 lines (154 loc) · 4.85 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "switchhosts",
"version": "3.5.7",
"description": "A tool for managing and switching hosts.",
"main": "",
"scripts": {
"test": "nyc ava",
"start": "electron app",
"dev": "cross-env ENV=dev electron app",
"less": "./scripts/less.sh",
"dll": "webpack --config scripts/webpack.dll.js --progress --profile --colors",
"build": "npm run dll && npm run less && npm run build2",
"build2": "webpack --config scripts/webpack.config.js --progress --profile --colors",
"w": "npm run build2 -- -w",
"make": "rm -rf dist/* && node scripts/make.js",
"build-and-make": "npm run build && npm run make"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oldj/SwitchHosts.git"
},
"author": "oldj",
"license": "MIT",
"bugs": {
"url": "https://github.com/oldj/SwitchHosts/issues"
},
"homepage": "https://oldj.github.io/SwitchHosts/",
"dependencies": {
"@ant-design/compatible": "^1.0.5",
"@ant-design/icons": "^4.2.2",
"antd": "^4.5.4",
"classnames": "^2.2.6",
"codemirror": "^5.57.0",
"lodash": "^4.17.20",
"moment": "^2.27.0",
"react": "^16.13.1",
"react-codemirror": "^1.0.0",
"react-dom": "^16.13.1",
"sortablejs": "^1.10.2"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-do-expressions": "^7.10.4",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-proposal-function-bind": "^7.10.5",
"@babel/plugin-proposal-function-sent": "^7.10.4",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-pipeline-operator": "^7.10.5",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/plugin-transform-object-assign": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.10.5",
"@svgr/webpack": "^5.4.0",
"autoprefixer": "^9.8.6",
"ava": "^3.11.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.13.0",
"chalk": "^4.1.0",
"connect-history-api-fallback": "^1.6.0",
"copy-webpack-plugin": "^6.0.3",
"cross-env": "^7.0.2",
"css-loader": "^4.2.1",
"dotenv": "^8.2.0",
"electron": "^11.2.0",
"electron-builder": "^22.9.1",
"electron-notarize": "^1.0.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-html": "^6.0.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-standard": "^4.0.1",
"eventsource-polyfill": "^0.9.6",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^6.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"function-bind": "^1.1.1",
"html-webpack-plugin": "^4.3.0",
"http-proxy-middleware": "^1.0.5",
"js-beautify": "^1.13.0",
"less": "^3.12.2",
"less-loader": "^6.2.0",
"less-plugin-lists": "^1.1.2",
"loader-utils": "^2.0.0",
"mini-css-extract-plugin": "^0.10.0",
"nyc": "^15.1.0",
"opn": "^6.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"ora": "^5.0.0",
"rimraf": "^3.0.2",
"semver": "^7.3.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^4.1.0",
"uglify-loader": "^3.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^5.1.2",
"webpack-notifier": "^1.8.0",
"wheel-js": "^0.1.2",
"yargs": "^15.4.1"
},
"ava": {
"files": [
"src/**/*.ava.js",
"test/*.js",
"!**/node_modules/**/*.*"
],
"source": [
"**/*.{js,jsx}",
"!dist/**/*"
],
"match": [],
"concurrency": 5,
"failFast": true,
"tap": true,
"powerAssert": false,
"require": [
"babel-polyfill",
"babel-register"
],
"babel": {
"presets": [
"latest",
"stage-0"
]
}
},
"build": {
"afterSign": "scripts/notarize.js"
}
}