init repo

This commit is contained in:
Nicolas 2024-11-05 18:57:23 +01:00
parent 3e1c9caf51
commit 8ed6d318c8
4 changed files with 30 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
dist/**

16
package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "@lightweight-sdk/web-component",
"version": "0.0.1",
"description": "A lightweight library to build web components easily",
"scripts": {
"build": "tsc -b"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"keywords": [],
"author": "kyuno",
"license": "ISC"
}

1
src/index.ts Normal file
View file

@ -0,0 +1 @@
console.log("hello world")

12
tsconfig.json Normal file
View file

@ -0,0 +1,12 @@
{
"compilerOptions": {
"module": "CommonJS",
"target": "ES2019",
"declaration": true,
"outDir": "./dist",
"experimentalDecorators": true
},
"include": [
"src/**/*"
]
}