28a9a86e27
* spike * initial draft * updated styling * skeleton * added bubble script to webpack * added linter settings * installs * first implementation * Update webpack config - write bundle to `/build` - add support for SASS - improve options view as a proof o concept for styling * Update es-lint rules to mach mocoapp * Upgrade npm packages * Mount Bubble only for configured services * Update react and babel * Move module resolution config to webpack * Syncrhonize apiClient with chrome storage * Load projects and initialize form with last project and task * Enhance service * Improve handling of changeset with defaults * Create activity * Show error page on missing configuration * Refactor so that changeset can be used as activity params * Show form errors * Fetch and show booked hours for service * Allow to book hours with colon, error handling, spinner * WIP: Shadow DOM * Remove shadow dom * Render App in iframe * Refactor App component to load projects and create activity * Bugsnag integration * Add title to form and timer hint to hours input field * Configure positioning of bubble * Get rid of shared browser instance * Show Calendar and animate buble * Update webpack config * Prevent double animation of bubble * Fix eslint * Add margin to iframe body * Submit form when pressing enter on textarea * Open select on Enter * Use local environment for development * Show upgrade error if version invalid * Add asana service * Add jira and wunderlist services, add better support for query strings * Match urls with hash * Show popup in browser action * Pump version, add version to zip file * Add youtrack service * WIP: always show browserAction * Refactor * Update design * Finalize release 1.0.3 * Fix styles * Add support for Firefox browser * Extract common webpack config * Fix eslint * Close modal with ESC key * Use TimeInputParser to parse hours input * Improve webpack config * Show modal instead of popup when clicking on browser action * Pre-select last booked activities on service * Remove badge from booked hours * Show error and success feedback on options page * Remove updateBrowserActionForTab * Animate Bubble on unmount * Fix select date * Refactor * Fix key shortcut * Show schedule in calendar * Upload source maps to bugsnag * Upload sourcemaps to bugsnag * Define command shortcuts * Fix race condition where both Bubble and content wanted to mount Popup The content script is now the only place, where the Popup is mounted * Replace hash in filename by version * No new line in textarea and updated shortcuts for chrome * Change shortcut to Ctrl+Shift+K * Fix cors issue in new chrome 73 * Style improvements * Only report errors from own sources * Prevent sending messages to browser tabs * Fix scrollbars in iframe * Add error page for unknown error * Add stop propagation to Bubble click event * Update error pages * Remove timeout in tabHandler. The messaging error occurs only when the browser extension is reloaded/updated without refreshing the browser tab. * Refactor messaging * Show spinner in popup * Extract message handler to own module * Update styles and texts of error pages * Ensure focus is on document when opening popup * Find projects by identifier and value, do not highlight selected option in select component * Update docs * Spread match properties on service; improve remote service configuration for jira and wunderlist * Add webpack plugin to remove source mapping url * Bugsnag do not collect user ip * Upload source maps before removing source mapping url in bundles * Add support for regex url patterns, update asana config. * Fix animation Set default transform property via css * Improve config for asana * Change to fad-in/out animation
64 lines
2.5 KiB
JSON
64 lines
2.5 KiB
JSON
{
|
|
"name": "moco-browser-extensions",
|
|
"description": "Browser plugin for MOCO",
|
|
"version": "1.0.18",
|
|
"scripts": {
|
|
"start": "yarn start:chrome",
|
|
"start:chrome": "node_modules/.bin/webpack --config webpack.chrome.config.js --watch --env.browser chrome --env.NODE_ENV development",
|
|
"start:firefox": "node_modules/.bin/webpack --config webpack.firefox.config.js --watch --env.browser firefox --env.NODE_ENV development",
|
|
"build:chrome": "node_modules/.bin/webpack -p --config webpack.chrome.config.js --env.browser chrome --env.NODE_ENV production",
|
|
"build:firefox": "node_modules/.bin/webpack -p --config webpack.firefox.config.js --env.browser firefox --env.NODE_ENV production",
|
|
"build": "yarn run build:firefox && yarn run build:chrome",
|
|
"test": "node_modules/.bin/jest",
|
|
"test:watch": "node_modules/.bin/jest --watch",
|
|
"release": "copyfiles main.css main.min.js background.min.js manifest.json popup.html options.html node_modules/jquery/dist/jquery.min.js node_modules/select2/select2.js src/images/* release"
|
|
},
|
|
"dependencies": {
|
|
"@bugsnag/js": "^5.2.0",
|
|
"@bugsnag/plugin-react": "^5.2.0",
|
|
"axios": "^0.18.0",
|
|
"classnames": "^2.2.6",
|
|
"date-fns": "^1.30.1",
|
|
"lodash": "^4.17.11",
|
|
"mobx": "^5.5.0",
|
|
"mobx-react": "^5.2.8",
|
|
"prop-types": "^15.6.2",
|
|
"query-string": "^6.2.0",
|
|
"react": "^16.8.0",
|
|
"react-dom": "^16.8.0",
|
|
"react-select": "^2.3.0",
|
|
"react-spring": "^8.0.7",
|
|
"url-pattern": "^1.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.2.2",
|
|
"@babel/plugin-proposal-decorators": "^7.2.2",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
|
|
"@babel/preset-env": "^7.2.2",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.0.4",
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
|
"clean-webpack-plugin": "^1.0.1",
|
|
"copy-webpack-plugin": "^4.6.0",
|
|
"copyfiles": "^2.1.0",
|
|
"css-loader": "^2.1.0",
|
|
"eslint": "^5.7.0",
|
|
"eslint-plugin-jest": "^22.2.2",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"file-loader": "^3.0.1",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jest": "^24.1.0",
|
|
"mini-css-extract-plugin": "^0.5.0",
|
|
"node-sass": "^4.11.0",
|
|
"prettier": "^1.16.4",
|
|
"sass-loader": "^7.1.0",
|
|
"style-loader": "^0.23.1",
|
|
"webpack": "^4.15.0",
|
|
"webpack-bugsnag-plugins": "^1.3.0",
|
|
"webpack-cli": "^3.0.8",
|
|
"zip-webpack-plugin": "^3.0.0"
|
|
}
|
|
}
|