cncjs
/
package.json
357 строк · 11.5 Кб
1{
2"name": "cncjs",
3"version": "1.10.3",
4"description": "A web-based interface for CNC milling controller running Grbl, Marlin, Smoothieware, or TinyG",
5"homepage": "https://github.com/cncjs/cncjs",
6"author": "Cheton Wu <cheton@gmail.com>",
7"main": "./dist/cncjs/server-cli.js",
8"bin": {
9"cnc": "./bin/cnc",
10"cncjs": "./bin/cncjs"
11},
12"files": [
13"bin",
14"dist",
15"static"
16],
17"repository": {
18"type": "git",
19"url": "git@github.com:cncjs/cncjs.git"
20},
21"license": "MIT",
22"engines": {
23"node": ">=14"
24},
25"preferGlobal": true,
26"scripts": {
27"build": "yarn run build-prod",
28"build-latest": "bash scripts/build-latest.sh",
29"build-dev": "bash scripts/build-dev.sh",
30"build-prod": "bash scripts/build-prod.sh",
31"clean": "del dist output",
32"electron": "electron",
33"electron-builder": "electron-builder",
34"electron-builder:debug": "cross-env DEBUG=electron-builder electron-builder",
35"electron-rebuild": "electron-rebuild",
36"github-release": "github-release",
37"package-sync": "node scripts/package-sync.js",
38"build:macos": "bash -c 'scripts/electron-builder.sh --macos --x64 --arm64'",
39"build:macos-x64": "bash -c 'scripts/electron-builder.sh --macos --x64'",
40"build:macos-arm64": "bash -c 'scripts/electron-builder.sh --macos --arm64'",
41"build:linux": "bash -c 'scripts/electron-builder.sh --linux --x64 --arm64 --armv7l'",
42"build:linux-x64": "bash -c 'scripts/electron-builder.sh --linux --x64'",
43"build:linux-armv7l": "bash -c 'scripts/electron-builder.sh --linux --armv7l'",
44"build:linux-arm64": "bash -c 'scripts/electron-builder.sh --linux --arm64'",
45"build:windows": "bash -c 'scripts/electron-builder.sh --windows --x64'",
46"build:windows-x64": "bash -c 'scripts/electron-builder.sh --windows --x64'",
47"start-electron": "electron ./dist/cncjs/main",
48"start-prod": "yarn run build-prod && NODE_ENV=production ./bin/cncjs",
49"dev": "yarn run build-dev && concurrently --names \"start-app-dev,start-server-dev\" \"yarn run start-app-dev\" \"yarn run start-server-dev\"",
50"start-app-dev": "cross-env NODE_ENV=development webpack serve --config webpack.config.development.js --inline --content-base output/cncjs/app",
51"start-server-dev": "cross-env NODE_ENV=development ./bin/cncjs --port 8000 -m /widget:https://cncjs.github.io/cncjs-widget-boilerplate/v1/",
52"lint": "concurrently --kill-others-on-fail --names \"i18nlint,eslint,stylint\" \"yarn run i18nlint\" \"yarn run eslint\" \"yarn run stylint\"",
53"eslint": "eslint --color --ext .js --ext .jsx *.js src scripts test",
54"eslint-debug": "DEBUG=\"eslint:glob-util,eslint:config-*,eslint:cli*\" eslint --cache --color --quiet --ext .js --ext .jsx *.js src scripts test",
55"i18nlint": "bash -c 'find src/{app,server}/i18n -type f -name \"*.json\" | xargs -L1 -I{} -- bash -c \"echo Linting {}; jsonlint -q {}\"'",
56"stylint": "stylint src/app",
57"test": "tap test/*.js --no-timeout --node-arg=--require --node-arg=@babel/register --node-arg=--require --node-arg=@babel/polyfill",
58"coveralls": "tap test/*.js --coverage --coverage-report=text-lcov --nyc-arg=--require --nyc-arg=@babel/register --nyc-arg=--require --nyc-arg=@babel/polyfill",
59"postinstall": "opencollective postinstall"
60},
61"build": {
62"appId": "org.cncjs",
63"asar": false,
64"asarUnpack": [],
65"productName": "CNCjs",
66"directories": {
67"buildResources": "electron-build",
68"output": "output",
69"app": "dist/cncjs"
70},
71"publish": [],
72"mac": {
73"category": "public.app-category.productivity",
74"target": [
75"dmg"
76],
77"icon": "electron-build/icon.icns"
78},
79"dmg": {
80"background": "electron-build/background.png",
81"icon": "electron-build/icon.icns",
82"iconSize": 80,
83"iconTextSize": 12,
84"contents": [
85{
86"x": 448,
87"y": 344,
88"type": "link",
89"path": "/Applications"
90},
91{
92"x": 192,
93"y": 344,
94"type": "file"
95}
96]
97},
98"win": {
99"target": [
100"nsis"
101],
102"icon": "electron-build/icon.ico"
103},
104"linux": {
105"category": "Utility",
106"target": [
107"AppImage",
108"deb",
109"rpm"
110]
111}
112},
113"keywords": [
114"cncjs",
115"arduino",
116"raspberry",
117"pi",
118"cnc",
119"gcode",
120"grbl",
121"smoothie",
122"smoothieware",
123"tinyg",
124"g2core",
125"react",
126"socket.io"
127],
128"dependencies": {
129"@babel/polyfill": "~7.4.3",
130"@babel/runtime": "~7.4.3",
131"@serialport/parser-readline": "^10.0.0",
132"@trendmicro/react-anchor": "~0.5.6",
133"@trendmicro/react-breadcrumbs": "~0.5.5",
134"@trendmicro/react-buttons": "~1.3.1",
135"@trendmicro/react-checkbox": "~3.4.1",
136"@trendmicro/react-datepicker": "~1.0.0-alpha.6",
137"@trendmicro/react-dropdown": "~1.3.0",
138"@trendmicro/react-form-control": "~0.1.0",
139"@trendmicro/react-grid-system": "~0.2.0",
140"@trendmicro/react-iframe": "~0.3.1",
141"@trendmicro/react-interpolate": "~0.5.5",
142"@trendmicro/react-loader": "~0.6.1",
143"@trendmicro/react-modal": "~2.2.2",
144"@trendmicro/react-navs": "~0.11.6",
145"@trendmicro/react-notifications": "~1.0.1",
146"@trendmicro/react-paginations": "~0.6.1",
147"@trendmicro/react-popover": "~0.4.0",
148"@trendmicro/react-portal": "~0.4.3",
149"@trendmicro/react-radio": "~3.2.2",
150"@trendmicro/react-table": "~1.0.1-alpha.2",
151"@trendmicro/react-toggle-switch": "~0.5.7",
152"@trendmicro/react-tooltip": "~0.6.0",
153"@trendmicro/react-validation": "~0.1.0",
154"bcrypt-nodejs": "0.0.3",
155"body-parser": "~1.18.3",
156"bootstrap": "~3.3.7",
157"chained-function": "~0.5.0",
158"chalk": "~2.4.2",
159"classnames": "~2.2.6",
160"cli-color": "~1.4.0",
161"cncjs-controller": "~1.3.0",
162"colornames": "~1.1.1",
163"commander": "~9.1.0",
164"compression": "~1.7.4",
165"connect-multiparty": "~2.2.0",
166"connect-restreamer": "~1.0.3",
167"consolidate": "~0.15.1",
168"cookie-parser": "~1.4.4",
169"core-js": "~3.26.1",
170"debug": "~4.1.1",
171"deep-keys": "~0.5.0",
172"detect-browser": "~4.4.0",
173"electron-store": "~8.1.0",
174"ensure-array": "~1.0.0",
175"ensure-type": "~1.5.1",
176"errorhandler": "~1.5.0",
177"es5-shim": "~4.5.13",
178"escodegen": "~1.11.1",
179"esprima": "~4.0.1",
180"expand-tilde": "~2.0.2",
181"expr-eval": "~1.2.2",
182"express": "~4.16.4",
183"express-jwt": "~5.3.1",
184"express-session": "~1.16.1",
185"final-form": "~4.12.0",
186"font-awesome": "~4.7.0",
187"frac": "~1.1.2",
188"gcode-interpreter": "~2.1.0",
189"gcode-parser": "~1.3.6",
190"gcode-toolpath": "~2.2.0",
191"history": "~4.9.0",
192"hogan.js": "~3.0.2",
193"http-proxy": "~1.18.1",
194"i18next": "~15.0.9",
195"i18next-browser-languagedetector": "~3.0.1",
196"i18next-express-middleware": "~1.8.0",
197"i18next-node-fs-backend": "~2.1.3",
198"i18next-xhr-backend": "~2.0.1",
199"infinite-tree": "~1.16.2",
200"is-electron": "~2.2.1",
201"jimp": "^0.10.3",
202"js-polyfills": "~0.1.42",
203"jsonwebtoken": "~9.0.0",
204"jsuri": "~1.3.1",
205"keycode": "~2.2.0",
206"lodash": "~4.17.11",
207"memoize-one": "~5.0.4",
208"method-override": "~3.0.0",
209"minimatch": "~3.0.4",
210"mkdirp": "~0.5.1",
211"moment": "~2.24.0",
212"morgan": "~1.9.1",
213"mousetrap": "~1.6.3",
214"namespace-constants": "~0.5.0",
215"normalize.css": "~8.0.1",
216"opencollective": "~1.0.3",
217"perfect-scrollbar": "~1.4.0",
218"prop-types": "~15.7.2",
219"pubsub-js": "~1.7.0",
220"push.js": "~1.0.9",
221"qs": "~6.7.0",
222"range_check": "~1.4.0",
223"rc-slider": "~8.6.9",
224"react": "~15.6.2",
225"react-bootstrap": "~0.32.1",
226"react-dom": "~15.6.2",
227"react-dropzone": "~4.2.13",
228"react-facebook-loading": "~0.6.2",
229"react-final-form": "~3.7.0",
230"react-foreach": "~0.1.1",
231"react-ga": "~2.5.7",
232"react-i18next": "~10.7.0",
233"react-icon-base": "~2.1.2",
234"react-infinite-tree": "~0.7.1",
235"react-redux": "~5.0.7",
236"react-repeatable": "~1.1.1",
237"react-router": "~4.3.1",
238"react-router-dom": "~4.3.1",
239"react-router-redux": "~5.0.0-alpha.6",
240"react-select": "~1.2.1",
241"react-sortablejs": "~1.5.1",
242"react-tiny-virtual-list": "~2.2.0",
243"react-toggle": "~4.0.2",
244"recompose": "~0.30.0",
245"redux": "~4.0.1",
246"regenerator-runtime": "~0.13.10",
247"registry-auth-token": "~3.4.0",
248"registry-url": "~5.1.0",
249"rimraf": "~2.6.3",
250"semver": "~6.0.0",
251"serialport": "^10.0.0",
252"serve-favicon": "~2.5.0",
253"serve-static": "~1.13.2",
254"session-file-store": "~1.2.0",
255"sha1": "~1.1.1",
256"shortid": "~2.2.14",
257"socket.io": "~2.2.0",
258"socket.io-client": "~2.2.0",
259"socketio-jwt": "~4.5.0",
260"sortablejs": "~1.9.0",
261"spawn-default-shell": "~2.0.0",
262"styled-components": "~3.4.9",
263"superagent": "~3.8.3",
264"superagent-use": "~0.1.0",
265"three": "~0.103.0",
266"universal-logger": "~1.0.1",
267"universal-logger-browser": "~1.0.2",
268"uuid": "~3.3.2",
269"watch": "~1.0.2",
270"webappengine": "~1.2.0",
271"winston": "~3.2.1",
272"xterm": "~3.0.2"
273},
274"devDependencies": {
275"@babel/cli": "~7.4.3",
276"@babel/core": "~7.4.3",
277"@babel/node": "~7.2.2",
278"@babel/polyfill": "~7.4.3",
279"@babel/preset-env": "~7.4.3",
280"@babel/preset-react": "~7.0.0",
281"@babel/register": "~7.4.0",
282"@trendmicro/babel-config": "~1.0.2",
283"babel-core": "~7.0.0-bridge.0",
284"babel-eslint": "~10.0.1",
285"babel-loader": "~8.0.5",
286"babel-plugin-lodash": "~3.3.4",
287"boolean": "~1.0.0",
288"bundle-loader": "~0.5.6",
289"concurrently": "~4.1.0",
290"coveralls": "~3.0.3",
291"cross-env": "~5.2.0",
292"css-loader": "~2.1.1",
293"css-split-webpack-plugin": "~0.2.6",
294"del-cli": "~3.0.1",
295"dotenv": "~7.0.0",
296"electron": "~22.0.3",
297"electron-builder": "~23.6.0",
298"electron-rebuild": "~3.2.7",
299"eslint": "~5.16.0",
300"eslint-config-trendmicro": "~1.4.1",
301"eslint-import-resolver-webpack": "~0.11.1",
302"eslint-loader": "~2.1.2",
303"eslint-plugin-import": "~2.17.2",
304"eslint-plugin-jsx-a11y": "~6.2.1",
305"eslint-plugin-react": "~7.12.4",
306"eventsource-polyfill": "~0.9.6",
307"file-loader": "~3.0.1",
308"find-imports": "~1.1.0",
309"github-release-cli": "~2.0.0",
310"glob": "~7.1.3",
311"html-webpack-plugin": "~3.2.0",
312"i18next-scanner": "~2.10.1",
313"imports-loader": "~0.8.0",
314"json-loader": "~0.5.7",
315"jsonlint": "^1.6.3",
316"mini-css-extract-plugin": "~0.6.0",
317"nib": "~1.1.2",
318"optimize-css-assets-webpack-plugin": "~5.0.1",
319"pre-push": "~0.1.1",
320"progress": "~2.0.3",
321"react-hot-loader": "~4.8.4",
322"redux-devtools": "~3.5.0",
323"run-sequence": "~2.2.1",
324"style-loader": "~0.23.1",
325"stylint": "~1.5.9",
326"stylint-loader": "~1.0.0",
327"stylus": "~0.54.5",
328"stylus-loader": "~3.0.2",
329"tap": "~12.6.2",
330"terser-webpack-plugin": "~1.2.3",
331"text-table": "~0.2.0",
332"transform-loader": "~0.2.4",
333"url-loader": "~1.1.2",
334"webpack": "~4.30.0",
335"webpack-cli": "~3.3.1",
336"webpack-dev-middleware": "~3.6.2",
337"webpack-dev-server": "~3.3.1",
338"webpack-hot-middleware": "~2.24.3",
339"webpack-manifest-plugin": "~2.0.4",
340"webpack-node-externals": "~1.7.2",
341"write-file-webpack-plugin": "~4.5.0"
342},
343"pre-push": [
344"eslint-debug"
345],
346"collective": {
347"type": "opencollective",
348"url": "https://opencollective.com/cncjs"
349},
350"tap": {
351"check-coverage": true,
352"lines": 80,
353"functions": 60,
354"branches": 60,
355"statements": 80
356}
357}
358