-
Notifications
You must be signed in to change notification settings - Fork 750
/
package.json
105 lines (105 loc) · 3.61 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
{
"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.20.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.6": ">=1.2.6",
"follow-redirects@<1.14.8": ">=1.14.8",
"serialize-javascript@<3.1.0": ">=3.1.0",
"postcss@<7.0.36": ">=7.0.36",
"trim-newlines@<3.0.1": ">=3.0.1",
"parse-path@<5.0.0": ">=5.0.0",
"glob-parent@<5.1.2": ">=5.1.2",
"browserslist@>=4.0.0 <4.16.5": ">=4.16.5",
"ejs@<3.1.7": ">=3.1.7",
"jsdom@<=16.4.0": ">=16.5.0",
"axios@<0.21.2": ">=0.21.2",
"parse-url@<8.1.0": ">=8.1.0",
"minimatch@<3.0.5": ">=3.0.5",
"shell-quote@<=1.7.2": ">=1.7.3",
"got@<11.8.5": ">=11.8.5",
"ajv@<6.12.3": ">=6.12.3"
}
}