forked from toolkit-for-ynab/toolkit-for-ynab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 6.18 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
163
164
165
166
167
168
169
170
{
"name": "toolkit-for-ynab",
"version": "3.5.0",
"private": true,
"scripts": {
"prepare": "husky install",
"build:check": "yarn && yarn gen",
"build:webpack": "webpack",
"build:beta": "yarn build:check && yarn webpack:beta && yarn manifest:beta && yarn compress",
"build:development": "yarn build:check && yarn webpack:development && yarn manifest:development",
"build:production": "yarn build:check && yarn webpack:production && yarn compress:chrome && yarn manifest:firefox && yarn compress:firefox",
"build:ios": "yarn build:check && yarn webpack:production && yarn manifest:ios",
"compress:firefox": "yarn node scripts/compressSrc.js --browser=firefox && node scripts/compressDist.js --browser=firefox",
"compress:chrome": "yarn node scripts/compressSrc.js --browser=chrome && node scripts/compressDist.js --browser=chrome",
"deploy:beta": "git fetch origin main:beta && git push origin beta",
"manifest:beta": "node scripts/applyManifestOverrides.js --type=beta",
"manifest:development": "node scripts/applyManifestOverrides.js --type=development",
"manifest:ios": "node scripts/applyManifestOverrides.js --type=ios",
"manifest:firefox": "node scripts/applyManifestOverrides.js --type=firefox",
"webpack:beta": "yarn build:webpack --env buildType=beta",
"webpack:development": "yarn build:webpack --env buildType=development",
"webpack:production": "yarn build:webpack --env buildType=production",
"lint": "eslint --ignore-path .eslintignore ./src ./scripts",
"lint:fix": "eslint --fix --ignore-path .eslintignore ./src ./scripts",
"publish:chrome": "node scripts/publishForChrome.js",
"publish:desktop": "node scripts/publishForDesktop.js",
"prettier": "prettier --write \"{src,scripts}/**/*.{js,jsx,ts,tsx}\"",
"test": "yarn && yarn gen && jest",
"test:watch": "yarn && yarn gen && jest --watch",
"watch": "yarn && node scripts/watch.js",
"gen": "yarn gen:settings && yarn gen:featureIndex",
"gen:featureIndex": "node scripts/generateFeatureIndex",
"gen:settings": "node scripts/generateSettings",
"gen:docs": "yarn gen:settings && node scripts/generateDocs",
"l10n:update": "node scripts/updateLocalizationStrings.js",
"l10n:pull": "scripts/get_l10ns",
"sentry:create": "sentry-cli releases -o toolkit-for-ynab -p toolkit-for-ynab new $npm_package_version",
"sentry:upload": "sentry-cli releases -o toolkit-for-ynab -p toolkit-for-ynab files $$npm_package_version upload-sourcemaps ./dist/extension/"
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageReporters": [
"lcov"
],
"moduleNameMapper": {
"toolkit/(.*)": "<rootDir>/src/$1",
"toolkit-reports/(.*)": "<rootDir>/src/extension/features/toolkit-reports/$1",
"\\.(scss|css)$": "<rootDir>/src/test/mocks/style-mock.js",
"react-markdown": "<rootDir>/src/test/mocks/react-markdown.js"
},
"setupFilesAfterEnv": [
"<rootDir>/src/test/setup.js"
],
"setupFiles": [
"jest-localstorage-mock"
],
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "https://app.youneedabudget.com/aaaaaaaa-bbbb-cccc-dddd-000000000000/budget/201802"
},
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.tsx?$": "ts-jest"
}
},
"defaultFeatures": [
"BudgetBalanceToZero",
"BulkEditMemo",
"CustomizeColourScheme",
"EnlargeCategoriesDropdown",
"FilterCategories",
"IncomeVsExpenseHoverHighlight",
"PrintingImprovements",
"ResetColumnWidths",
"RightClickToEdit",
"ShowIntercom",
"SplitKeyboardShortcut",
"ToggleAccountColumns",
"ToolkitReports",
"SavingsRatio"
],
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"classnames": "^2.3.2",
"core-js": "2",
"fuzzysort": "^2.0.3",
"highcharts": "^9.1.1",
"jquery": "^3.6.1",
"moment": "^2.29.4",
"raven-js": "^3.25.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-markdown": "^8.0.3",
"regression": "^2.0.1"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@types/chrome": "^0.0.202",
"@types/ember": "^4.0.2",
"@types/jest": "^29.2.3",
"@types/jquery": "^3.5.14",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"acorn": "^8.8.1",
"acorn-class-fields": "^1.0.0",
"acorn-jsx": "^5.3.2",
"acorn-static-class-features": "^1.0.0",
"archiver": "^5.3.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"chokidar": "^3.5.3",
"chrome-webstore-upload": "^1.0.0",
"clean-webpack-plugin": "^4.0.0",
"colors": "^1.4.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.2",
"eslint": "^8.28.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"glob": "^8.0.3",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-localstorage-mock": "^2.4.22",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"request": "^2.88.2",
"sass": "^1.56.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"svg-url-loader": "^8.0.0",
"terminate": "^2.5.0",
"to-string-loader": "^1.2.0",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.11.1",
"yargs": "^17.6.2"
},
"engines": {
"node": ">=18.12.1 <=19",
"yarn": ">=1.10.0"
}
}