added blank template for new packages

This commit is contained in:
Sacha Greif 2014-11-25 16:14:12 +09:00
parent 33d9d038cb
commit 8df90bef81
16 changed files with 373 additions and 0 deletions

1
packages/telescope-blank/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.build*

View file

@ -0,0 +1 @@
node_modules

View file

@ -0,0 +1,7 @@
This directory and the files immediately inside it are automatically generated
when you change this package's NPM dependencies. Commit the files in this
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control
so that others run the same versions of sub-dependencies.
You should NOT check in the node_modules directory that Meteor automatically
creates; if you are using git, the .gitignore file tells git to ignore it.

View file

@ -0,0 +1,29 @@
{
"dependencies": {
"html-to-text": {
"version": "0.1.0",
"dependencies": {
"htmlparser": {
"version": "1.7.7"
},
"underscore": {
"version": "1.7.0"
},
"underscore.string": {
"version": "2.4.0"
},
"optimist": {
"version": "0.6.1",
"dependencies": {
"wordwrap": {
"version": "0.0.2"
},
"minimist": {
"version": "0.0.10"
}
}
}
}
}
}
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1,3 @@
{
"translation_key": "translation string"
}

View file

@ -0,0 +1 @@
both.js

View file

@ -0,0 +1,4 @@
{
"translation_function_name": "__",
"helper_name": "_"
}

View file

@ -0,0 +1,85 @@
Package.describe({
summary: 'Telescope blank package use as template for your own packages',
version: '0.1.0',
name: 'telescope-blank'
});
Npm.depends({
// NPM package dependencies
});
Package.onUse(function (api) {
// --------------------------- 1. Meteor packages dependencies ---------------------------
// automatic (let the package specify where it's needed)
api.use([
'telescope-base',
'telescope-lib',
'telescope-i18n',
'tap:i18n'
]);
// both
api.use([
//
], ['client','server']);
// client
api.use([
//
], ['client']);
// server
api.use([
//
], ['server']);
// ---------------------------------- 2. Files to include ----------------------------------
// i18n config (must come first)
api.add_files([
'package-tap.i18n'
], ['client', 'server']);
// both
api.add_files([
'lib/both.js'
], ['client', 'server']);
// client
api.add_files([
'lib/client/client_only.js'
], ['client']);
// server
api.add_files([
'lib/server/server_only.js'
], ['server']);
// i18n languages (must come last)
api.add_files([
'i18n/de.i18n.json',
'i18n/en.i18n.json',
'i18n/es.i18n.json',
'i18n/fr.i18n.json',
'i18n/it.i18n.json',
'i18n/zh-CN.i18n.json'
], ['client', 'server']);
// -------------------------------- 3. Variables to export --------------------------------
api.export([
//
]);
});

View file

@ -0,0 +1,227 @@
{
"dependencies": [
[
"application-configuration",
"1.0.3"
],
[
"base64",
"1.0.1"
],
[
"binary-heap",
"1.0.1"
],
[
"blaze",
"2.0.3"
],
[
"blaze-tools",
"1.0.1"
],
[
"boilerplate-generator",
"1.0.1"
],
[
"callback-hook",
"1.0.1"
],
[
"check",
"1.0.2"
],
[
"cmather:handlebars-server",
"2.0.0"
],
[
"coffeescript",
"1.0.4"
],
[
"ddp",
"1.0.11"
],
[
"deps",
"1.0.5"
],
[
"ejson",
"1.0.4"
],
[
"follower-livedata",
"1.0.2"
],
[
"geojson-utils",
"1.0.1"
],
[
"handlebars",
"1.0.1"
],
[
"html-tools",
"1.0.2"
],
[
"htmljs",
"1.0.2"
],
[
"id-map",
"1.0.1"
],
[
"iron:controller",
"1.0.0"
],
[
"iron:core",
"1.0.3"
],
[
"iron:dynamic-template",
"1.0.3"
],
[
"iron:layout",
"1.0.3"
],
[
"iron:location",
"1.0.3"
],
[
"iron:middleware-stack",
"1.0.0"
],
[
"iron:router",
"1.0.1"
],
[
"iron:url",
"1.0.3"
],
[
"jquery",
"1.0.1"
],
[
"json",
"1.0.1"
],
[
"logging",
"1.0.5"
],
[
"meteor",
"1.1.3"
],
[
"minifiers",
"1.1.2"
],
[
"minimongo",
"1.0.5"
],
[
"mongo",
"1.0.8"
],
[
"observe-sequence",
"1.0.3"
],
[
"ordered-dict",
"1.0.1"
],
[
"random",
"1.0.1"
],
[
"reactive-dict",
"1.0.4"
],
[
"reactive-var",
"1.0.3"
],
[
"retry",
"1.0.1"
],
[
"routepolicy",
"1.0.2"
],
[
"session",
"1.0.4"
],
[
"spacebars",
"1.0.3"
],
[
"spacebars-compiler",
"1.0.3"
],
[
"tap:http-methods",
"0.0.23"
],
[
"tap:i18n",
"1.2.1"
],
[
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.2.9"
],
[
"templating",
"1.0.9"
],
[
"tracker",
"1.0.3"
],
[
"ui",
"1.0.4"
],
[
"underscore",
"1.0.1"
],
[
"webapp",
"1.1.4"
],
[
"webapp-hashing",
"1.0.1"
]
],
"pluginDependencies": [],
"toolVersion": "meteor-tool@1.0.35",
"format": "1.0"
}