{"id":26341037,"url":"https://github.com/frontify/sketch","last_synced_at":"2025-03-16T04:28:35.363Z","repository":{"id":38324967,"uuid":"122607101","full_name":"Frontify/sketch","owner":"Frontify","description":"Frontify Sketch Plugin","archived":false,"fork":false,"pushed_at":"2023-11-02T10:56:49.000Z","size":4977,"stargazers_count":7,"open_issues_count":6,"forks_count":1,"subscribers_count":35,"default_branch":"master","last_synced_at":"2023-11-02T11:38:27.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Frontify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-23T10:28:26.000Z","updated_at":"2023-08-13T19:00:43.000Z","dependencies_parsed_at":"2023-10-16T22:32:40.329Z","dependency_job_id":"4b9d69de-70f6-43ba-9c9f-4120a0196d98","html_url":"https://github.com/Frontify/sketch","commit_stats":null,"previous_names":[],"tags_count":50,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsketch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsketch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsketch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsketch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frontify","download_url":"https://codeload.github.com/Frontify/sketch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826825,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T04:28:34.856Z","updated_at":"2025-03-16T04:28:35.342Z","avatar_url":"https://github.com/Frontify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontify for Sketch\n\nA [Sketch] plugin that provides integration with Frontify. Get it @ [Frontify Sketch Plugin]\n\nThis README.md is primarily for developers. The latest plugin version,\ndocumentation etc. are hosted at [https://frontify.com/integrations/sketch/].\n\nContributions are welcome!\n\n## Development\n\n_This plugin was created using `skpm`. For a detailed explanation on how things work, checkout the [skpm Readme](https://github.com/skpm/skpm/blob/master/README.md)._\n\n## Usage\n\nInstall the dependencies\n\n```bash\nnpm install\n```\n\nOnce the installation is done, you can run some commands inside the project folder:\n\n```bash\nnpm run build\n```\n\nTo watch for changes:\n\n```bash\nnpm run watch\n```\n\nAdditionally, if you wish to run the plugin every time it is built:\n\n```bash\nnpm run start\n```\n\nThis defaults prevents you from to many Sketch restarts\n\n```bash\ndefaults write com.bohemiancoding.sketch3 AlwaysReloadScript -bool YES\n```\n\n## Custom Configuration\n\n### Babel\n\nTo customize Babel, you have two options:\n\n* You may create a [`.babelrc`](https://babeljs.io/docs/usage/babelrc) file in your project's root directory. Any settings you define here will overwrite matching config-keys within skpm preset. For example, if you pass a \"presets\" object, it will replace \u0026 reset all Babel presets that skpm defaults to.\n\n* If you'd like to modify or add to the existing Babel config, you must use a `webpack.config.js` file. Visit the [Webpack](#webpack) section for more info.\n\n### Webpack\n\nTo customize webpack create `webpack.config.js` file which exports function that will change webpack's config.\n\n```js\n/**\n * Function that mutates original webpack config.\n * Supports asynchronous changes when promise is returned.\n *\n * @param {object} config - original webpack config.\n * @param {boolean} isPluginCommand - wether the config is for a plugin command or a resource\n **/\nmodule.exports = function (config, isPluginCommand) {\n  /** you can change config here **/\n}\n```\n\n## Debugging\n\nTo view the output of your `console.log`, you have a few different options:\n\n* Use the [`sketch-dev-tools`](https://github.com/skpm/sketch-dev-tools)\n* Open `Console.app` and look for the sketch logs\n* Look at the `~/Library/Logs/com.bohemiancoding.sketch3/Plugin Output.log` file\n\nSkpm provides a convenient way to do the latter:\n\n```bash\nskpm log\n```\n\nThe `-f` option causes `skpm log` to not stop when the end of logs is reached, but rather to wait for additional data to be appended to the input\n\n\n## Frontend\n\nTo make working on the Frontend independent from Sketch make the `sketch` folder the document root of your webserver.\n\nThe views are accessible by using: local-sketch.frontify.com/src/assets/views/…\n\n[Sketch]: https://sketchapp.com/\n[Frontify Sketch Plugin]: https://frontify.com/integrations/sketch/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Fsketch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontify%2Fsketch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Fsketch/lists"}