2.3.3 • Published 9 years ago

ide-template v2.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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);
2.3.3

9 years ago

2.3.2

9 years ago

2.3.1

9 years ago

2.3.0

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago