taler-config-lib skeleton

This commit is contained in:
ms 2022-05-27 15:32:34 +02:00
parent 24162c1086
commit ced08c502f
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
4 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# @gnu-taler/taler-config-lib
This package deploys Taler according to TypeScript instructions.

View File

@ -0,0 +1,41 @@
{
"name": "@gnu-taler/taler-config-lib",
"version": "0.9.0-dev.1",
"description": "GNU Taler Configuration engine.",
"module": "./lib/index.node.js",
"main": "./lib/index.node.js",
"type": "module",
"types": "./lib/index.node.d.ts",
"typesVersions": {
"*": {
"lib/index.node.d.ts": [
"lib/index.node.d.ts"
],
"src/*": [],
"*": []
}
},
"author": "MS",
"license": "AGPL-3.0-or-later",
"private": false,
"scripts": {
"prepare": "tsc",
"compile": "tsc",
"test": "tsc && ava",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
},
"devDependencies": {
"@types/node": "^17.0.17",
"ava": "^4.0.1",
"esbuild": "^0.14.21",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.5.5"
},
"dependencies": {
"big-integer": "^1.6.51",
"jed": "^1.1.1",
"tslib": "^2.3.1"
}
}

View File

@ -0,0 +1,3 @@
module.exports = function(subject: any) {
console.log("Hello, World!");
};

View File

@ -0,0 +1,27 @@
{
"compileOnSave": true,
"compilerOptions": {
"composite": true,
"declaration": true,
"declarationMap": false,
"target": "ES6",
"module": "ESNext",
"moduleResolution": "node",
"sourceMap": true,
"lib": ["es6"],
"types": ["node"],
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"strict": true,
"strictPropertyInitialization": false,
"outDir": "lib",
"noImplicitAny": true,
"noImplicitThis": true,
"incremental": true,
"esModuleInterop": true,
"importHelpers": true,
"rootDir": "./src",
"typeRoots": ["./node_modules/@types"]
},
"include": ["src/**/*"]
}