fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-02 11:36:40 +02:00
parent 8a06a30a21
commit b4d9948dc7
4 changed files with 1619 additions and 52 deletions

1652
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,14 +14,14 @@
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.0.22", "@gitzone/tsbuild": "^2.0.22",
"@gitzone/tstest": "^1.0.15", "@gitzone/tstest": "^1.0.27",
"@pushrocks/tapbundle": "^3.0.7", "@pushrocks/tapbundle": "^3.0.7",
"@types/node": "^12.7.8", "@types/node": "^12.7.9",
"tslint": "^5.11.0", "tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartjson": "^3.0.8", "@pushrocks/smartjson": "^3.0.8",
"@tsclass/tsclass": "^2.0.9" "@tsclass/tsclass": "^2.0.11"
} }
} }

View File

@ -1,8 +1,8 @@
import { expect, tap } from '@pushrocks/tapbundle'; import { expect, tap } from '@pushrocks/tapbundle';
import * as smartpersona from '../ts/index' import * as smartpersona from '../ts/index';
tap.test('first test', async () => { tap.test('first test', async () => {
console.log(smartpersona.standardExport) smartpersona.Company;
}) })
tap.start() tap.start();

View File

@ -1,5 +1,8 @@
import * as plugins from './smartpersona.plugins'; import * as plugins from './smartpersona.plugins';
export class Person extends plugins.smartjson.Smartjson implements plugins.tsclass.IPerson { export class Person extends plugins.smartjson.Smartjson implements plugins.tsclass.IPerson {
public name: string;
public sex: 'male' | 'female';
public surname: string;
public title: string;
} }