-
Notifications
You must be signed in to change notification settings - Fork 756
/
package.json
109 lines (109 loc) · 3.73 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
{
"scripts": {
"bootstrap": "lerna bootstrap --hoist --ignore @bfemulator/tools -- --lockfile-version=1",
"bootstrap:dev": "lerna bootstrap --hoist -- --lockfile-version=1",
"build": "npm rebuild node-sass && npm run rebuild:keytar:electron && lerna run build",
"lint": "lerna run lint --no-bail",
"lint:fix": "lerna run lint:fix --no-bail",
"rebuild:keytar:electron": "rimraf node_modules/keytar/build && electron-rebuild",
"rebuild:keytar:node": "npm rebuild keytar",
"start": "cd packages/app/client && npm run start",
"start:test-bot": "lerna run --scope @bfemulator/tools start:test-bot --stream",
"test": "npm run rebuild:keytar:node && jest --no-cache --runInBand --testPathIgnorePatterns=/packages/app/main/e2e/",
"test:coveralls": "jest --runInBand --coverage --coverageReporters=text-lcov | coveralls",
"test:e2e": "npm run rebuild:keytar:electron && jest --no-cache --runInBand --forceExit --testPathPattern=/e2e/.*\\.spec\\.ts$",
"test:gen-lcov": "npm run test -- --coverage --coverageReporters=lcov --coverageReporters=text",
"uploadcoverage": "cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.20.7",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-react-jsx": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"babel-jest": "^29.3.1",
"husky": "^1.3.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^12.3.7",
"prettier": "^1.15.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"setupFilesAfterEnv": [
"./testSetup.js"
],
"transform": {
"^.+\\.(tsx|ts|js|jsx)$": "./babel-jest-config"
},
"coverageDirectory": "<rootDir>/coverage/",
"collectCoverageFrom": [
"<rootDir>/packages/**/src/**/?(*.)(ts)?(x)",
"!<rootDir>/packages/**/src/**/?(*.)(d).(ts)",
"!<rootDir>/packages/**/src/**/?(*.)(spec|test).(ts)?(x)",
"!**/node_modules/**",
"!**/lib/**",
"!**/build/**"
],
"globals": {
"__JEST_ENV__": true
},
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"customExportConditions": ["node"],
"url": "http://localhost"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"@electron/remote/main": "<rootDir>/jestMocks/electronRemoteMock.js",
"@electron/remote": "<rootDir>/jestMocks/electronRemoteMock.js",
"monaco-editor": "<rootDir>/jestMocks/monacoEditorMock.js",
".\\.css$": "<rootDir>/jestMocks/styleMock.js",
".\\.scss$": "<rootDir>/jestMocks/styleMock.js",
".\\.svg$": "<rootDir>/jestMocks/svgMock.js"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write"
]
},
"dependencies": {
"keytar": "7.9.0"
},
"overrides": {
"minimist": ">=1.2.8",
"follow-redirects": ">=1.15.9",
"serialize-javascript@<6.0.2": ">=6.0.2",
"postcss@<7.0.36": ">=8.4.45",
"trim-newlines@<3.0.1": ">=3.0.1",
"parse-path@<5.0.0": ">=7.0.0",
"glob-parent@<5.1.2": ">=6.0.2",
"browserslist@>=4.0.0 <4.16.5": ">=4.23.3",
"ejs@<3.1.7": ">=3.1.10",
"jsdom@<=16.4.0": ">=25.0.0",
"axios@<0.21.2": ">=1.7.7",
"parse-url@<8.1.0": ">=9.2.2",
"minimatch@<3.0.5": ">=10.0.1",
"shell-quote@<=1.7.2": ">=1.8.1",
"got@<11.8.5": ">=14.4.2",
"ajv@<6.12.3": ">=6.12.3",
"braces@<3.0.2" : ">=3.0.3",
"ip@<2.0.0" : ">=2.0.1",
"path-to-regexp@<1.0.0" : ">=1.9.0",
"body-parser@<1.20.1" : ">=1.20.3"
}
}