From c2b821eb6abe0a7fbdb3e7172689fc6b65364203 Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Tue, 18 Feb 2014 08:47:34 -0700 Subject: [PATCH] Do not use index.js for main file --- compiler/lib/{index.js => raptor-templates-compiler.js} | 0 compiler/package.json | 2 +- package.json | 2 +- runtime/lib/{index.js => raptor-templates.js} | 0 runtime/package.json | 2 +- stream/lib/{index.js => raptor-templates-stream.js} | 0 stream/package.json | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename compiler/lib/{index.js => raptor-templates-compiler.js} (100%) rename runtime/lib/{index.js => raptor-templates.js} (100%) rename stream/lib/{index.js => raptor-templates-stream.js} (100%) diff --git a/compiler/lib/index.js b/compiler/lib/raptor-templates-compiler.js similarity index 100% rename from compiler/lib/index.js rename to compiler/lib/raptor-templates-compiler.js diff --git a/compiler/package.json b/compiler/package.json index 3c1ec8b49..ad1406d2e 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -1,3 +1,3 @@ { - "main": "lib/index.js" + "main": "lib/raptor-templates-compiler.js" } \ No newline at end of file diff --git a/package.json b/package.json index bc380f793..64d007490 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "license": "Apache License v2.0", "bin": {}, - "main": "runtime/lib/index.js", + "main": "runtime/lib/raptor-templates.js", "publishConfig": { "registry": "https://registry.npmjs.org/" } diff --git a/runtime/lib/index.js b/runtime/lib/raptor-templates.js similarity index 100% rename from runtime/lib/index.js rename to runtime/lib/raptor-templates.js diff --git a/runtime/package.json b/runtime/package.json index 6555c8743..17aca1e38 100644 --- a/runtime/package.json +++ b/runtime/package.json @@ -1,5 +1,5 @@ { - "main": "lib/index", + "main": "lib/raptor-templates", "browser": { "./lib/loader.js": "./lib/loader_browser.js" } diff --git a/stream/lib/index.js b/stream/lib/raptor-templates-stream.js similarity index 100% rename from stream/lib/index.js rename to stream/lib/raptor-templates-stream.js diff --git a/stream/package.json b/stream/package.json index 5048443cd..06dba4995 100644 --- a/stream/package.json +++ b/stream/package.json @@ -1,3 +1,3 @@ { - "main": "lib/index" + "main": "lib/raptor-templates-stream" } \ No newline at end of file