-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
100 lines (100 loc) · 4.71 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
{
"name": "bitauth-ide",
"version": "1.0.0",
"private": true,
"devDependencies": {
"@bitauth/libauth": "2.0.0",
"@blueprintjs/core": "^5.8.2",
"@blueprintjs/icons": "^5.7.0",
"@blueprintjs/select": "^5.0.23",
"@monaco-editor/react": "^4.6.0",
"@playwright/test": "^1.41.1",
"@types/node": "^20.11.5",
"@types/pako": "^2.0.3",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-redux": "^7.1.33",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vercel/analytics": "^1.1.2",
"@vite-pwa/assets-generator": "^0.2.3",
"@vitejs/plugin-react-swc": "^3.5.0",
"cspell": "^8.3.2",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"immer-reducer": "^0.7.13",
"istanbul-lib-coverage": "^3.2.2",
"lightningcss": "^1.23.0",
"monaco-editor": "^0.45.0",
"normalize.css": "^8.0.1",
"nyc": "^15.1.0",
"pako": "^2.1.0",
"posthog-js": "^1.101.0",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-mosaic-component": "^6.1.0",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"redux-devtools-extension": "^2.13.9",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-bundle-visualizer": "0.11.0",
"vite-plugin-istanbul": "^5.0.0",
"vite-plugin-pwa": "^0.17.4",
"workbox-window": "^7.0.0"
},
"scripts": {
"preinstall": "git submodule update --init --recursive && cd libauth && yarn && yarn build",
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"preview:prod": "NODE_ENV=production yarn build && yarn preview --host",
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:prettier": "prettier . --write",
"fix:eslint": "yarn test:eslint --fix",
"gen:assets:install": "yarn_enable_scripts=true yarn add -D @vite-pwa/assets-generator",
"gen:assets": "pwa-assets-generator --preset minimal public/favicon.svg",
"test": "yarn test:lint && yarn test:e2e",
"test:lint": "yarn test:prettier && yarn test:eslint && yarn test:spelling",
"test:eslint": "eslint . -c .eslintrc.cjs --max-warnings 0",
"test:prettier": "prettier . --list-different",
"test:spelling": "cspell .",
"test:e2e": "playwright test",
"test:e2e:prod": "NODE_ENV=production PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 playwright test",
"e2e": "playwright test --ui",
"e2e:report": "playwright show-report",
"e2e:report:keep": "[ ! -f playwright-report-keep ] || mv playwright-report-keep playwright-report-keep-$(date +%Y%m%d_%H%MZ) && mv playwright-report playwright-report-keep && yarn e2e:report:keep:view",
"e2e:report:keep:view": "playwright show-report playwright-report-keep",
"e2e:docker:bash": "docker run --rm -p 9323:9323 -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.41.0-jammy /bin/bash",
"e2e:docker": "node -e \"fetch('http://localhost:3000').then(res => res.status === 200 ? console.log('Running e2e tests in Docker using base URL: http://localhost:3000') : Promise.reject()).catch(() => { console.error(`No server is listening at: http://localhost:3000. Run 'yarn start' or 'yarn preview' in another tab and try again.`); process.exit(1); } );\" && yarn e2e:docker:bash -c 'DOCKER=1 yarn test:e2e'",
"e2e:docker:prod": "node -e \"fetch('http://localhost:31313').then(res => res.status === 200 ? console.log('Running e2e tests in Docker using base URL: http://localhost:31313') : Promise.reject()).catch(() => {console.error(`No server is listening at: http://localhost:31313. Run 'yarn preview:prod' in another tab and try again.`); process.exit(1); });\" && yarn e2e:docker:bash -c 'DOCKER=1 yarn test:e2e:prod'",
"e2e:update-har": "UPDATE_HAR=1 yarn test:e2e --project=chromium tests/routing.spec.ts",
"cov": "rm -rf .nyc_output && yarn test:e2e; yarn cov:html && open coverage/index.html",
"cov:both": "rm -rf .nyc_output && yarn test:e2e && yarn test:e2e:prod; yarn cov:html && open coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:lcov": "nyc report --reporter=lcov",
"bundle": "vite-bundle-visualizer",
"bundle:sunburst": "vite-bundle-visualizer -t sunburst",
"bundle:network": "vite-bundle-visualizer -t network"
},
"packageManager": "[email protected]",
"prettier": {
"singleQuote": true
},
"dependenciesMeta": {
"@vite-pwa/[email protected]": {
"unplugged": true
},
"[email protected]": {
"unplugged": true
}
},
"resolutions": {
"@bitauth/libauth": "portal:./libauth"
}
}