{"id":13395613,"url":"https://github.com/agudulin/gulp-dart","last_synced_at":"2025-03-13T22:30:36.140Z","repository":{"id":36293417,"uuid":"40597952","full_name":"agudulin/gulp-dart","owner":"agudulin","description":"Gulp plugin for Dart","archived":true,"fork":false,"pushed_at":"2022-04-12T12:09:21.000Z","size":88,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-14T17:46:16.667Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agudulin.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}},"created_at":"2015-08-12T11:51:34.000Z","updated_at":"2023-01-28T01:40:10.000Z","dependencies_parsed_at":"2022-09-08T07:34:11.010Z","dependency_job_id":null,"html_url":"https://github.com/agudulin/gulp-dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agudulin%2Fgulp-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agudulin%2Fgulp-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agudulin%2Fgulp-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agudulin%2Fgulp-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agudulin","download_url":"https://codeload.github.com/agudulin/gulp-dart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493066,"owners_count":20299594,"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":"2024-07-30T18:00:26.243Z","updated_at":"2025-03-13T22:30:35.765Z","avatar_url":"https://github.com/agudulin.png","language":"JavaScript","funding_links":[],"categories":["Tools","工具","Development-Tools"],"sub_categories":[],"readme":"# gulp-dart\n\n[![NPM version][npm-image]][npm-url]\n[![Dependency Status][depstat-image]][depstat-url]\n\n\u003e Compile Dart to JavaScript using [dart2js](https://www.dartlang.org/tools/dart2js/)\n\n## Preinstall\n\nYou need install `dartsdk` at first. Go to [https://www.dartlang.org/downloads/](https://www.dartlang.org/downloads/) for more information.\n\nIf you already have it installed and got ENOENT error then read [this thread](https://github.com/agudulin/gulp-dart/issues/6).\n\n## Install\n\n```sh\n$ npm install --save gulp-dart\n```\n\n\n## Usage\n\n```js\nvar gulp = require(\"gulp\");\nvar dart = require(\"gulp-dart\");\n\ngulp.task(\"default\", function() {\n  return gulp\n    .src('web/*.dart')\n    .pipe(dart({\n      \"dest\": \"./dist\",\n      \"minify\": \"true\"\n    }))\n    .pipe(gulp.dest('./'))\n});\n```\n\n## Supported dart2js options\n```js\nchecked                  // Insert runtime type checks and enable assertions (checked mode)\nminify                   // Generate minified output\nverbose                  // Display verbose information\nanalyze-all              // Analyze all code\nanalyze-only             // Analyze but do not generate code\nanalyze-signatures-only  // Skip analysis of method bodies and field initializers\nsuppress-warnings        // Do not display any warnings\nfatal-warnings           // Treat warnings as compilation errors\nsuppress-hints           // Do not display any hints\nenable-diagnostic-colors // Add colors to diagnostic messages\nno-source-maps           // Do not generate a source map file\nterse                    // Emit diagnostics without suggestions for how to get rid of the diagnosed problems\ncsp                      // Disables dynamic generation of code in the generated output\npreserve-uris            // Preserve the source URIs in the reflection data\nshow-package-warnings    // Show warnings and hints generated from packages\n```\n\n## License\n\nMIT © [Alexander Gudulin](http://gudulin.com)\n\n[npm-url]: https://npmjs.org/package/gulp-dart\n[npm-image]: https://img.shields.io/npm/v/gulp-dart.svg?style=flat-square\n\n[depstat-url]: https://david-dm.org/agudulin/gulp-dart\n[depstat-image]: https://david-dm.org/agudulin/gulp-dart.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagudulin%2Fgulp-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagudulin%2Fgulp-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagudulin%2Fgulp-dart/lists"}