Mailspring/package.json
Ben Gotow cff437e900
Upgrade to Electron 8, improve TS usage and TS errors outside calendar [requires re- npm install] (#2284)
* Shfit away from default exports and PropTypes for better TS support

* localize strings and expand use of types in WeekView, create new EventOccurence distinct from Event

* Remove calendar wrap, use TS enum for view type + consistent prop interface

* Bump Typescript to 3.8.3 and improve query / attribute / search typings

* Re-use the Autolinker for calendar event descriptions with aggressive phone detection

* Clean up WeekView and the editing popover, lots of cruft here

* Update ScrollRegion to initialize scrollbar provided by external ref

* Expose ScrollRegion’s resizeObserver to clean up tick interval tracking

* Simply tickGenerator and move it to a helper

* Bump to Electron 8.x for Chrome 75+ CSS features

* Bump Handlebars dep to fix annoying npm audit noise

* Remove electron-remote from electron-spellchecker

* Explicitly add node-gyp, why is this necessary?

* Fix lesslint issues

* Bump eslint and let it fix 133 issues

* Satisfy remaining eslint@2020 errors by hand

* Add tsc-watch npm script and fix all TS errors outside calendar

* Configure appveyor to publish all the pdb files it gets

* Log sync exit codes and signals for easier triage on Windows

* Upgrade npm, mark that the build process supports Node 11+ not just Node 11

* Resolve more errors

* Upgrade sqlite to be a context-aware native module

* Fix: Tab key no longer navigating into contenteditable because tabIndex not inferred

* Fix: Bad print styles because Chrome now adds more CSS of it’s own when doctype is missing

* Fix: before-navigate is now called after beforeunload
2021-02-14 15:58:22 -06:00

110 lines
4.1 KiB
JSON

{
"name": "mailspring-root",
"version": "0.0.1",
"description": "Packages required to develop and build Mailspring",
"author": "Mailspring",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Foundry376/Mailspring.git"
},
"engines": {
"node": ">=11",
"npm": ">=7"
},
"devDependencies": {
"@types/better-sqlite3": "^5.4.0",
"@types/classnames": "^2.2.7",
"@types/debug": "^4.1.2",
"@types/deep-extend": "^0.4.31",
"@types/electron-spellchecker": "^1.1.1",
"@types/enzyme": "^3.9.0",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/event-kit": "^2.4.0",
"@types/fs-plus": "^3.0.1",
"@types/graceful-fs": "^4.1.3",
"@types/jasmine": "^1.3.1",
"@types/keytar": "^4.0.1",
"@types/lru-cache": "^5.1.0",
"@types/mkdirp": "^0.5.2",
"@types/moment-round": "^1.0.3",
"@types/mousetrap": "^1.6.1",
"@types/node-emoji": "^1.8.1",
"@types/optimist": "^0.0.29",
"@types/proxyquire": "^1.3.28",
"@types/raven": "^2.5.3",
"@types/react": "^16.8.5",
"@types/react-color": "^2.14.1",
"@types/react-dom": "^16.8.2",
"@types/react-test-renderer": "^16.8.1",
"@types/react-transition-group": "^1.1.6",
"@types/reflux": "^6.4.2",
"@types/rimraf": "^2.0.2",
"@types/rx-lite": "^4.0.6",
"@types/slate": "^0.44.10",
"@types/slate-base64-serializer": "^0.2.2",
"@types/slate-html-serializer": "^0.6.3",
"@types/slate-plain-serializer": "^0.6.1",
"@types/slate-react": "^0.22.1",
"@types/source-map-support": "^0.4.2",
"@types/temp": "^0.8.33",
"@types/underscore": "^1.8.9",
"@types/underscore.string": "^0.0.33",
"@types/uuid": "^3.4.4",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"chalk": "1.x.x",
"devtron": "^1.4.0",
"electron": "8.5.5",
"electron-installer-dmg": "0.2.x",
"electron-packager": "14.2.x",
"electron-winstaller": "2.x.x",
"eslint": "7.13.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "7.22.0",
"fs-extra": "2.x.x",
"fs-plus": "2.x.x",
"gitbook-cli": "^2.3.2",
"gitbook-plugin-anchors": "^0.7.1",
"gitbook-plugin-editlink": "^1.0.2",
"gitbook-plugin-favicon": "0.0.2",
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-theme-api": "^1.1.2",
"glob": "7.x.x",
"grunt": "0.4.x",
"grunt-cli": "0.1.x",
"grunt-contrib-csslint": "0.5.x",
"grunt-contrib-less": "0.8.x",
"grunt-lesslint": "0.13.x",
"handlebars": "^4.7.6",
"jasmine": "2.x.x",
"joanna": "0.0.9",
"license-extractor": "^1.0.4",
"load-grunt-parent-tasks": "^0.1.2",
"meta-marked": "^0.4.2",
"mkdirp": "^0.5.1",
"node-gyp": "^7.1.0",
"prettier": "^1.10.0",
"request": "^2.88.0",
"rimraf": "^2.6.1",
"targz": "^1.0.1",
"temp": "0.8.x",
"typescript": "3.9.7",
"underscore": "1.8.x"
},
"scripts": {
"postinstall": "node scripts/postinstall.js",
"start": "node_modules/.bin/electron ./app --enable-logging --dev",
"lint": "grunt lint --gruntfile=app/build/Gruntfile.js --base=./",
"test": "node_modules/.bin/electron ./app --enable-logging --test",
"test-window": "node_modules/.bin/electron ./app --enable-logging --test=window",
"tsc-watch": "node_modules/.bin/tsc -w -p ./app --noEmit",
"build": "grunt build-client --gruntfile=app/build/Gruntfile.js --base=./",
"build-docs": "grunt docs --gruntfile=app/build/Gruntfile.js --base=./ && mkdir -p app/dist-docs && cp README.md ./app/build/docs_src/README.md && gitbook --gitbook=latest build . ./app/dist-docs --log=debug --debug && rm ./app/build/docs_src/README.md && rm -rf ./app/build/docs_src/classes",
"build-licenses-file": "cat ./app/static/all_licenses_preamble.html | ./node_modules/.bin/marked > ./app/static/all_licenses.html && licext --source ./app --mode output | ./node_modules/.bin/marked >> ./app/static/all_licenses.html",
"ci-setup-mac-keychain": "grunt setup-mac-keychain --gruntfile=app/build/Gruntfile.js --base=./"
}
}