Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/impaler/ide-template
Programatically create ide projects for super powered workflows.
https://github.com/impaler/ide-template
Last synced: about 2 months ago
JSON representation
Programatically create ide projects for super powered workflows.
- Host: GitHub
- URL: https://github.com/impaler/ide-template
- Owner: impaler
- License: mit
- Created: 2014-10-29T05:15:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T23:24:55.000Z (over 9 years ago)
- Last Synced: 2024-11-16T11:15:56.986Z (about 2 months ago)
- Language: JavaScript
- Size: 369 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## IDE Template
Programatically create ide projects from configuration objects.
Supercharge shared your project scaffolding and workflow with dynamic ide configurations.
Also includes ability to open the ide programatically from your scaffolding tools.Currently WebStorm support is provided.
Example of a project with common WebStorm configurations such as resourceRoots, libraries and
Javascript Run Configuration.```
var webStorm = require('ide-template').webStorm;
var path = require('path');var projectName = 'awesome';
var serverPort = 3233;
var destination = path.join(process.cwd(), projectName);var projectContext = {
projectName : projectName,
libraries : ['jasmine-DefinitelyTyped', 'angular'],
resourceRoots : [
'file://$PROJECT_DIR$/src/app',
'file://$PROJECT_DIR$/src/target'
],
jsDebugConfiguration: [
{
name : project.projectName,
uri : 'http://localhost:' + serverPort + '/app',
mapping: {
url : 'http://localhost:' + serverPort,
localFile: '$PROJECT_DIR$'
}
}
]
}webStorm.createProject(destination, projectContext);
webStorm.open(destination);
```