diff options
author | ms <ms@taler.net> | 2022-05-27 15:32:34 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2022-05-27 15:34:18 +0200 |
commit | ced08c502fc36ef90bb34fafcb1e2cbfe82f1280 (patch) | |
tree | ea1bd2bdbec562b3eea829fa083a91fa18104723 /packages/taler-config-lib | |
parent | 24162c1086c017305253c78280a82bfa9a572b1e (diff) | |
download | wallet-core-ced08c502fc36ef90bb34fafcb1e2cbfe82f1280.tar.xz |
taler-config-lib skeleton
Diffstat (limited to 'packages/taler-config-lib')
-rw-r--r-- | packages/taler-config-lib/README.md | 3 | ||||
-rw-r--r-- | packages/taler-config-lib/package.json | 41 | ||||
-rw-r--r-- | packages/taler-config-lib/src/index.node.ts | 3 | ||||
-rw-r--r-- | packages/taler-config-lib/tsconfig.json | 27 |
4 files changed, 74 insertions, 0 deletions
diff --git a/packages/taler-config-lib/README.md b/packages/taler-config-lib/README.md new file mode 100644 index 000000000..b6464a55f --- /dev/null +++ b/packages/taler-config-lib/README.md @@ -0,0 +1,3 @@ +# @gnu-taler/taler-config-lib + +This package deploys Taler according to TypeScript instructions. diff --git a/packages/taler-config-lib/package.json b/packages/taler-config-lib/package.json new file mode 100644 index 000000000..e89a31e43 --- /dev/null +++ b/packages/taler-config-lib/package.json @@ -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" + } +} diff --git a/packages/taler-config-lib/src/index.node.ts b/packages/taler-config-lib/src/index.node.ts new file mode 100644 index 000000000..366e365c2 --- /dev/null +++ b/packages/taler-config-lib/src/index.node.ts @@ -0,0 +1,3 @@ +module.exports = function(subject: any) { + console.log("Hello, World!"); +}; diff --git a/packages/taler-config-lib/tsconfig.json b/packages/taler-config-lib/tsconfig.json new file mode 100644 index 000000000..30cb65e1d --- /dev/null +++ b/packages/taler-config-lib/tsconfig.json @@ -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/**/*"] +} |