This commit is contained in:
Yossi Kolesnicov 2017-10-19 16:19:24 +03:00
Родитель 4e898c3537
Коммит 4aac23f0af
8 изменённых файлов: 16 добавлений и 36 удалений

3
.npmignore Normal file
Просмотреть файл

@ -0,0 +1,3 @@
tsconfig.json
src
lib

Просмотреть файл

@ -1,20 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var data_transformers_service_1 = require("./lib/services/data-transformers.service");
exports.DataTransformersService = data_transformers_service_1.DataTransformersService;
var entity_config_1 = require("./lib/entity/entity.config");
exports.ModelEntity = entity_config_1.ModelEntity;
var entity_fields_service_1 = require("./lib/services/entity-fields.service");
exports.entityFieldsService = entity_fields_service_1.entityFieldsService;
var entities_service_1 = require("./lib/services/entities.service");
exports.entitiesService = entities_service_1.entitiesService;
var object_value_config_1 = require("./lib/entity/object-value.config");
exports.ModelObjectValue = object_value_config_1.ModelObjectValue;
var entity_field_decorator_1 = require("./lib/entity/entity-field.decorator");
exports.EntityField = entity_field_decorator_1.EntityField;
var object_value_decorator_1 = require("./lib/entity/object-value.decorator");
exports.ObjectValue = object_value_decorator_1.ObjectValue;
var entity_decorator_1 = require("./lib/entity/entity.decorator");
exports.Entity = entity_decorator_1.Entity;
var paris_module_1 = require("./lib/paris.module");
exports.ParisModule = paris_module_1.ParisModule;

0
definitions/dist/paris.d.ts поставляемый
Просмотреть файл

9
definitions/index.d.ts поставляемый
Просмотреть файл

@ -0,0 +1,9 @@
export { DataTransformersService, DataTransformer } from "./lib/services/data-transformers.service";
export { ModelEntity, EntityConfig, ModelEntityCacheConfig } from "./lib/entity/entity.config";
export { entityFieldsService } from "./lib/services/entity-fields.service";
export { entitiesService } from "./lib/services/entities.service";
export { ModelObjectValue } from "./lib/entity/object-value.config";
export { EntityField } from "./lib/entity/entity-field.decorator";
export { ObjectValue } from "./lib/entity/object-value.decorator";
export { Entity } from "./lib/entity/entity.decorator";
export { ParisModule } from "./lib/paris.module";

9
definitions/paris.umd.d.ts поставляемый
Просмотреть файл

@ -1,9 +0,0 @@
export { DataTransformersService, DataTransformer } from "./lib/services/data-transformers.service";
export { ModelEntity, EntityConfig, ModelEntityCacheConfig } from "./lib/entity/entity.config";
export { entityFieldsService } from "./lib/services/entity-fields.service";
export { entitiesService } from "./lib/services/entities.service";
export { ModelObjectValue } from "./lib/entity/object-value.config";
export { EntityField } from "./lib/entity/entity-field.decorator";
export { ObjectValue } from "./lib/entity/object-value.decorator";
export { Entity } from "./lib/entity/entity.decorator";
export { ParisModule } from "./lib/paris.module";

Просмотреть файл

Просмотреть файл

@ -1,15 +1,12 @@
{
"name": "Paris",
"name": "paris",
"version": "0.1.0",
"description": "Library for the implementation of Domain Driven Design in Angular/TypeScript apps",
"repository": {
"url": "https://github.com/microsoft/paris.ts"
},
"main": "dist/paris.umd.js",
"typings": "definitions/index",
"typescript": {
"definition": "definitions/index"
},
"main": "bundle/index.js",
"typings": "definitions/index.d.ts",
"scripts": {
"release": "standard-version"
},

Просмотреть файл

@ -20,7 +20,7 @@
"types" : ["node"] // only use needed types
},
"include": [
"paris.umd.ts",
"index.ts",
"lib/**/*"
]
}