{"id":15542532,"url":"https://github.com/kimroen/ember-cli-coffeescript","last_synced_at":"2025-05-07T13:01:20.928Z","repository":{"id":18343586,"uuid":"21523283","full_name":"kimroen/ember-cli-coffeescript","owner":"kimroen","description":"Adds precompilation of CoffeeScript files and all the basic generation types to the ember generate command.","archived":false,"fork":false,"pushed_at":"2018-04-26T12:30:05.000Z","size":283,"stargazers_count":72,"open_issues_count":19,"forks_count":49,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-29T12:54:53.760Z","etag":null,"topics":["blueprint","coffeescript","ember","ember-addon","ember-cli"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kimroen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-05T16:04:08.000Z","updated_at":"2024-05-30T02:18:10.000Z","dependencies_parsed_at":"2022-09-02T18:01:23.510Z","dependency_job_id":null,"html_url":"https://github.com/kimroen/ember-cli-coffeescript","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimroen%2Fember-cli-coffeescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimroen%2Fember-cli-coffeescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimroen%2Fember-cli-coffeescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimroen%2Fember-cli-coffeescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimroen","download_url":"https://codeload.github.com/kimroen/ember-cli-coffeescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883219,"owners_count":21819157,"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":["blueprint","coffeescript","ember","ember-addon","ember-cli"],"created_at":"2024-10-02T12:23:19.012Z","updated_at":"2025-05-07T13:01:20.797Z","avatar_url":"https://github.com/kimroen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoffeeScript support for ember-cli [![Build Status](https://travis-ci.org/kimroen/ember-cli-coffeescript.svg?branch=master)](https://travis-ci.org/kimroen/ember-cli-coffeescript)\nAdds precompilation of CoffeeScript files and all the basic generation\ntypes to the `ember generate` command, as well as linting.\n\n### Includes\n- Generating files in CoffeeScript with `ember generate`\n- Preprocessing CoffeeScript-files in your app, including tests\n- Linting your CoffeeScript-files.\n\n### Install\n```\nember install ember-cli-coffeescript\n```\n\n**NB**: ember-cli-coffeescript is tested using ember-cli version `2.3.0` and up. Some of it probably works on\nearlier versions, but I wouldn't know.\n\n### How to use\n\n#### Blueprints\nRun `ember help generate` to get a list of available blueprints. Use them by running `ember g \u003cblueprint\u003e \u003cargs\u003e`. For instance, to generate a component:\n\n```\nember g component my-component\n```\n\nember-cli-coffeescript comes with pod-support for the same blueprints as ember-cli\ndoes. Check out [the ember-cli docs for pods](https://ember-cli.com/user-guide/#using-pods)\nfor instructions on how to use it.\n\nIf you'd like to use ember-cli-coffeescript without the blueprints, you can add\nthe following to your `config/environment.js`:\n\n```js\nENV.coffeeOptions = {\n  blueprints: false\n}\n```\n\nThis will make it fall back to the next blueprints in line (probably the ones\nfrom ember-cli).\n\n#### Precompiling\nThis will happen automatically - no work necessary.\n\n#### Linting\nIf you have a `coffeelint.json` file in the root of you project we will automatically pick up on it and start running linting on files when using the `ember build` and `ember serve` commands.\nIf you do not want linting to run despite having a `coffeelint.json` file, use the following configuration\nin your `config/environment.js`.\n\n```js\nENV.coffeeOptions = {\n  lint: false\n}\n```\n\nYou can set `lint` to `true` to enable linting with the default configurations even without a custom `coffeelint.json` file.\n\nYou can find all the [available options on the website for `coffeelint`](http://www.coffeelint.org/#options).\n\nIf you want to specify a different path for your `coffeelint.json` file you can specify the path\n(relative to the project directory or absolute)\n\n```js\nENV.coffeeOptions = {\n  lint: {\n    configPath: \"configurations/coffeelint.json\"\n  }\n}\n```\n\nIf you want to change the way we format the linting output you can specify custom error output and stats output functions:\n\n```js\nENV.coffeeOptions = {\n  lint: {\n    formatter: function(filePath, lintResults) {  },\n    statsFormatter: function(stats) { console.log('Files: ', stats.fileCount, \"Errors: \", stats.errorCount) }\n  }\n}\n```\n\n**NOTE:** The lint results will show up twice when you build and run your app; once\nfor the app files, and then once for the test files. On rebuild, only the changed\nfiles are linted.\n\n##### Lintignore\nTo avoid linting specific files or folders, you can put a file named `.coffeelintignore`\nin the root of your project containing ignore-rules, one per line. This is just like a\n`.gitignore`-file, and it will follow the same rules.\n\n### Developing\n- `git clone` this repository\n- `npm install`\n- `bower install`\n- `npm link`\n\nBecause of the nature of this project, it needs to be consumed by an ember-cli project to be properly developed.\n\n- Add `\"ember-cli-coffeescript\": \"*\"` to your consuming project's `package.json`\n- From your project root run `npm link ember-cli-coffeescript`\n\n### Running Tests\n- `ember test`\n- `npm run embertest`\n- `npm run nodetest`\n\nTo run all the tests:\n\n- `npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimroen%2Fember-cli-coffeescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimroen%2Fember-cli-coffeescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimroen%2Fember-cli-coffeescript/lists"}