1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-26 05:28:51 +00:00

Initial commit

This commit is contained in:
Pierre HUBERT 2019-11-21 16:08:52 +01:00
commit d335e380b5
5 changed files with 52 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
dist

13
package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "api-v2",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"typescript": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz",
"integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ=="
}
}
}

15
package.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "api-v2",
"version": "1.0.0",
"description": "New API for Comunic",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"run": "tsc && node dist/main.js"
},
"author": "",
"license": "MIT",
"dependencies": {
"typescript": "^3.7.2"
}
}

8
src/main.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* Main project script
*
* @author Pierre HUBERT
*/
console.log("Comunic API v6\t@author Pierre HUBERT\t2019-" + new Date().getFullYear());

14
tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"outDir": "dist",
"sourceMap": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
]
}