Browse Source

Merge pull request #18 from CorpGlory/tsdb-kit-service-basic

Tsdb kit service basic
pull/19/head
Coin de Gamma 3 years ago committed by GitHub
parent
commit
c799eed3d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 4
      .npmignore
  3. 16
      package.json
  4. 1
      src/tsdb-kit/index.ts
  5. 10
      tsconfig.bin.json
  6. 5
      tsconfig.lib.json
  7. 3684
      yarn.lock

1
.gitignore vendored

@ -4,3 +4,4 @@ node_modules/
npm-debug.log
.vscode/
lib/
bin/

4
.npmignore

@ -2,5 +2,7 @@ src
spec
.travis.yml
jest.config.js
tsconfig.lib.json
tsconfig.bin.json
tsconfig.jest.json
tsconfig.json

16
package.json

@ -3,7 +3,9 @@
"version": "1.1.1",
"description": "",
"scripts": {
"build": "tsc",
"build": "yarn build:lib && yarn build:bin",
"build:lib": "tsc --p tsconfig.lib.json",
"build:bin": "tsc --p tsconfig.bin.json",
"dev": "tsc -w",
"test": "jest --config jest.config.js"
},
@ -28,11 +30,15 @@
"url": "^0.11.0"
},
"devDependencies": {
"@types/jest": "24.0.0",
"jest": "24.0.0",
"ts-jest": "23.10.5",
"typescript": "3.3.1"
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.165",
"jest": "^26.6.3",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
},
"main": "./lib/index.js",
"bin": {
"tsdb-kit": "bin/tsdb-kit.js"
},
"typings": "./lib/index.d.ts"
}

1
src/tsdb-kit/index.ts

@ -0,0 +1 @@
console.log('Hello world');

10
tsconfig.bin.json

@ -0,0 +1,10 @@
{
"compilerOptions": {
"sourceMap": true,
"target": "es2015",
"declaration": false,
"outFile": "bin/tsdb-kit.js"
},
"include": [ "src/**/*.ts" ],
"exclude": [ "src/index.ts" ]
}

5
tsconfig.json → tsconfig.lib.json

@ -6,7 +6,6 @@
"declaration": true,
"outDir": "lib"
},
"include": [
"src/**/*"
]
"include": [ "src/**/*.ts" ],
"exclude": [ "src/tsdb-kit" ]
}

3684
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save