-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
162 lines (162 loc) · 5.07 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
155
156
157
158
159
160
161
162
{
"name": "json-tool",
"version": "0.21.0",
"homepage": "./",
"private": true,
"main": "electron.js",
"author": {
"name": "Matheus Marabesi",
"url": "https://marabesi.com"
},
"description": "json-tool allows you to quick format json content with a click of a button, and much more:\n\nJSON content validation, it shows an error message warning invalid json\nButtons to allow easy interaction with the clipboard\n",
"categories": [
"Formatters",
"Programming Languages"
],
"dependencies": {
"@codemirror/lang-json": "^6.0.0",
"@uiw/codemirror-theme-duotone": "^4.12.1",
"@uiw/react-codemirror": "^4.11.4",
"format-to-json": "^2.1.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.4.0",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"react-switch": "^7.0.0",
"web-vitals": "^1.1.2"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
},
"devDependencies": {
"@craco/craco": "^7.1.0",
"@cypress/code-coverage": "^3.13.1",
"@cypress/instrument-cra": "^1.4.0",
"@stryker-mutator/core": "^6.3.0",
"@stryker-mutator/jest-runner": "^6.3.0",
"@stryker-mutator/typescript-checker": "^6.3.0",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@types/react-router-dom": "^5.3.3",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react": "^7.26.1",
"@testing-library/user-event": "^14.5.2",
"@testing-library/webdriverio": "^3.0.4",
"@types/jest": "^28.1.8",
"@types/node": "^16.10.5",
"@types/webdriverio": "^4.13.3",
"autoprefixer": "^9.8.7",
"babel-jest": "^29.7.0",
"babel-plugin-preval": "^5.0.0",
"concurrently": "^6.2.1",
"coveralls": "^3.1.1",
"cypress": "^13.14.2",
"cypress-cucumber-preprocessor": "^4.3.1",
"cypress-file-upload": "^5.0.8",
"cypress-image-diff-js": "^1.30.0",
"electron": "^32.1.2",
"electron-builder": "^24.13.3",
"esbuild": "^0.17.0",
"esbuild-jest": "^0.5.0",
"eslint-plugin-cypress": "^2.12.1",
"http-server": "^14.0.0",
"husky": "^7.0.2",
"jest-clipboard": "^0.0.11",
"jsdom-worker": "^0.3.0",
"lcov-result-merger": "^5.0.1",
"mitt": "^3.0.0",
"node-fetch": "3.3.2",
"postcss": "^8.2.13",
"sass": "^1.43.4",
"source-map-explorer": "^2.5.3",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.14",
"uuid-v4": "^0.1.0",
"wait-on": "^7.2.0"
},
"postinstall": "electron-builder install-app-deps && husky install",
"scripts": {
"start": "HOST=0.0.0.0 BROWSER=none craco start",
"start-instrumented": "HOST=0.0.0.0 BROWSER=none craco -r @cypress/instrument-cra start",
"build": "NODE_OPTIONS=--openssl-legacy-provider craco build",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"test": "craco test src/",
"test:all": "npm run e2e && npm run test -- --watchAll=false",
"coverage": "craco test --env=jsdom --no-cache --collectCoverage --ci --watchAll=false --colors --silent",
"coveralls": "coveralls < merged_coverage.info",
"e2e": "CYPRESS_BASE_URL=http://localhost:3000 cypress run",
"e2e:open": "CYPRESS_BASE_URL=http://localhost:3000 cypress open",
"eject": "craco eject",
"dev": "concurrently -k \"BROWSER=none npm start\" \"npm:electron\"",
"setup": "npm run build && cp package.json ./build",
"package": "npm run setup && electron-builder --linux snap -p never",
"package-windows": "npm run setup && electron-builder --win --x64 -p never",
"package-macos": "npm run setup && electron-builder --macos -p never",
"build-app-image": "npm run setup && electron-builder --linux AppImage -p never",
"electron": "npm run setup && wait-on tcp:3000 && electron build/",
"lint": "eslint src/**/*.{ts,tsx}",
"lint:fix": "eslint src/**/*.{ts,tsx} --fix",
"serve": "http-server ./build -p 3000"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:cypress/recommended"
],
"rules": {
"semi": [
2,
"always"
],
"indent": [
"error",
2
],
"quotes": [
"error",
"single"
],
"object-curly-spacing": [
"error",
"always"
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"build": {
"productName": "json-tool",
"appId": "org.marabesi.json-tool",
"linux": {
"category": "Utility",
"icon": "logo512.png"
}
},
"jest": {
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
],
"transform": {
"^.+\\.tsx?$": "esbuild-jest"
}
}
}