-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
executable file
·123 lines (123 loc) · 4.55 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
{
"homepage": "./",
"name": "hokus-cms",
"author": {
"name": "Juliano Appel Klein",
"email": "julianoaklein@gmail.com"
},
"description": "A CMS for Hugo.",
"version": "0.6.0",
"private": true,
"dependencies": {
"7zip-bin": "3.1.0",
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.1.4",
"@types/joi": "^14.3.4",
"@types/markdown-it": "^0.0.9",
"@types/material-ui": "^0.21.7",
"@types/node": "^13.9.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.3",
"@types/request": "2.48.4",
"command-exists": "^1.2.8",
"electron-google-analytics": "^0.3.0",
"electron-context-menu": "^0.10.1",
"electron-is-dev": "^1.0.1",
"electron-unhandled": "^3.0.2",
"eventemitter2": "^6.3.1",
"fs-extra": "^8.1.0",
"glob": "7.1.2",
"jimp": "0.2.28",
"joi": "^14.3.1",
"js-yaml": "3.13.1",
"mkdirp": "0.5.1",
"node-machine-id": "^1.1.12",
"node-watch": "^0.6.4",
"request": "2.88.2",
"simple-git": "^1.132.0",
"toml": "2.3.3",
"tomlify-j0.4": "3.0.0",
"user-home": "2.0.0"
},
"devDependencies": {
"@types/ace": "^0.0.43",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"@types/uuid": "3.4.3",
"ace-editor-builds": "1.2.4",
"ajv": "6.5.4",
"ansi-styles": "^3.2.1",
"chai": "4.1.2",
"chalk": "^2.4.2",
"concurrently": "3.5.1",
"copyfiles": "2.1.0",
"cross-env": "5.1.3",
"electron": "^8.3.0",
"electron-builder": "^22.6.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"markdown-it": "8.4.1",
"material-ui": "^0.20.2",
"mocha": "5.0.2",
"prettier": "^1.19.1",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-promise": "^3.0.2",
"react-router-dom": "^4.3.1",
"react-scripts": "^3.4.0",
"rimraf": "^3.0.2",
"typescript": "^3.8.3",
"uuid": "^8.0.0"
},
"peerDependencies": {},
"main": "build/src-main/electron.js",
"scripts": {
"start": "npm run _copy-ace && npm run _copy_ace_extras && npm run _main-transpile && concurrently --kill-others \"npm run _react-dev\" \"npm run _electron-dev\"",
"check-lint": "prettier -c src/**/*.{ts,tsx}",
"prettify": "prettier --write src/**/*.{ts,tsx}",
"_copy-electron-code": "npm run _main-transpile && copyfiles -u 2 -V \"./build/src-main/**/*\" \"./build/electron/\" && rimraf ./build/src-main/",
"_copy-ace": "copyfiles -u 3 -V \"./node_modules/ace-editor-builds/src-min-noconflict/**/*.*\" \"./public/ace-editor-min-noconflict/\"",
"_copy_ace_extras": "copyfiles -u 2 -V \"./extras/ace-editor/**/*.*\" \"./public/ace-editor-min-noconflict/\"",
"_react-build": "cross-env CI=false react-scripts build",
"_react-dev": "cross-env APP_ENV=development cross-env EXTEND_ESLINT=true cross-env BROWSER=none cross-env PORT=4000 cross-env react-scripts start",
"_main-transpile": "cd ./src-main && tsc",
"_electron-dev": "cross-env APP_ENV=development cross-env REACT_DEV_URL=http://localhost:4000 cross-env electron .",
"_rebuild-native": "cross-env VisualStudioVersion=15.0 npm install --build-from-source",
"_electron-dist-win": "npm run _copy-electron-code && electron-builder --win",
"_electron-dist-linux-deb": "npm run _copy-electron-code && electron-builder --linux deb",
"_electron-dist-linux": "npm run _copy-electron-code && electron-builder --linux",
"_electron-dist-linux-all": "npm run _electron-dist-linux && npm run _electron-dist-linux-deb",
"_electron-dist-mac": "npm run _copy-electron-code && electron-builder --mac",
"dist-win": "npm run _copy-ace && rimraf dist && rimraf build && npm run _react-build && npm run _electron-dist-win",
"dist-linux": "npm run _copy-ace && rimraf dist && rimraf build && npm run _react-build && npm run _electron-dist-linux-all",
"dist-mac": "npm run _copy-ace && rimraf dist && rimraf build && npm run _react-build && npm run _electron-dist-mac"
},
"build": {
"appId": "julianoaklein.hokus",
"artifactName": "hokus-cms_${os}_${arch}.${ext}",
"productName": "Hokus CMS",
"directories": {
"buildResources": "public"
},
"win": {
"icon": "public/icon"
},
"mac": {
"icon": "public/icon"
},
"linux": {
"icon": "./build/icon.icns",
"maintainer": "Juliano Appel Klein"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}