forked from lilkraftwerk/lineboi3000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 5.75 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
{
"name": "lineboi",
"version": "0.0.1",
"description": "draw lines, plot with a pen, make gifs",
"main": "main.js",
"scripts": {
"start": "yarn run webpack:dev && run-p cncserver electron",
"dev": "run-p cncserver webpack:watch electron:dev",
"app": "run-p cncserver electron",
"electron": "run-electron main.js true",
"electron:dev": "run-electron main.js",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"docs": "docsify serve ./docs",
"reset": "rimraf ./node_modules; rimraf yarn.lock; yarn",
"webpack:watch": "webpack --watch",
"webpack:dev": "webpack --development",
"webpack:prod": "webpack --production",
"webpack:server": "webpack-dev-server --mode development",
"cncserver": "node ./node_modules/cncserver --corsDomain=* --botType=axidraw --serialPath=$(node ./src/plotting/getPort.js)",
"postcncserver": "npm run clean-up",
"clean-up": "rm /tmp/app.cncserver",
"format": "npm-run-all prettier:fix style:fix eslint:fix",
"format:check": "npm-run-all prettier:check style:check eslint:check",
"eslint:check": "eslint src",
"eslint:fix": "eslint src --fix",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"style:check": "stylelint \"src/**/*.css\"",
"style:fix": "stylelint \"src/**/*.css\" --fix",
"test": "jest --colors --verbose",
"test:resetscreenshots": "rimraf tests/screenshots/*.png; test:update",
"test:src": "jest ./src --colors --verbose",
"test:filters": "jest --testMatch='**/*.example.js' --colors --verbose",
"test:filters:watch": "jest --watch --testMatch='**/*.example.js' --colors --verbose",
"test:update": "jest --u --colors --verbose",
"test:update:watch": "jest --u --watch --colors --verbose",
"test:watch": "jest --colors --verbose --watch",
"test:main": "jest ./spectron --runInBand",
"test:coverage": "jest ./src --colors --verbose --collectCoverage"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/node_modules/**",
"!**/vendor/**"
],
"setupFiles": [
"jest-canvas-mock"
],
"moduleNameMapper": {
"^$components(.*)": "<rootdir>/src/components$1",
"^$mainProcess(.*)": "<rootdir>/src/mainProcess$1",
"^$store(.*)": "<rootdir>/src/store$1",
"^$utils(.*)": "<rootdir>/src/utils$1",
"^$assets(.*)": "<rootdir>/src/assets$1",
"^$plotting(.*)": "<rootdir>/src/plotting$1",
"^$filters(.*)": "<rootdir>/src/filters$1",
"\\.(css|less|scss|sss|styl)$": "<rootDir>/node_modules/jest-css-modules"
}
},
"build": {
"appId": "com.electron.lineboi"
},
"author": "lilkraftwerk",
"license": "ISC",
"dependencies": {
"@mathigon/euclid": "^1.1.15",
"array-move": "^3.0.0",
"base64image-to-file": "^1.2.0",
"bresenham-js": "^0.0.0",
"chaikin-smooth": "^1.0.4",
"cncserver": "^2.9.0",
"concurrently": "^8.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"fs-jetpack": "^5.0.0",
"gif.js.optimized": "^1.0.1",
"hull.js": "^1.0.0",
"lodash": "^4.17.15",
"node-fetch": "^3.0.0",
"point-in-polygon": "^1.0.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-redux": "^8.0.0",
"react-tiny-popover": "^8.0.0",
"redux": "^4.0.4",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"redux-undo": "1.1.0",
"reselect": "^4.0.0",
"run-electron": "^1.0.0",
"serialport": "^12.0.0",
"simplify-js": "^1.2.3",
"smooth-polyline": "^1.0.8",
"svg-path-to-polygons": "^0.1.0",
"text-to-svg": "^3.1.5"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/eslint-parser": "^7.11.0",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/runtime": "^7.7.2",
"@testing-library/react": "^14.0.0",
"babel-jest": "^29.0.0",
"babel-loader": "^9.0.0",
"body-parser": "^1.19.0",
"canvas": "^2.11.0",
"canvas-to-buffer": "^1.1.0",
"copy-webpack-plugin": "^11.0.0",
"css-declaration-sorter": "^7.0.0",
"css-loader": "^6.0.0",
"electron": "^27.0.0",
"electron-extension-installer": "^1.2.0",
"eslint": "^7.4.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"html-loader": "^4.0.0",
"html-webpack-plugin": "^5.0.0",
"jest": "^29.0.0",
"jest-canvas-mock": "^2.2.0",
"jest-css-modules": "^2.1.0",
"jest-image-snapshot": "^6.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"prettier": "^2.8.8",
"progress-bar-webpack-plugin": "^2.1.0",
"raw-loader": "^4.0.1",
"rimraf": "^5.0.0",
"spectron": "^19.0.0",
"style-loader": "^3.0.0",
"stylelint": "^15.0.0",
"stylelint-order": "^6.0.0",
"webpack": "^5.0.0",
"webpack-build-notifier": "^2.1.0",
"webpack-cli": "^5.0.0",
"webpack-dev-middleware": "^6.0.0",
"webpack-dev-server": "^4.0.0",
"webpack-hot-middleware": "^2.25.0"
}
}